1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-07 03:59:22 +00:00

docs: Add a simple list template

Fixes 
This commit is contained in:
Bjørn Erik Pedersen 2016-11-20 15:37:18 +01:00
parent 3b42640e3f
commit 3031793431

View file

@ -0,0 +1,9 @@
{{ define "main" }}
<ul style="margin-top: 20px">
{{ range .Data.Pages }}
<li>
<a href="{{ index .Params " link " }}">{{ .Title }}</a> <em>Updated {{ .Lastmod.Format "Mon, Jan 2, 2006" }}</em>
</li>
{{ end }}
</ul>
{{ end }}