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

48 lines
982 B
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="icon" href="favicon.svg" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body$if(slug)$ id="$slug$"$endif$>
<main>
<article class="post head">
<header>
<h1><a href="$url$">$pagetitle$</a></h1>
$if(abstract)$
<div class="abstract">
$abstract$
</div>
$endif$
</header>
$if(toc)$
<nav>
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
$table-of-contents$
</nav>
$endif$
$body$
</article>
$for(parts)$
$it$
$endfor$
</main>
</body>
</html>