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

59 lines
1.3 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="icon" href="favicon.svg" />
<link rel="stylesheet" media="screen" href="css/style.css" />
<link rel="stylesheet" media="print" href="css/print.css" />
</head>
<body$if(slug)$ id="$slug$"$endif$>
<main>
<article id="verso" class="post">
<header>
<h1>$if(index)$$else$<a href="index.html">bavbavhaus.net</a>/$endif$<a href="$slug$.html">$pagetitle$</a></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>
<article id="recto">
$for(parts)$
$it$
$endfor$
</div>
</article>
</main>
</body>
</html>