Welcome to mirror list, hosted at ThFree Co, Russian Federation.

list.html « taxonomy « layouts - github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 236296ace10af61d1c1cee11c1a769d7e6a3bc9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "content" }}
  <section class="container list">
    <h1 class="title">
      {{- if eq .Kind "taxonomy" -}}
        {{- .Data.Singular | title -}}
        {{- print ": " -}}
      {{- end -}}

      {{- .Title -}}
    </h1>
    {{ range .Paginator.Pages }}
    <div class="pure-g">
      <div class="pure-u-1">
        <h3><a href="{{ .URL }}">{{ .Title }}</a></h3>
      </div>
    </div>
    {{ end }}
    {{ partial "pagination.html" . }}
  </section>
{{ end }}