From fc5fd2edd9b8282497e33a18300eab694d8a89c6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 21 Jun 2024 13:02:08 +0200 Subject: refactor: switch to templ for HTML templates --- frontend/templates/blocks/results.gotmpl | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 frontend/templates/blocks/results.gotmpl (limited to 'frontend/templates/blocks/results.gotmpl') diff --git a/frontend/templates/blocks/results.gotmpl b/frontend/templates/blocks/results.gotmpl deleted file mode 100644 index ef6e1f1..0000000 --- a/frontend/templates/blocks/results.gotmpl +++ /dev/null @@ -1,21 +0,0 @@ -{{- define "results" }} - {{- with .Results }} - {{- if gt .Total 0 }} - {{ block "hits" .Hits }} - {{ end }} - - {{- else }} - Nothing found - {{- end }} - {{- end }} -{{- end }} -- cgit 1.4.1