Rework taxonomy page title

Fixes #24
This commit is contained in:
BBaoVanC 2021-11-09 17:27:36 -06:00
parent 21ecc630df
commit e5e3d62fc4
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 10 additions and 8 deletions

View File

@ -20,9 +20,6 @@ browser_no_video_support:
other: "Your browser does not support video."
filtering_for:
other: "Filtering for \"{{ . }}\""
no_posts:
other: "No posts here!"

View File

@ -20,9 +20,6 @@ browser_no_video_support:
other: "Tu navegador de internet no admite video."
filtering_for:
other: "Filtrando por \"{{ . }}\""
no_posts:
other: "¡No hay contenido para mostrar!"

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" }}