layouts: single: add microformats2
ci/woodpecker/push/woodpecker Pipeline was successful Details

main
Ariadne Conill 2022-08-02 19:12:13 -05:00
parent 89d59a625f
commit 52d9c6de24
1 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,14 @@
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<div>
<article class="h-entry">
<h1 class="p-name">{{ .Title }}</h1>
<div class="e-content">
{{ .Content }}
</div>
<p>
Published on
<a class="u-url" href="{{ .Permalink }}">
<time class="dt-published" datetime="{{ .Date }}">{{ .Date.Format "Jan 2, 2006" }}</time>
</a>
</p>
</article>
{{ end }}