From 1e5b70b460b80f9af1a4127bed1632076de8c6c2 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 6 Oct 2021 17:09:38 -0500 Subject: [PATCH] Add a filter icon to taxonomy pages --- assets/css/bobastyle.css | 2 +- layouts/_default/list.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 8fc996c..21745d8 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -32,7 +32,7 @@ padding-left: 5px; } -.rss-link a svg { +h1 svg.icon { width: 30px; height: 30px; } diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a28c599..ca45c4c 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,7 @@ {{ define "main" }} {{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}

+ {{ partial "icon.html" "filter" }} Filtering for "{{ .Title }}" {{ if eq .Kind "term" }}