From f1e9b9acb1292af3b1c99d290f687319273c17c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Mon, 1 Feb 2016 17:06:05 +0100 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template.html b/lib/template.html index 432599d..838fdda 100644 --- a/lib/template.html +++ b/lib/template.html @@ -112,7 +112,7 @@ "headline": {{ page.title | jsonify }}, "image": {{ page.image | jsonify }}, "datePublished": {{ page.date | date_to_xmlschema | jsonify }}, - "description": {{ page.description | jsonify }} + "description": {{ seo_description | jsonify }} } {% endif %}