This repository has been archived on 2024-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
hugo-theme-nocolor/layouts/_default/terms.html

17 lines
449 B
HTML

{{- define "main" }}
<section aria-labelledby="nocolor_terms">
<h1 id="nocolor_terms">{{ .Title }}:</h1>
<ul>
{{- range .Data.Terms.ByCount }}
{{ $count := .Count }}
{{- with $.GetPage (lower .Name) }}
<li>
<a href="{{ .RelPermalink }}"{{ if ne .Title .Name }} title="{{ .Title }}"{{ end }}>{{ .Name }}</a>
<span>&#40;{{ $count }}&#41;</span>
</li>
{{- end }}
{{- end }}
</ul>
</section>
{{- end }}