blob: 4816514c17868ac3df79fc7239ed7cf803f91aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{ define "main" }}
<main class="main list" role="main">
{{- with .Title }}
<header class="main__header">
<h1 class="main__title">{{ . }}</h1>
</header>
{{- end }}
{{- with .Content }}
<div class="content main__content clearfix">
{{ . }}
{{ partial "ranklist_fts5.html" . }}
</div>
{{- end }}
{{ $section := .Section }}
{{- if or ( eq $section "blog" ) ( eq $section "" ) ( eq $section "categories" ) }}
{{- range .Paginator.Pages }}
{{- .Render "summary" }}
{{- end }}
{{- end }}
</main>
{{ partial "pagination.html" . }}
{{ end }}
|