updated for microformats2

This commit is contained in:
2025-01-07 19:43:39 -07:00
parent 88236da4b8
commit 11a09e6c3c
17 changed files with 127 additions and 19 deletions

View File

@@ -1,12 +1,13 @@
{{ define "main" }}
<section>
<h2>Posts</h2>
<section class="h-feed">
<h2>{{ .Title }}</h2>
<ul>
{{ range .Pages }}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
<li class="h-entry">
<a href="{{ .RelPermalink }}" class="p-name u-url">{{ .Title }}</a>
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
</li>
{{ end }}
</ul>
</section>
{{ end }}
{{ end }}