blob: d33004eed4de5247e58bbc58428ba2f57bd406f8 (
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
|
{{ define "main" }}
<main>
<div class="row row-eq-height">
{{ $sectionName := .Title | lower }}
{{ range $key, $taxonomy := .Site.Taxonomies.categories.ByCount }}
<div class="col-md-6 mt-3">
<h2>
<a href="/categories/{{ .Name }}/">
{{ .Name }}
</a>
</h2>
<div class="border rounded p-2">
{{ range where $taxonomy.Pages.ByDate "Type" $sectionName }}
<h4 class="ml-2">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h4>
<p class="ml-4">{{ .Description }}</p>
{{ end }}
</div>
</div>
{{ end }}
</div>
</main>
{{ partial "footer.html" . }}
{{ end }}
|