blob: babfd875ac4f353d1b7a91845521e244a3e26824 (
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-white lh-title">{{ .Title }}</h2>
<section class="">
{{ range .Data.Terms.ByCount }}
<a class="dib near-white 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-white" href="{{ .Name | urlize }}">
{{ .Name }} ({{ .Pages | len }})
</a>
</h4>
<ul class="list ml0">
{{ range .Pages.ByDate }}
<li class="pv1 fa-check fas">
<a class="link dim near-white lh-copy" href="{{ .Permalink }}">
{{ .Title }}
</a>
<span class="white-60"> - {{ .Date | time.Format ":date_long" }}</span>
</li>
{{ end }}
</ul>
</div>
{{ end }}
</section>
</section>
{{ end }}
|