summaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-08-04 14:49:48 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-08-04 14:49:48 +0200
commit07ae26b4d0730735eadf1055d27a291a69ba0131 (patch)
tree166eb5c2dbeac97a9ff1fce1c423186c4402a8ee /layouts/posts/list.html
parent87a04eaf82583c4186a132afe6cf0f0effada919 (diff)
Add h-entry tags to content
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 40a0ba5..b5ec8ca 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -6,11 +6,13 @@
<ul>
{{- range .Pages }}
<li>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a class="u-url" href="{{ .Permalink }}"><span class="p-name">{{ .Title }}</span></a>
<small>
- {{ .Date | dateFormat "2006-01-02" }}
+ <time class="dt-published" datetime="{{ .Date | dateFormat "2006-01-02" }}">
+ {{ .Date | dateFormat "2006-01-02" }}
+ </time>
{{- range .Params.tags }}
- <a href="/tags/{{ . | lower }}">#{{ . }}</a>
+ <a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a>
{{- end }}
</small>
</li>