updated for microformats2

This commit is contained in:
phil committed 2025-01-07 19:43:39 -07:00
1 parent 88236da4b8
commit 11a09e6c3c
17 files changed
+127 -19

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{{ define "main" }}
<section class="h-feed">
<h2>Photos</h2>
<div class="photo-grid">
{{ range .Pages }}
<figure class="h-entry">
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="u-photo">
<figcaption class="p-name">{{ .Title }}</figcaption>
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
</figure>
{{ end }}
</div>
</section>
{{ end }}