templates: added the `description` metatag to both html4 and html5 templates (#6982)
The `description` meta tag will make the generated HTML documents more complete and SEO-friendly.
commit528b67df596feab2f3b80ecce1c9716123a4d8c5
authorJerry Sky <jwroczynski@gmail.com>
dateMon 28 Dec 2020, 08:02 (6 years ago)
parent19d4e43
data/templates/default.html4+3
@@ -12,6 +12,9 @@ $if(date-meta)$
1212$endif$
1313$if(keywords)$
1414 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
15+$endif$
16+$if(description)$
17+ <meta name="description" content="$description$" />
1518$endif$
1619 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1720 <style type="text/css">
data/templates/default.html5+3
@@ -12,6 +12,9 @@ $if(date-meta)$
1212$endif$
1313$if(keywords)$
1414 <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
15+$endif$
16+$if(description)$
17+ <meta name="description" content="$description$" />
1518$endif$
1619 <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
1720 <style>