blog/templates/post.html

38 lines
460 B
HTML
Raw Normal View History

2021-07-23 21:35:02 -04:00
$head()$
<header>
$if(title)$
<h1>$title$</h1>
$endif$
<div class=meta>
$if(date)$
<h2 class=date>$date$</h2>
$endif$
$if(tags)$
<nav class=tags>
tags:
<ul>
$for(tags)$
<li><a href=/tag-$it$.html>$it$</a>
$endfor$
</ul>
</nav>
$endif$
</div>
<hr>
</header>
$if(show-toc)$
<nav id=toc>
<h2>Contents</h2>
$table-of-contents$
</nav>
$endif$
<main>
$body$
</main>
$foot()$