aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-05-13 16:40:30 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-05-13 16:40:30 +0300
commit91e83885c0730c0fd5370506c591d96cad5cf3e9 (patch)
treea3c23ef034cf75921071730cc366fdd0a41c5221 /pkg/app/handler/about/help.templ
parentadd eapi 6 overview page under "/packages/eapi6" (diff)
downloadsoko-91e83885c0730c0fd5370506c591d96cad5cf3e9.tar.gz
soko-91e83885c0730c0fd5370506c591d96cad5cf3e9.tar.bz2
soko-91e83885c0730c0fd5370506c591d96cad5cf3e9.zip
use enum for page for navigation bar
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'pkg/app/handler/about/help.templ')
-rw-r--r--pkg/app/handler/about/help.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/app/handler/about/help.templ b/pkg/app/handler/about/help.templ
index 4487600..5ef1209 100644
--- a/pkg/app/handler/about/help.templ
+++ b/pkg/app/handler/about/help.templ
@@ -38,5 +38,5 @@ templ help() {
// Help shows the help about page
func Help(w http.ResponseWriter, r *http.Request) {
- layout.Layout("About", "about", help()).Render(r.Context(), w)
+ layout.Layout("About", layout.About, help()).Render(r.Context(), w)
}