mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-24 06:19:44 +01:00
82958f2609
Theme should be useable, but there might be some minor stylistic tweaks here and there.
36 lines
984 B
HTML
36 lines
984 B
HTML
{{ partial "header.html" . }}
|
|
|
|
<body>
|
|
<div id="layout" class="pure-g">
|
|
<article class="pure-u-1">
|
|
{{ partial "brand.html" . }}
|
|
{{ partial "content.header.html" . }}
|
|
<section class="list-page">
|
|
{{ range .Data.Pages.GroupByDate "2006" }}
|
|
<details open>
|
|
<summary class="year">{{ .Key }} ({{ len .Pages }})</summary>
|
|
{{ range .Pages.GroupByDate "January" }}
|
|
<ul>
|
|
<li>
|
|
<details open>
|
|
<summary>{{ .Key }} ({{ len .Pages }})</summary>
|
|
{{ range .Pages }}
|
|
<ul>
|
|
<li>
|
|
<span class="list-date">{{ .Date.Format "Jan 2" }} ·</span>
|
|
<a href="{{ .RelPermalink }}">{{.Title}}</a>
|
|
</li>
|
|
</ul>
|
|
{{ end }}
|
|
</details>
|
|
</li>
|
|
</ul>
|
|
{{ end }}
|
|
</details>
|
|
{{ end }}
|
|
</section>
|
|
{{ partial "footer.html" . }}
|
|
</article>
|
|
</div>
|
|
</body>
|
|
</html>
|