blob: 73856b3fc618796f9494cea21df38acfa3c01126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{{ define "main" }}
<section class="mw7 center">
<h2 class="baskerville f2 fw1 ph3 ph0-l near-black lh-title">{{ .Title }}</h2>
<section class="">
{{ range .Data.Terms.ByCount }}
<a class="dib near-black link grow hover-bg-white-80 hover-near-black pa2 ba ma1 br2" href="#{{ .Name | urlize }}-list" data-tag="{{ .Name | lower }}">
{{ .Name }}
</a>
{{ end }}
</section>
<!-- EACH tag post -->
<section class="">
{{ range .Data.Terms.ByCount }}
<div id="{{ .Name | urlize }}-list" class="pa1 pa2-ns bb" data-tag="{{ .Name | lower }}">
<h4 class="f4 bold center lh-title">
<a class="link dim near-black" href="{{ .Name | urlize }}">
{{ .Name }} ({{ .Pages | len }})
</a>
</h4>
<ul class="list ml0">
{{ range .Pages.ByDate }}
<li class="lh-copy">
<a class="link dim near-black" href="{{ .Permalink }}">
{{ .Title }}
</a>
<span class="white-60"> - {{ .Date | time.Format ":date_long" }}</span>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</section>
</section>
{{ end }}
|