Fix taxonomies pages
parent
40d0d344db
commit
b968355d26
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
<div class="section">
|
||||
<div class="container is-max-widescreen">
|
||||
<main>
|
||||
<div class="columns is-multiline">
|
||||
<!-- Custom paginator with only blog posts -->
|
||||
{{ $paginator := .Paginator }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ if (eq .FirstSection.Section "posts")}}
|
||||
<div class="column is-variable is-one-third">
|
||||
{{ .Render "summary" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- partial "pagination.html" $paginator -}}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in New Issue