mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-13 22:12:44 +02:00
mainly cosmetic changes to the code
This commit is contained in:
parent
eb95b736e4
commit
6760f0cb6b
4 changed files with 170 additions and 165 deletions
layouts/_default
|
@ -2,34 +2,36 @@
|
|||
|
||||
<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>
|
||||
|
||||
{{ 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" }} ·</span>
|
||||
<a href="{{ .RelPermalink }}">{{.Title}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
</details>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
</section>
|
||||
</ul>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
</article>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue