Execute darkmode script before first render

This commit is contained in:
Brecht Savelkoul committed 2021-08-13 22:50:02 +02:00
1 parent 8850976d8d
commit f9920f6d73
5 files changed
+21 -31

No files matched your search

+1 -7
View File
@@ -11,12 +11,6 @@
<a href="/">↳ Let's get you home.</a>
</div>
</div>
{{- with resources.Get "darkmode.js" | minify -}}
<script>
{{.Content | safeJS }}
</script>
{{- end -}}
</body>
</html>
</html>