mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 06:15:13 +00:00
- Consolidate the code for all compact views into a single file - Make authors clickable in all compact views - Improve archetypes BREAKING CHANGES: `abstract_short` field dropped in publications and talks in favour of `summary` field. See #918 See https://github.com/gcushen/hugo-academic/issues/916#issuecomment-462274214
28 lines
630 B
HTML
28 lines
630 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 }}
|
|
{{ if eq $.Params.view 1 }}
|
|
{{ partial "li_list" . }}
|
|
{{ else if eq $.Params.view 3 }}
|
|
{{ partial "post_li_card" . }}
|
|
{{ else }}
|
|
{{ partial "li_compact" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ partial "pagination" . }}
|
|
|
|
</div>
|
|
{{ partial "footer_container.html" . }}
|
|
{{ partial "footer.html" . }}
|