about summary refs log tree commit diff stats
path: root/internal/server/server.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-10 12:10:34 +0200
committerAlan Pearce2024-05-10 12:10:34 +0200
commit42dd2f64f288a7474f356a8ae90e7409b7e38fb6 (patch)
tree095398adc08e33d7cc8cab6bd694f3259e8a561d /internal/server/server.go
parent034f08217f76818a475e19f3822b10167c74274a (diff)
downloadsearchix-42dd2f64f288a7474f356a8ae90e7409b7e38fb6.tar.lz
searchix-42dd2f64f288a7474f356a8ae90e7409b7e38fb6.tar.zst
searchix-42dd2f64f288a7474f356a8ae90e7409b7e38fb6.zip
fix: missing menu on search page
Diffstat (limited to 'internal/server/server.go')
-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 f050e29..a9df405 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -147,6 +147,7 @@ func New(runtimeConfig *Config) (*Server, error) {
 
 		err = templates["search"].Execute(w, TemplateData{
 			LiveReload:   jsSnippet,
+			Sources:      config.Sources,
 			Source:       *source,
 			SourceResult: sourceResult,
 		})