aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2020-08-02 20:39:01 +0200
committerOlivier Roques <olivier@oroques.dev>2020-08-02 20:39:01 +0200
commit74058f0cae8eff8b83d02303671c0532bd492ea3 (patch)
tree8d70b08517241bb5477a456fa3794e4e92da7aa4 /layouts/_default
parent1263088ed542e0745db78d9c969fc1dbdece58e2 (diff)
General update
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 2bc2b1e..cffc40d 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,10 @@
{{ define "main" }}
<div class="container">
- {{ .Content }}
+ <h1>{{ .Title }}</h1>
+ <ul>
+ {{ range .Pages }}
+ <li><a href="{{ .Permalink }}">{{ .Date.Format "2006-01-02" }} | {{ .Title }}</a></li>
+ {{ end }}
+ </ul>
</div>
{{ end }}