wires

summary refs log tree commit diff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html21
1 files changed, 10 insertions, 11 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fd3d675..2289aac 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,14 +1,13 @@
-{{ define "main" }}
-{{ .Content }}
-{{ with .Site.RegularPages }}
+{{ define "main" }} {{ .Content }} {{ with .Site.RegularPages }}
 <h2>Posts</h2>
 <ul>
-{{ range . }}
-<li>
-<a href="{{ .Permalink }}">{{ .Title }}</a>
-{{ partial "tags.html" . }}
-</li>
-{{ end }}
+  {{ range . }}
+  <li>
+    <a href="{{ .Permalink }}">{{ .Title }}</a>
+    <time datetime="{{ .Lastmod }}">
+      {{ .Lastmod.Format "January 2, 2006" }}
+    </time>
+  </li>
+  {{ end }}
 </ul>
-{{ end }}
-{{ end }}
+{{ end }} {{ end }}