wires

summary refs log tree commit diff
path: root/layouts/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/home.html')
-rw-r--r--layouts/home.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/home.html b/layouts/home.html
new file mode 100644
index 0000000..8422313
--- /dev/null
+++ b/layouts/home.html
@@ -0,0 +1,14 @@
+{{ define "main" }} {{ .Content }} {{ with (where site.RegularPages
+"Params.hidden" "ne" true) }}
+<h2>Posts</h2>
+<ul>
+  {{ range . }}
+  <li>
+    <a href="{{ .Permalink }}">{{ .Title }}</a>
+    <time datetime="{{ .Lastmod }}">
+      {{ .Lastmod.Format "January 2, 2006" }}
+    </time>
+  </li>
+  {{ end }}
+</ul>
+{{ end }} {{ end }}