diff --git a/assets/views/tag.jet.html b/assets/views/tag.jet.html index d0b6140..4adeef5 100644 --- a/assets/views/tag.jet.html +++ b/assets/views/tag.jet.html @@ -126,21 +126,21 @@ {{- end }} -
+
{{- _Category:= isset(.Queries.category) ? .Queries.category : "artworks" }} {{- URL := unfinishedQuery(.QueriesC, "category") }} - {{- path := slice("artworks", "illustrations", "manga") }} + {{- path := slice("artworks" + "#", "illustrations" + "#", "manga" + "#") }} {{- name := slice("Top", "Illustrations", "Manga") }} - {{- yield UnderlineNav(baseURL=URL, paths=path, names=name, activeState=.ActiveCategory) }} + {{- yield UnderlineNav(baseURL=URL, paths=path, names=name, activeState=.ActiveCategory + "#") }}
{{- _Mode := isset(.Queries.mode) ? .Queries.mode : "safe" }} {{- URL := unfinishedQuery(.QueriesC, "mode") }} - {{- path := slice("all", "safe", "r18") }} + {{- path := slice("all" + "#", "safe" + "#", "r18" + "#") }} {{- name := slice("All", "Safe", "R-18") }} - {{- yield UnderlineNav(baseURL=URL, paths=path, names=name, activeState=.ActiveMode) }} + {{- yield UnderlineNav(baseURL=URL, paths=path, names=name, activeState=.ActiveMode + "#") }}