fix tag page checkpoints

This commit is contained in:
perennial
2024-12-04 20:38:04 +11:00
parent 29c5d778e2
commit 0b6d489ce0
+5 -5
View File
@@ -126,21 +126,21 @@
{{- end }}
<!-- Categories -->
<div class="col-12 mt-5">
<div id="checkpoint" class="col-12 mt-5">
<div class="d-flex flex-column flex-md-row align-items-center justify-content-center justify-content-md-between mx-auto">
<div class="mb-3 mb-md-0">
{{- _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 + "#") }}
</div>
{{- _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 + "#") }}
</div>
</div>