homepage/layouts/blog/list.html

16 lines
281 B
HTML

{{define "main"}}
{{.Content}}
<ul>
{{range .Pages}}
<li>
<a href="{{.Permalink}}">
{{time.Format "2006-Jan-02" .Date}}: {{.Title}}
</a>
{{with .Description}}
- {{.}}
{{end}}
</li>
{{end}}
</ul>
{{end}}