Skip to content

Commit

Permalink
Merge pull request #2055 from jqnatividad/master
Browse files Browse the repository at this point in the history
2054-fix meta property og:description
  • Loading branch information
David Read committed Nov 18, 2014
2 parents 4e9fbf7 + 5a3cd39 commit 5cae303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/read_base.html
Expand Up @@ -11,7 +11,7 @@
{{ super() }}
{% set description = h.markdown_extract(pkg.notes, extract_length=200)|forceescape %}
<meta property="og:title" content="{{ h.dataset_display_name(pkg) }} - {{ g.site_title }}">
<meta property="og:description" content="{{ description|forceescape }}">
<meta property="og:description" content="{{ description|forceescape|trim }}">
{% endblock -%}

{% block content_action %}
Expand Down

0 comments on commit 5cae303

Please sign in to comment.