diff options
author | Olivier Roques <olivier@oroques.dev> | 2020-08-02 20:39:01 +0200 |
---|---|---|
committer | Olivier Roques <olivier@oroques.dev> | 2020-08-02 20:39:01 +0200 |
commit | 74058f0cae8eff8b83d02303671c0532bd492ea3 (patch) | |
tree | 8d70b08517241bb5477a456fa3794e4e92da7aa4 /layouts/_default | |
parent | 1263088ed542e0745db78d9c969fc1dbdece58e2 (diff) |
General update
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 7 |
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 }} |