homepage/layouts/_default/list.html

21 lines
412 B
HTML
Raw Normal View History

2022-09-04 16:59:13 -06:00
{{define "main"}}
{{.Content}}
<ul>
{{range .Pages}}
2024-02-05 19:44:03 -07:00
{{.}}
2024-01-20 15:18:18 -07:00
<li class="{{if .IsNode}}branch{{end}} {{if .Draft}}draft{{end}}">
2022-09-04 16:59:13 -06:00
<a href="{{.Permalink}}">
{{.Title}}
2024-01-20 15:18:18 -07:00
{{ with .Date }}
({{time.Format "2006-Jan-02" .}})
{{ end }}
2022-09-04 16:59:13 -06:00
</a>
{{with .Description}}
- {{.}}
{{end}}
</li>
{{end}}
</ul>
2024-02-05 19:44:03 -07:00
{{end}}