blog/templates/post.html
2024-09-15 17:57:09 +02:00

36 lines
488 B
HTML

$head()$
<header>
$if(title)$
<h1>$title$</h1>
$endif$
<div class=meta>
$if(date)$
<span class=date>$date$</span>
$endif$
$if(tags)$
<nav class=tags>
tags:
<ul>
$for(tags)$
<li><a href=/tag-$it.slug$.html>$it.name$</a>
$endfor$
</ul>
</nav>
$endif$
</div>
</header>
<main>
$if(show-toc)$
<nav id=toc>
<h1 class=unnumbered>contents</h1>
$table-of-contents$
</nav>
<hr>
$endif$
$body$
</main>
$foot()$