From 771ef706d7c70f583dad956077eaf79fc4fdc093 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 7 May 2024 18:54:45 +0200 Subject: style: split homepage and search page --- frontend/templates/blocks/search.gotmpl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frontend/templates/blocks/search.gotmpl (limited to 'frontend/templates/blocks/search.gotmpl') diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl new file mode 100644 index 0000000..5482e6b --- /dev/null +++ b/frontend/templates/blocks/search.gotmpl @@ -0,0 +1,17 @@ +{{- template "main" . }} +{{- template "js" . }} + +{{- define "main" }} + + + {{- with .Results }} + {{ block "results" . }}{{ end }} + {{- end }} +{{- end }} + +{{- define "js" }} + +{{- end }} -- cgit 1.4.1