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

Kirill
19.21.2023 e0969a4ab96d939527a31101764b8bf780788dd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "title" }}
  {{ title (i18n (lower .Title)) | default .Title }} ยท {{ .Site.Title }}
{{ end }}
{{ define "content" }}
  <section class="container list">
    <header>
      <h1 class="title">
        <a class="title-link" href="{{ .Permalink | safeURL }}">
          {{ title (i18n (lower .Title)) | default .Title }}
        </a>
      </h1>
    </header>
    {{ .Content }}
    <ul>
      {{- range .Paginator.Pages -}}
        {{- .Render "li" -}}
      {{- end -}}
    </ul>
 
    {{ partial "pagination.html" . }}
  </section>
{{ end }}