Weave.jl/templates/pandoc2html.html

97 lines
2.0 KiB
HTML
Raw Normal View History

<!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>
2016-11-02 08:54:45 +01:00
<!-- TODO check if math works with plotly -->
<!-- Need to load plotly before Mathjax or pandoc equations don't work -->
$headerscript$
$if(math)$
<script type="text/javascript">
var fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript")
fileref.setAttribute("src", "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML")
document.getElementsByTagName("head")[0].appendChild(fileref)
</script>
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$highlight_stylesheet$
2018-01-04 17:00:01 +01:00
$if(highlighting-css)$
2016-04-20 15:58:38 +02:00
<style type="text/css">
$highlighting-css$
</style>
2016-04-20 15:58:38 +02:00
$endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
</head>
<body>
<div class ="container">
<div class = "row">
<div class = "col-md-12 twelve columns">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
$endif$
<p><strong>Author:</strong>
$for(author)$
$author$
$endfor$
<br/>
$if(date)$
<strong>Date: </strong>$date$
$endif$
</p>
$endif$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
<HR/>
<div class="footer"><p>
Published from <a href="$source$">$source$</a> using
<a href="http://github.com/mpastell/Weave.jl">Weave.jl</a> $weave_version$ on $weave_date$.
<p></div>
</div>
</div>
</div>
</body>
</html>