fix: js error due to missing class on nav menu item
Alan Pearce alan@alanpearce.eu
Wed, 12 Mar 2025 15:27:04 +0100
1 files changed, 1 insertions(+), 3 deletions(-)
M internal/components/page.templ → internal/components/page.templ
@@ -46,9 +46,7 @@ <nav> <h1><a href="/">Searchix</a></h1> <a if tdata.Source == nil { - if tdata.Query != "" { - class="current" - } + class="current" href="/" } else { href={ joinPathQuery("/", tdata.Query) }