From c4aef2c8fe7bbd14f18ea84f3f016a01025eb724 Mon Sep 17 00:00:00 2001 From: perennial Date: Wed, 2 Oct 2024 18:58:35 +1000 Subject: [PATCH] user page: implement checkpoint --- assets/views/user.jet.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/views/user.jet.html b/assets/views/user.jet.html index 57fe3f8..ec9e179 100644 --- a/assets/views/user.jet.html +++ b/assets/views/user.jet.html @@ -51,13 +51,13 @@ -
+

Category

{{- baseURL := "/users/" + .User.ID + "/" }} - {{- paths := slice("", "illustrations", "manga", "novels", "bookmarks") }} + {{- paths := slice("" + "#checkpoint", "illustrations" + "#checkpoint", "manga" + "#checkpoint", "novels" + "#checkpoint", "bookmarks" + "#checkpoint") }} {{- names := slice("All", "Illustrations", "Mangas", "Novels", "Bookmarks") }} - {{- yield Switcher(baseURL=baseURL, paths=paths, names=names, activeState=.Category) }} + {{- yield Switcher(baseURL=baseURL, paths=paths, names=names, activeState=.Category + "#checkpoint") }}