blog/templates/post.html

37 lines
488 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)$
2024-09-15 11:50:10 -04:00
<span class=date>$date$</span>
2021-07-23 21:35:02 -04:00
$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>
</header>
2024-09-15 11:50:10 -04:00
<main>
2021-07-23 21:35:02 -04:00
$if(show-toc)$
<nav id=toc>
2024-09-15 11:50:10 -04:00
<h1 class=unnumbered>contents</h1>
2021-07-23 21:35:02 -04:00
$table-of-contents$
</nav>
2024-09-15 11:50:10 -04:00
<hr>
2021-07-23 21:35:02 -04:00
$endif$
$body$
</main>
$foot()$