hugo-tufte/layouts/_default/list.html

38 lines
721 B
HTML
Raw Normal View History

2021-07-25 10:04:57 +02:00
{{ define "main" }}
2015-12-30 03:35:20 +01:00
<div id="layout" class="pure-g">
<article class="pure-u-1">
2023-04-15 01:36:29 +02:00
{{ partial "brand.html" . }}
2023-04-15 01:36:29 +02:00
{{ partial "content.header.html" . }}
<section class="list-page">
{{ range .Data.Pages.GroupByDate "2006" }}
<ul>
<li class="year">{{ .Key }} ({{ len .Pages }})</li>
{{ range .Pages.GroupByDate "January" }}
<ul>
<li>{{ .Key }} ({{ len .Pages }})</li>
{{ range .Pages }}
<ul>
<li>
<span class="list-date">{{ .Date.Format "Jan 2" }} &middot;</span>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
</li>
</ul>
2015-12-30 03:35:20 +01:00
{{ end }}
2023-04-15 01:36:29 +02:00
</li>
</ul>
{{ end }}
2023-04-15 01:36:29 +02:00
</ul>
{{ end }}
</section>
{{ partial "footer.html" . }}
2023-04-15 01:36:29 +02:00
</article>
</div>
2021-07-25 10:04:57 +02:00
2023-04-15 01:36:29 +02:00
{{ end }}