Rework taxonomy page title

Fixes #24
This commit is contained in:
2021-11-09 17:27:36 -06:00
parent 21ecc630df
commit e5e3d62fc4
3 changed files with 10 additions and 8 deletions

View File

@ -1,8 +1,16 @@
{{ define "main" }}
<h1>
{{ partial "icon.html" "filter" }}
{{ i18n "filtering_for" .Title }}
{{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }}
{{ else if eq .Data.Singular "author" }}
{{ partial "icon.html" "user-circle" }}
{{ else }}
{{ partial "icon.html" "filter" }}
{{ end }}
{{ .Title }}
{{ if eq .Kind "term" }}
<span class="rss-link">
{{ with .OutputFormats.Get "rss" }}