blog/templates/post.html

38 lines
470 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.slug$.html>$it.name$</a>
2021-07-23 21:35:02 -04:00
$endfor$
</ul>
</nav>
$endif$
</div>
<hr>
</header>
$if(show-toc)$
<nav id=toc>
2023-12-27 19:00:25 -05:00
<h2>contents</h2>
2021-07-23 21:35:02 -04:00
$table-of-contents$
</nav>
$endif$
<main>
$body$
</main>
$foot()$