diff options
Diffstat (limited to 'data/templates/default.html5')
-rw-r--r-- | data/templates/default.html5 | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/data/templates/default.html5 b/data/templates/default.html5 index 5641ecb80..5c484f376 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -1,23 +1,28 @@ <!DOCTYPE html> -<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$> +<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$> <head> - <meta charset="utf-8"> - <meta name="generator" content="pandoc"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> + <meta charset="utf-8" /> + <meta name="generator" content="pandoc" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> $for(author-meta)$ - <meta name="author" content="$author-meta$"> + <meta name="author" content="$author-meta$" /> $endfor$ $if(date-meta)$ - <meta name="dcterms.date" content="$date-meta$"> + <meta name="dcterms.date" content="$date-meta$" /> $endif$ $if(keywords)$ - <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"> + <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style type="text/css">code{white-space: pre;}</style> + <style type="text/css"> + code{white-space: pre-wrap;} + span.smallcaps{font-variant: small-caps;} + span.underline{text-decoration: underline;} + div.column{display: inline-block; vertical-align: top; width: 50%;} $if(quotes)$ - <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style> + q { quotes: "“" "”" "‘" "’"; } $endif$ + </style> $if(highlighting-css)$ <style type="text/css"> $highlighting-css$ @@ -56,7 +61,7 @@ $endif$ $endif$ $if(toc)$ <nav id="$idprefix$TOC"> -$toc$ +$table-of-contents$ </nav> $endif$ $body$ |