summaryrefslogtreecommitdiff
path: root/layouts/_partials/head/scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/head/scripts.html')
-rw-r--r--layouts/_partials/head/scripts.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_partials/head/scripts.html b/layouts/_partials/head/scripts.html
new file mode 100644
index 00000000..f067944c
--- /dev/null
+++ b/layouts/_partials/head/scripts.html
@@ -0,0 +1,4 @@
+{{ with resources.Get "js/darkmode.js" }}
+<script>{{ .Content | safeJS }}</script>
+{{ end }}
+