diff --git a/i18n/en.yaml b/i18n/en.yaml index bd906bf..dec9be6 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -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!" diff --git a/i18n/es.yaml b/i18n/es.yaml index 027014f..54f507b 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -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!" diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index cfe2f34..05c21f7 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -1,8 +1,16 @@ {{ define "main" }}

- {{ 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" }} {{ with .OutputFormats.Get "rss" }}