1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-26 00:01:22 +00:00

Execute darkmode script before first render

This commit is contained in:
Brecht Savelkoul
2021-08-13 22:46:00 +02:00
parent 8850976d8d
commit f9920f6d73
5 changed files with 21 additions and 31 deletions

View File

@@ -18,13 +18,6 @@
</article>
{{partial "footer.html" .}}
</div>
{{- with resources.Get "darkmode.js" | minify -}}
<script>
{{.Content | safeJS }}
</script>
{{- end -}}
</body>
</html>
</html>