about summary refs log tree commit diff stats
path: root/frontend/templates/index.gotmpl
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/templates/index.gotmpl')
-rw-r--r--frontend/templates/index.gotmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/frontend/templates/index.gotmpl b/frontend/templates/index.gotmpl
index ee37c0f..7732dc8 100644
--- a/frontend/templates/index.gotmpl
+++ b/frontend/templates/index.gotmpl
@@ -4,8 +4,13 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <title>Searchix</title>
-    <link href="/static/base.css" rel="stylesheet" />
-    <link href="/static/style.css" rel="stylesheet" />
+    {{- range .Assets.Stylesheets }}
+      <link
+        href="{{ .URL }}"
+        rel="stylesheet"
+        integrity="sha256-{{ .Base64SHA256 }}"
+      />
+    {{- end }}
     {{ block "head" . }}
     {{ end }}
     {{ .ExtraHeadHTML }}