From 830e14f372fcff094448ac8528386ab381f6f35c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 9 May 2024 19:27:15 +0200 Subject: refactor: pass Source object to templates --- frontend/templates/blocks/search.gotmpl | 2 +- internal/config/config.go | 6 +++--- internal/server/server.go | 34 +++++++++++++++++++-------------- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl index 0be63c1..e9d69b6 100644 --- a/frontend/templates/blocks/search.gotmpl +++ b/frontend/templates/blocks/search.gotmpl @@ -3,7 +3,7 @@ {{- define "main" }}