~captainepoch/blogtheme

ref: a236c7d2c97fa8f4d3052ba6e924d14323fd29af blogtheme/layouts/partials/categories/content.html -rw-r--r-- 338 bytes
a236c7d2 — Adolfo Santiago Removed pagination, added Categories taxonomy 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" }}
<div class="content">
	<h1>{{ .Title }}</h1>
	{{ .Content }}
</div>

{{- range sort .Data.Terms -}}
<div>
	<a class="title is-5 is-size-6-mobile" href="{{ .Page.Permalink }}">
		{{ .Page.Title }}</a>
	{{ $pageCount := len .Pages }}
	{{ $pageCount }} post{{ if ne $pageCount 1}}s{{ end }}
</div>
{{- end -}}

{{ end }}