about summary refs log tree commit diff stats
path: root/internal/components/page.templ
diff options
context:
space:
mode:
Diffstat (limited to 'internal/components/page.templ')
-rw-r--r--internal/components/page.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/components/page.templ b/internal/components/page.templ
index edab0f4..28bda38 100644
--- a/internal/components/page.templ
+++ b/internal/components/page.templ
@@ -46,7 +46,7 @@ templ Page(tdata TemplateData) {
 					<h1><a href="/">Searchix</a></h1>
 					<a
 						if tdata.Source == nil {
-							if tdata.SourceResult != nil || tdata.Query != "" {
+							if tdata.Query != "" {
 								class="current"
 							}
 							href="/"