www/layouts/_default/terms.html
2021-03-11 19:47:15 +01:00

15 lines
274 B
HTML

{{ define "main" }}
{{ with .Content }}
{{ . }}
{{ end }}
<h1>{{ .Title }}</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> - {{ .Count }} article{{ if (gt .Count 1 ) }}s{{ end }}</li>
{{ end }}
</ul>
{{ end }}