From 0238423f1e4f26e037706d2e8e9f235dca899451 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 6 Oct 2021 09:36:04 -0500 Subject: [PATCH] Fix #16 --- layouts/_default/list.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f796a1a..f4ae9de 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,13 +1,20 @@ {{ define "main" }} -{{ if .Data.Singular }} -

Filtering for "{{ .Title }}"

- - Remove filter - +{{ if or (eq .Kind "term") (eq .Kind "taxonomy") }} +

Filtering for "{{ .Title }}"

{{ else }}

{{ .Title | markdownify }}

{{ end }} +{{ if eq .Kind "taxonomy" }} + + +{{ else }} {{ range .Paginator.Pages }}

@@ -65,3 +72,5 @@

{{ end }} + +{{ end }}