scholdoc-0.1.3: data/templates/scholmdTemplate.html5
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"$if(lang)$ lang="$lang$"$endif$> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"$if(lang)$ lang="$lang$"$endif$> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"$if(lang)$ lang="$lang$"$endif$> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"$if(lang)$ lang="$lang$"$endif$> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="generator" content="scholpandoc">
<meta name="viewport" content="width=device-width">
$for(author-meta)$
<meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
<style type="text/css">code{white-space: pre;}</style>
$if(polyfill-js)$
$for(polyfill-js)$
<script src="$polyfill-js$"></script>
$endfor$
$else$
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
$endif$
$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$
$for(html-header-includes)$
$html-header-includes$
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
<div class="scholmd-container">
<div class="scholmd-main">
$for(include-before)$
$include-before$
$endfor$
$if(math-macros)$
<div class="math scholmd-math-definitions" style="visibility: hidden; height: 0px; width 0px;">\[
$math-macros$
\]</div>
$endif$
<div class="scholmd-content">
$if(title)$
<header>
$if(subtitle)$
<hgroup class="scholmd-title-group">
<h1 class="scholmd-title">$title$</h1>
<h1 class="scholmd-subtitle">$subtitle$</h1>
</hgroup>
$else$
<h1 class="scholmd-title">$title$</h1>
$endif$
$for(author)$
<div class="scholmd-author">
$if(author.name)$
<div class="scholmd-author-name">$author.name$</div>
$if(author.affiliation)$
<div class="scholmd-author-affiliation">$author.affiliation$</div>
$endif$
$else$
$author$
$endif$
</div>
$endfor$
$if(date)$
<div class="scholmd-date">$date$</div>
$endif$
</header>
$endif$
$if(abstract)$
<div class="scholmd-abstract">
$if(abstract-title)$
<h2 class="scholmd-abstract-title">$abstract-title$</h2>
$endif$
$abstract$
</div>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
$body$
</div>
</div>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
processClass: "math"
},
TeX: {
TagSide: "left",
TagIndent: "1.2em",
equationNumbers: {
autoNumber: "AMS"
},
Macros: {
ensuremath: ["#1",1],
textsf: ["\\mathsf{\\text{#1}}",1],
texttt: ["\\mathtt{\\text{#1}}",1]
}
},
"HTML-CSS": {
scale: 100,
availableFonts: ["TeX"],
preferredFont: "TeX",
webFont: "TeX",
imageFont: "TeX",
EqnChunk: 1000
}
});
</script>
$for(include-after)$
$include-after$
$endfor$
$if(math)$
$math$
$endif$
</div>
</body>
</html>