blob: e456887b1b7eb2afc77c89daa61d2657330cb7ec (
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
36
37
|
{{ define "main" }}
{{ $section_to_display := .Pages }}
<div class="w-full px-4 pb-5 sm:pb-6 pt-1 sm:pt-3">
<div class="flex">
<div class="hidden lg:block w-1/5">TODO1 nav</div>
<div class="w-full lg:w-4/5 py-0 lg:px-4">
<article class="w-full leading-normal nested-links nested-img">
<h1 class="text-steel-900 text-4xl">
{{ .Title }}
</h1>
</article>
<div class="p-3 sm:p-4 w-full v-top column-count-3-l column-gap-1-l">
{{ range $key, $value := .Data.Terms }}
<div class="break-inside-avoid-l leading-normal mb5">
<h2 class="text-2xl">
<a
href="{{ "/" | relLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}"
class="link text-black hover-blue">
{{ $key }}
<span class="text-sm text-gray-600"> ↗ </span>
</a>
</h2>
{{ range $value.Pages }}
<h3>
<a href="{{ .RelPermalink }}" class="link text-royalblue-600">
{{ .Title }}
</a>
</h3>
{{ end }}
</div>
{{ end }}
</div>
</div>
</div>
</div>
{{ end }}
|