homepage/layouts/blog/list.html

22 lines
507 B
HTML
Raw Normal View History

2022-09-04 16:59:13 -06:00
{{define "main"}}
{{.Content}}
2023-09-25 17:14:16 -06:00
<ul class="tags compact">
{{range $tag, $pages := .Site.Taxonomies.tags}}
<li><a href="/tags/{{$tag}}/">{{humanize $tag}}</a></li>
{{end}}
</ul>
2022-09-04 16:59:13 -06:00
<ul>
{{range .Pages}}
2023-09-25 17:14:16 -06:00
<li class="{{if .IsNode}}branch{{end}} {{if .Draft}}draft{{end}}">
2022-09-04 16:59:13 -06:00
<a href="{{.Permalink}}">
{{time.Format "2006-Jan-02" .Date}}: {{.Title}}
</a>
{{with .Description}}
- {{.}}
{{end}}
</li>
{{end}}
</ul>
{{end}}