aboutsummaryrefslogtreecommitdiff
path: root/www/template.html
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-03 12:26:18 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-03 12:26:18 -0700
commitbf3607bdd0ae1ed62b926c675b4ac3d5dd380674 (patch)
treee8a435f15fffad0e0fa3cbf91f33ee940764be70 /www/template.html
parente5d71ae5577d2ebafbda4a43a20211e996365d3f (diff)
downloadlibrebootfr-bf3607bdd0ae1ed62b926c675b4ac3d5dd380674.tar.gz
librebootfr-bf3607bdd0ae1ed62b926c675b4ac3d5dd380674.zip
Use a custom template
Diffstat (limited to 'www/template.html')
-rw-r--r--www/template.html67
1 files changed, 67 insertions, 0 deletions
diff --git a/www/template.html b/www/template.html
new file mode 100644
index 00000000..2fc9b28d
--- /dev/null
+++ b/www/template.html
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<html$if(lang)$ lang="$lang$"$endif$$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$
+ <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
+ <style type="text/css">code{white-space: pre;}</style>
+$if(quotes)$
+ <style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
+$endif$
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$for(css)$
+ <link rel="stylesheet" href="$css$">
+$endfor$
+$if(math)$
+ $math$
+$endif$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+<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$
+</header>
+$endif$
+$if(return)$
+$return$
+$endif$
+$if(toc)$
+<nav id="$idprefix$TOC">
+$toc$
+</nav>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</body>
+</html>