Avoid listing non-blog pages on listings
parent
0e9e3c01a7
commit
78131aab23
|
@ -10,10 +10,12 @@
|
|||
{{ end }}
|
||||
<div class="columns is-multiline is-mobile">
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ if (eq .FirstSection.Section "posts")}}
|
||||
<div class="column is-one-third">
|
||||
{{ .Render "summary" }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- partial "pagination.html" . -}}
|
||||
</main>
|
||||
|
|
Loading…
Reference in New Issue