From 3632f71bfbfd93fb20c9b795e2b97872a3e19e7e Mon Sep 17 00:00:00 2001 From: Derek Severin Date: Mon, 25 Mar 2019 18:31:13 +0700 Subject: No tags+catagories for taxonomies & 'back' link --- layouts/partials/pages/sidebar.html | 60 +++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/layouts/partials/pages/sidebar.html b/layouts/partials/pages/sidebar.html index f5a71e2..503f9ca 100644 --- a/layouts/partials/pages/sidebar.html +++ b/layouts/partials/pages/sidebar.html @@ -21,15 +21,23 @@ {{ "" | safeHTML }} -
- {{ "" | safeHTML }} -
-
CATEGORIES
-
- {{/* List categories without duplicates */}} - {{ partial "utils/list-keywords.html" (dict "type" "categories" "context" . "scratch" .Scratch "removeDuplicates" true) }} + {{ if .Parent }} +
+ {{ "" | safeHTML }} +
+
CATEGORIES
+
+ {{/* List categories without duplicates */}} + {{ partial "utils/list-keywords.html" (dict "type" "categories" "context" . "scratch" .Scratch "removeDuplicates" true) }} +
-
-
- {{ "" | safeHTML }} -
-
TAGS
-
- {{/* List tags without duplicates */}} - {{ partial "utils/list-keywords.html" (dict "type" "tags" "context" . "scratch" .Scratch "removeDuplicates" true) }} +
+ {{ "" | safeHTML }} +
+
TAGS
+
+ {{/* List tags without duplicates */}} + {{ partial "utils/list-keywords.html" (dict "type" "tags" "context" . "scratch" .Scratch "removeDuplicates" true) }} +
-
+ {{ end }}
-- cgit v1.2.3