7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-01 18:18:50 +00:00
web-ansol.org/themes/academic/layouts/section/post.html
2020-06-11 12:46:16 +01:00

27 lines
507 B
HTML

{{- define "main" -}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
{{ with .Content }}
<div class="article-style">{{ . }}</div>
{{ end }}
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ if eq $.Params.view 1 }}
{{ partial "li_list" . }}
{{ else if eq $.Params.view 3 }}
{{ partial "li_card" . }}
{{ else }}
{{ partial "li_compact" . }}
{{ end }}
{{ end }}
{{ partial "pagination" . }}
</div>
{{- end -}}