diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-12-27 23:19:14 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-12-27 23:19:14 -0800 |
commit | 99e1b67b74ddcbf7ffc8add640493f73471cf50a (patch) | |
tree | 8996ddcfe1955f77663bb891ce1f24f653147ed3 /data | |
parent | 528b67df596feab2f3b80ecce1c9716123a4d8c5 (diff) | |
download | pandoc-99e1b67b74ddcbf7ffc8add640493f73471cf50a.tar.gz |
Use meta-description instead of description in templates.
Since this is an attribute value, we need to prepare it
in the writer.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.html4 | 4 | ||||
-rw-r--r-- | data/templates/default.html5 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/default.html4 b/data/templates/default.html4 index deba57a7b..d54c48ee4 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -13,8 +13,8 @@ $endif$ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ -$if(description)$ - <meta name="description" content="$description$" /> +$if(description-meta)$ + <meta name="description" content="$description-meta$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> <style type="text/css"> diff --git a/data/templates/default.html5 b/data/templates/default.html5 index dd7dc3212..9699b8504 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -13,8 +13,8 @@ $endif$ $if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ -$if(description)$ - <meta name="description" content="$description$" /> +$if(description-meta)$ + <meta name="description" content="$description-meta$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> <style> |