Don't check for "tag" in generic taxonomy list

This commit is contained in:
BBaoVanC 2022-05-06 15:06:36 -05:00
parent 034ef462a2
commit bcf0b68df9
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 2 additions and 12 deletions

View File

@ -1,11 +1,6 @@
{{ define "main" }}
<h1>
{{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }}
{{ else }}
{{ partial "icon.html" "filter" }}
{{ end }}
{{ partial "icon.html" "filter" }}
{{ .Title | markdownify }}
</h1>

View File

@ -1,11 +1,6 @@
{{ define "main" }}
<h1>
{{ if eq .Data.Singular "tag" }}
{{ partial "icon.html" "tag" }}
{{ else }}
{{ partial "icon.html" "filter" }}
{{ end }}
{{ partial "icon.html" "filter" }}
{{ .Title | markdownify }}
{{ partial "rss-link.html" . }}
</h1>