diff --git a/ckanext/datagovtheme/templates/snippets/link_preview.html b/ckanext/datagovtheme/templates/snippets/link_preview.html index 2a642a69..1bfb6dd3 100644 --- a/ckanext/datagovtheme/templates/snippets/link_preview.html +++ b/ckanext/datagovtheme/templates/snippets/link_preview.html @@ -5,22 +5,22 @@ {% if pkg %} {% set dataset = pkg.title or pkg.name or "Data.gov Dataset" %} - {% if pkg.organization %} - {% set organization = pkg.organization.title or pkg.organization.name or "Data.gov" %} - {% endif %} + {% set organization = pkg.organization.title or pkg.organization.name or "Data.gov" %} + {% set notes = h.markdown_extract(pkg.notes, 180) or "The Home of the U.S. Government's Open Data" %} + - - + + - - + + {% else %}