about summary refs log tree commit diff stats
path: root/themes/xmin/layouts/_default/list.html
diff options
context:
space:
mode:
authorAlan Pearce2020-01-11 19:10:05 +0100
committerAlan Pearce2020-01-11 19:10:05 +0100
commit91796f21c74558ec438f3b346ae95d125333a0a9 (patch)
treeb20a1c9202153c7163449fe2a857198b97e78738 /themes/xmin/layouts/_default/list.html
parentd4f13dda5ab01a0f4dc0609b6d81205de3fbb93b (diff)
downloadwebsite-91796f21c74558ec438f3b346ae95d125333a0a9.tar.lz
website-91796f21c74558ec438f3b346ae95d125333a0a9.tar.zst
website-91796f21c74558ec438f3b346ae95d125333a0a9.zip
Add h-feed support
Diffstat (limited to 'themes/xmin/layouts/_default/list.html')
-rw-r--r--themes/xmin/layouts/_default/list.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/themes/xmin/layouts/_default/list.html b/themes/xmin/layouts/_default/list.html
index bf0af50..6780bba 100644
--- a/themes/xmin/layouts/_default/list.html
+++ b/themes/xmin/layouts/_default/list.html
@@ -1,18 +1,21 @@
 {{ define "main" }}
 
-{{if not .IsHome }}
+{{ if not .IsHome }}
 <h1>{{ .Title | markdownify }}</h1>
+{{ else }}
+<h1>{{ .Site.Title | markdownify }}</h1>
 {{ end }}
 
+
 {{ .Content }}
 
 <ul>
   {{ $pages := .Pages }}
   {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
   {{ range (where $pages "Section" "!=" "") }}
-  <li>
-    <span class="date">{{ .Date.Format "2006-01-02" }}</span>
-    <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
+  <li class="h-entry">
+    <span class="date dt-published">{{ .Date.Format "2006-01-02" }}</span>
+    <a class="u-url p-name" href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
   </li>
   {{ end }}
 </ul>