mirror of https://github.com/luizdepra/hugo-coder.git

Codruț Constantin Gușoi
20.37.2020 733bc740c64642f5d3479d10d9b1f0e13f26af71
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<section class="container list">
  <h1 class="title">
    {{- if eq .Kind "term" -}}
      {{- i18n .Data.Singular | title -}}
      {{- print ": " -}}
    {{- end -}}
 
    {{- .Title -}}
  </h1>
  {{ .Content }}
  <ul>
    {{ range .Paginator.Pages }}
    <li>
      <span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
      <a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
    </li>
    {{ end }}
  </ul>
  {{ partial "pagination.html" . }}
</section>