From 09924c03ffd49f51ed74717ceff3be7c0a3023d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Mon, 22 Feb 2016 10:37:50 -0800 Subject: [PATCH] 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. --- lib/template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/template.html b/lib/template.html index 7768721..dca838e 100644 --- a/lib/template.html +++ b/lib/template.html @@ -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 %}