Files
hugo-coder-timeline/layouts/partials/list.html
Robert 87f9e89048 Prefix term with taxonomy title (#369)
* Prefix term with taxonomy title

Fix list layout to properly prefix a term with the taxonomy title.

* Replace taxonomy with term kind in title

* Set minimal version for updated taxonomy kinds

* Set minimal version for updated taxonomy kinds

* Update CONTRIBUTORS.md
2020-07-26 20:33:41 -03:00

21 lines
545 B
HTML

<section class="container list">
<h1 class="title">
{{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}}
{{- print ": " -}}
{{- end -}}
{{- .Title -}}
</h1>
{{ .Content }}
<ul>
{{ range .Paginator.Pages }}
<li>
<span class="date">{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}</span>
<a class="title" href="{{ .Params.ExternalLink | default .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ partial "pagination.html" . }}
</section>