h-entry stuff

This commit is contained in:
rhiannon morris 2024-11-29 00:50:42 +01:00
parent cb4649c2e2
commit e1135a5d35

View file

@ -1,27 +1,39 @@
$head()$ $head()$
<body class=h-entry>
<header> <header>
$if(title)$ $if(title)$
<h1>$title$</h1> <h1 class=p-name>$title$</h1>
$endif$ $endif$
<div class=meta> <div class=meta>
$if(date)$ $if(date)$
<span class=date>$date$</span> <time class='date dt-published' datetime='$date-iso$'>
$date$
</time>
$endif$ $endif$
$if(tags)$ $if(tags)$
<nav class=tags> <nav class=tags>
tags: tags:
<ul> <ul>
$for(tags)$ $for(tags)$
<li><a href=/tag-$it.slug$.html>$it.name$</a> <li>
<a href=/tag-$it.slug$.html class=p-category rel=tag>$it.name$</a>
$endfor$ $endfor$
</ul> </ul>
</nav> </nav>
$endif$ $endif$
</div> </div>
<!-- h-entry stuff -->
<data class='u-url u-uid' value='$baseurl$/$filename$'></data>
<span class=p-author>
<data class=p-name value='$author$'></data>
<data class=p-url value='$baseurl$'></data>
</span>
</header> </header>
<main> <main class=e-content>
$if(show-toc)$ $if(show-toc)$
<nav id=toc> <nav id=toc>
<h1 class=unnumbered>contents</h1> <h1 class=unnumbered>contents</h1>