Files
HugoBlox-kit/wowchemy/layouts/_default/list.html
T
George Cushen a99a1efa45 feat: support community grid views
Third party, community views can be added to the new community folder, e.g. by creating a file at layouts/partials/views/community/MY_VIEW.html

And referencing it as `view: community/MY_VIEW`
2021-12-14 20:18:45 +00:00

19 lines
445 B
HTML

{{- define "main" -}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
{{ with .Content }}
<div class="article-style">{{ . }}</div>
{{ end }}
{{ $paginator := .Paginate .Pages }}
{{ range $index, $post := $paginator.Pages }}
{{ partial "functions/render_view" (dict "page" $ "item" . "view" ($.Params.view | default "compact") "index" $index) }}
{{end}}
{{ partial "pagination" . }}
</div>
{{- end -}}