aboutsummaryrefslogtreecommitdiff
path: root/layouts/taxonomies/home.html
blob: 0ee22c5560355c877aea5e0794a4ad0c208a11f1 (plain) (blame)
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

{{ define "main" }} 

<div class="flex flex-col gap-1">
  <h1 class="title-small">
    {{ if .Params.header }}
      {{ .Params.header }}
    {{ else }}
      {{ .Title }}
    {{ end }}
  </h1>

  {{ with .Content }}
    {{ . }}
  {{ end }}
</div>

<section class="py-10 flex flex-col gap-10">
  <ul class="taxonomy-list">
    {{ range $index, $pages := .Pages }} 
      <li>
        <a href=" {{ .Permalink }} ">
          {{ .Title }} ({{ len .Pages }})
        </a>
      </li>
    {{ end }}
  </ul>
</section>

{{ end }}