mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-27 12:16:20 +00:00
- link author profile pages in listings - display author name (rather than username) in metadata - refactor `list_format` to `view` and use new consistent mappings - add `citation_style` in `params.toml` - re-order Accomplishments widget in Demo - make params/comments more consistent in all widget front matter - Author page: don't show username if profile exists as that will already show the user's display name - Publication card: move author and publication name to metadata bar to be consistent with other listings - Remove portrait.jpg from static as it was duplicated for Demo author BREAKING CHANGES: See issue below. See #909
28 lines
640 B
HTML
28 lines
640 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 "post_li_list" . }}
|
|
{{ else if eq $.Params.view 3 }}
|
|
{{ partial "post_li_card" . }}
|
|
{{ else }}
|
|
{{ partial "post_li_compact" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ partial "pagination" . }}
|
|
|
|
</div>
|
|
{{ partial "footer_container.html" . }}
|
|
{{ partial "footer.html" . }}
|