Use seo_description instead of page.description

seo_description is used in the meta tags but not in the ld+json
If page.description is not set, the the description at ld+json will be null.
This commit is contained in:
Carlos Garcés 2016-02-22 10:37:50 -08:00 committed by Pat Hawks
parent c51ef4db83
commit 09924c03ff
1 changed files with 2 additions and 2 deletions

View File

@ -155,8 +155,8 @@
"datePublished": {{ page.date | date_to_xmlschema | jsonify }},
{% endif %}
{% if page.description %}
"description": {{ page.description | jsonify }},
{% if seo_description %}
"description": {{ seo_description | jsonify }},
{% endif %}
{% if site.logo %}