7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-22 22:31:32 +00:00
web-ansol.org/themes/academic/layouts/section/post.html

27 lines
507 B
HTML
Raw Normal View History

2020-06-11 11:46:16 +00:00
{{- 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 -}}