mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
fix tag page checkpoints
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user