From 8dfc450f3937c1ad78a60f89feb611c3be6fc138 Mon Sep 17 00:00:00 2001 From: Pat Hawks Date: Wed, 19 Oct 2016 19:11:30 -0500 Subject: [PATCH] Add dateModified --- lib/template.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/template.html b/lib/template.html index 5d26ea0..480f76b 100644 --- a/lib/template.html +++ b/lib/template.html @@ -200,6 +200,10 @@ "datePublished": {{ page.date | date_to_xmlschema | jsonify }}, {% endif %} +{% if page.last_modified_at %} + "dateModified": {{ page.last_modified_at | date_to_xmlschema | jsonify }}, +{% endif %} + {% if seo_description %} "description": {{ seo_description | jsonify }}, {% endif %}