From 4698a97974ae82e7bd8592828c58294b222a58ff Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Thu, 30 May 2024 13:54:29 +0200
Subject: feat: enable sub-resource integrity for assets
---
frontend/templates/blocks/search.gotmpl | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'frontend/templates/blocks/search.gotmpl')
diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl
index 1be001a..9320376 100644
--- a/frontend/templates/blocks/search.gotmpl
+++ b/frontend/templates/blocks/search.gotmpl
@@ -22,5 +22,11 @@
{{- end }}
{{- define "head" }}
-
+ {{- with (index .Assets.Scripts "static/search.js") }}
+
+ {{- end }}
{{- end }}
--
cgit 1.4.1