bavbavhaus.net/pandoc/templates/bavbavhaus.net.html5

52 lines
1.1 KiB
Plaintext

<!DOCTYPE html>
<html
xmlns="http://www.w3.org/1999/xhtml"
lang="$if(lang)$$lang$$else$sl$endif$"
xml:lang="$if(lang)$$lang$$else$sl$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" />
$if(description-meta)$
<meta name="description" content="$description-meta$" />
$else$
<meta name="description" content="bavbavhaus.net" />
$endif$
<title>$pagetitle$, bavbavhaus.net</title>
<link rel="stylesheet" media="screen" href="css/style.css" />
<script src="js/resolve_internal_links.js"></script>
</head>
<body$if(sourcefile)$ id="$sourcefile$"$endif$>
<main>
<article class="post">
<header>
<h1>$pagetitle$</h1>
</header>
<div class="content">
$if(description)$
<div class="description">
$description$
</div>
$endif$
$if(toc)$
<nav>
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
$table-of-contents$
</nav>
$endif$
$if(abstract)$
<div class="abstract">
<h2 class="abstract-title">$abstract-title$</h2>
$abstract$
</div>
$endif$
$body$
</article>
</main>
</body>
</html>