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

50 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>bavbavhaus.net/$pagetitle$</title>
<link rel="icon" href="favicon.svg" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<main>
<article class="post">
<header>
<h1>
<a href="index.html">bavbavhaus.net</a>
/
<a href="$url$">$if(title)$$title$$else$$pagetitle$$endif$</a></h1>
$if(abstract)$
$abstract$
$endif$
</header>
$if(toc)$
<nav>
$if(toc-title)$
<h2>$toc-title$</h2>
$endif$
$table-of-contents$
</nav>
$endif$
$body$
</article>
$for(links)$
<article class="post link">
$it$
</article>
$endfor$
</main>
</body>
</html>