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

Gabriel Monteiro Nepomuceno
16.16.2019 4ff77035f6d1a43423fa546179be3ced28f0e464
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<section class="container list">
  <h1 class="title">
    {{- if eq .Kind "taxonomy" -}}
      {{- .Data.Singular | title -}}
      {{- print ": " -}}
    {{- end -}}
 
    {{- .Title -}}
  </h1>
  <ul>
    {{ range .Paginator.Pages }}
    <li>
      <span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
      <a class="title" href="{{ .URL }}">{{ .Title }}</a>
    </li>
    {{ end }}
  </ul>
  {{ partial "pagination.html" . }}
</section>