Theme should be useable, but there might be some minor stylistic tweaks
here and there.
This commit is contained in:
Shawn O'Hare 2016-01-14 21:02:57 -08:00
commit 82958f2609
10 changed files with 227 additions and 217 deletions
layouts/_default

View file

@ -1,43 +1,36 @@
{{ partial "header.html" . }}
<body>
<div id="layout" class="pure-g">
<div class="content content-column pure-u-1 pure=u-md-4-5">
{{ partial "brand.html" . }}
<h1 class="content-title-mini">{{ .Title }}</h1>
{{ range .Data.Pages.GroupByDate "2006" }}
<details open>
<summary>{{ .Key }} ({{ len .Pages }})</summary>
{{ range .Pages.GroupByDate "January" }}
<div class="list-page">
<ul>
<li>
<details open>
<summary>{{ .Key }} ({{ len .Pages }})</summary>
{{ range .Pages }}
<ul>
<li>
<span class="list-date">{{ .Date.Format "Jan 2" }} &middot;</span>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
</li>
</ul>
{{ end }}
</details>
</li>
</ul>
</div>
{{ end }}
</details>
<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" }} &middot;</span>
<a href="{{ .RelPermalink }}">{{.Title}}</a>
</li>
</ul>
{{ end }}
</details>
</li>
</ul>
{{ end }}
{{ partial "footer.html" . }}
</div>
</div>
</details>
{{ end }}
</section>
{{ partial "footer.html" . }}
</article>
</div>
</body>
</html>