shared-bulma-theme/layouts/index.html

11 lines
No EOL
274 B
HTML

{{ define "main" }} {{ $paginator := .Paginate (where .Data.Pages "Section" "entry") 3 }}
<div class="columns">
{{ range $paginator.Pages }}
<div class="column">
{{ .Render "summary" }}
</div>
{{ end }}
</div>
{{ partial "pagination" . }} {{ end }}