From 99e1b67b74ddcbf7ffc8add640493f73471cf50a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 27 Dec 2020 23:19:14 -0800 Subject: [PATCH] Use meta-description instead of description in templates. Since this is an attribute value, we need to prepare it in the writer. --- data/templates/default.html4 | 4 ++-- data/templates/default.html5 | 4 ++-- src/Text/Pandoc/Writers/HTML.hs | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/data/templates/default.html4 b/data/templates/default.html4 index deba57a7b7c1..d54c48ee40c1 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -13,8 +13,8 @@ $endif$ $if(keywords)$ $endif$ -$if(description)$ - +$if(description-meta)$ + $endif$ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$