blob: 2fd8d7cb7b9d5334634691ebc5bb52d4afe10f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{ define "main" }}
{{ $context := . }}
{{ with .Content }}
{{ partial "single_article.html" $context }}
{{ else }}
<section class="archives-wrap">
<div class="archive-category-wrap">
<span class="archive-category">{{ .Title }}</span>
</div>
<div class="archives">
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
</div>
</section>
{{ partial "pagination" . }}
{{ end }}
{{ end }}
|