summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-01-28 22:16:01 +0100
committerMateja <mail@matejamaric.com>2021-01-28 22:16:01 +0100
commit6963f58102c368967cb7f0ed3fce5f978493177d (patch)
tree4d82df8bc246e3de2f64e22e7f698d020c3ffcc0 /layouts/_default/list.html
downloadblog-6963f58102c368967cb7f0ed3fce5f978493177d.tar.gz
blog-6963f58102c368967cb7f0ed3fce5f978493177d.zip
First commit.
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..2fcfeba
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,9 @@
+{{ define "main" }}
+{{ .Content }}
+<h3>Posts</h3>
+<ul>
+ {{ range .Pages }}
+ <li>{{ .Date.Format "2 Jan 2006" }} - <a href="{{ .URL }}">{{ .Title }}</a></li>
+ {{ end }}
+</ul>
+{{ end }}