about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 12:57:07 +0200
committerAlan Pearce2024-05-11 15:19:52 +0200
commit793c89a87cb58f09678bdf150694a369c088d914 (patch)
tree711e46db272bb77a8fde0c34629114b5213b8859 /internal/server
parent7f3791baa454fcaf99525434413fc703a65adf2f (diff)
downloadsearchix-793c89a87cb58f09678bdf150694a369c088d914.tar.lz
searchix-793c89a87cb58f09678bdf150694a369c088d914.tar.zst
searchix-793c89a87cb58f09678bdf150694a369c088d914.zip
fix: missing menu on search pages
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/server.go b/internal/server/server.go
index 28b74b2..a006a2f 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -194,6 +194,7 @@ func New(runtimeConfig *Config) (*Server, error) {
 			TemplateData: TemplateData{
 				LiveReload: jsSnippet,
 				Source:     *source,
+				Sources:    config.Sources,
 			},
 			ResultsPerPage: search.ResultsPerPage,
 			Query:          qs,