mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 14:14:04 +00:00
- make taxonomy URLs singular, consistent with other Academic pages (workaround Hugo attempting to publish taxonomy URLs with plural names). This requires the breaking change below. - Fix extra space/lines appearing in the author cards underneath page content as reported at https://spectrum.chat/academic/help/publication-widget-adds-additional-lines-at-bottom-of-the-page~315f77d8-7cc8-44a9-a431-5b64b7556c53 BREAKING CHANGE: Rename `name` to `title` in author profiles within `author/` folder.
24 lines
457 B
HTML
24 lines
457 B
HTML
{{- define "main" -}}
|
|
|
|
{{/* List of all authors. */}}
|
|
|
|
{{ partial "page_header.html" . }}
|
|
|
|
<div class="universal-wrapper">
|
|
{{ with .Content }}
|
|
<div class="article-style">{{ . }}</div>
|
|
{{ end }}
|
|
|
|
<ul>
|
|
{{ $paginator := .Paginate .Data.Pages }}
|
|
{{ range $k, $v := $paginator.Pages }}
|
|
{{ $name := $v.Title }}
|
|
<li><a href="{{$v.Permalink}}">{{$name}}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
|
|
{{ partial "pagination" . }}
|
|
</div>
|
|
|
|
{{- end -}}
|