mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
19 lines
711 B
HTML
19 lines
711 B
HTML
{{- define "title" -}}
|
|
{{- .Params.Title | default (T .Data.Plural) | default .Data.Plural | dict "Some" | T "allSome" -}}
|
|
{{- if .Site.Params.withSiteTitle }} {{ .Site.Params.titleDelimiter }} {{ .Site.Title }}{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "content" -}}
|
|
{{- $taxonomies := .Data.Plural -}}
|
|
|
|
<div class="page archive">
|
|
{{- /* Title */ -}}
|
|
<h2 class="single-title animate__animated animate__pulse animate__faster">
|
|
{{- .Params.Title | default (T $taxonomies) | default $taxonomies | dict "Some" | T "allSome" }}
|
|
<sup>{{- len .Data.Terms.ByCount -}}</sup>
|
|
</h2>
|
|
{{- /* Render miscellaneous terms */ -}}
|
|
{{- .Render (add "terms/" $taxonomies) -}}
|
|
</div>
|
|
{{- end -}}
|