Files
HugoBlox-kit/layouts/section/post.html
T
George Cushen faa4812677 Add optional stream layout with featured image for publications + talks
- exampleSite: Add featured images to talks and publications
- exampleSite: Change default layouts to use stream layout

Close #718
2018-10-13 23:44:49 +01:00

29 lines
712 B
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
{{ with .Content }}
<div class="article-style" itemprop="articleBody">{{ . }}</div>
{{ end }}
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ $params := dict "post" . }}
{{ if eq $.Params.list_format 0 }}
{{ partial "post_li_simple" $params }}
{{ else if eq $.Params.list_format 1 }}
{{ partial "post_li_detailed" $params }}
{{ else }}
{{ partial "post_li_stream" $params }}
{{ end }}
{{ end }}
{{ partial "pagination" . }}
</div>
{{ partial "footer_container.html" . }}
{{ partial "footer.html" . }}