summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2025-04-06 18:44:54 +0200
committeryctct <yctct@yctct.com>2025-04-06 18:44:54 +0200
commitfe46a9beace13a524788aa8ae0d66d890505df4b (patch)
tree4ae0a7a3daf29fbc55cc009c7083d4ddd3fab125
parent5f2b262219e77d64ecd0cee7245f632e95c56130 (diff)
Update pandoc template
-rw-r--r--default.html67
-rw-r--r--default.html569
2 files changed, 69 insertions, 67 deletions
diff --git a/default.html b/default.html
deleted file mode 100644
index 936d402..0000000
--- a/default.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<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" />
- $for(author-meta)$
- <meta name="author" content="$author-meta$" />
- $endfor$
- $if(date-meta)$
- <meta name="dcterms.date" content="$date-meta$" />
- $endif$
- $if(keywords)$
- <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
- $endif$
- $if(description-meta)$
- <meta name="description" content="$description-meta$" />
- $endif$
- <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- $for(header-includes)$
- $header-includes$
- $endfor$
- $if(math)$
- $if(mathjax)$
- <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
- $endif$
- $math$
- $endif$
- </head>
- <body>
- $for(include-before)$
- $include-before$
- $endfor$
- $if(title)$
- <header id="title-block-header">
- <h1 class="title">$title$</h1>
- $if(subtitle)$
- <p class="subtitle">$subtitle$</p>
- $endif$
- $for(author)$
- <p class="author">$author$</p>
- $endfor$
- $if(date)$
- <p class="date">$date$</p>
- $endif$
- $if(abstract)$
- <div class="abstract">
- <div class="abstract-title">$abstract-title$</div>
- $abstract$
- </div>
- $endif$
- </header>
- $endif$
- $if(toc)$
- <nav id="$idprefix$TOC" role="doc-toc">
- $if(toc-title)$
- <h2 id="$idprefix$toc-title">$toc-title$</h2>
- $endif$
- $table-of-contents$
- </nav>
- $endif$
- $body$
- $for(include-after)$
- $include-after$
- $endfor$
- </body>
- </html>
diff --git a/default.html5 b/default.html5
new file mode 100644
index 0000000..cde9e90
--- /dev/null
+++ b/default.html5
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<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" />
+$for(author-meta)$
+ <meta name="author" content="$author-meta$" />
+$endfor$
+$if(date-meta)$
+ <meta name="dcterms.date" content="$date-meta$" />
+$endif$
+$if(keywords)$
+ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
+$endif$
+$if(description-meta)$
+ <meta name="description" content="$description-meta$" />
+$endif$
+ <style>
+ $styles.html()$
+ </style>
+$for(css)$
+ <link rel="stylesheet" href="$css$" />
+$endfor$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+$if(math)$
+ $math$
+$endif$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+<header id="title-block-header">
+<h1 class="title">$title$</h1>
+$if(subtitle)$
+<p class="subtitle">$subtitle$</p>
+$endif$
+$for(author)$
+<p class="author">$author$</p>
+$endfor$
+$if(date)$
+<p class="date">$date$</p>
+$endif$
+$if(abstract)$
+<div class="abstract">
+<div class="abstract-title">$abstract-title$</div>
+$abstract$
+</div>
+$endif$
+</header>
+$endif$
+$if(toc)$
+<nav id="$idprefix$TOC" role="doc-toc">
+$if(toc-title)$
+<h2 id="$idprefix$toc-title">$toc-title$</h2>
+$endif$
+$table-of-contents$
+</nav>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</body>
+</html>