1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-18 02:07:05 +01:00
hugo-theme-bootstrap4-blog/layouts/_default/taxonomy.html

19 lines
348 B
HTML
Raw Normal View History

{{ define "main" }}
{{ $truncate := default true .Site.Params.truncate }}
{{ range .Paginator.Pages }}
{{ if $truncate }}
{{ .Render "summary" }}
{{ else }}
{{ .Render "content" }}
{{ end }}
{{ end }}
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ partial "pagination.html" . }}
{{ end }}
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}