about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 19:10:05 +0100
committerAlan Pearce2020-01-11 19:10:05 +0100
commit91796f21c74558ec438f3b346ae95d125333a0a9 (patch)
treeb20a1c9202153c7163449fe2a857198b97e78738 /layouts
parentd4f13dda5ab01a0f4dc0609b6d81205de3fbb93b (diff)
downloadwebsite-91796f21c74558ec438f3b346ae95d125333a0a9.tar.lz
website-91796f21c74558ec438f3b346ae95d125333a0a9.tar.zst
website-91796f21c74558ec438f3b346ae95d125333a0a9.zip
Add h-feed support
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 25eaf74..c555aa9 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -9,9 +9,9 @@
     <h2>Latest Posts</h2>
     <ul>
       {{- range first 3 .Site.RegularPages }}
-      <li>
-        <a href="{{ .RelPermalink | strings.TrimRight "/" }}">{{ .Title }}</a>
-        <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
+      <li class="h-entry">
+        <a class="u-url p-name" href="{{ .RelPermalink | strings.TrimRight "/" }}">{{ .Title }}</a>
+        <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>
       </li>
       {{- end }}
     </ul>