Add a filter icon to taxonomy pages

This commit is contained in:
BBaoVanC 2021-10-06 17:09:38 -05:00
parent 19f0eb8357
commit 1e5b70b460
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@
padding-left: 5px;
}
.rss-link a svg {
h1 svg.icon {
width: 30px;
height: 30px;
}

View File

@ -1,6 +1,7 @@
{{ define "main" }}
{{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}
<h1>
{{ partial "icon.html" "filter" }}
Filtering for "{{ .Title }}"
{{ if eq .Kind "term" }}
<span class="rss-link">