diff options
| author | eltrac <hi@eltr.ac> | 2026-02-10 15:39:50 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-02-10 15:39:50 +0800 |
| commit | 52758459a220fde27f1519d3fd3e99f3f2a52f80 (patch) | |
| tree | 6e26cf4a5a1769996c307f3975421f3b02daa235 /layouts/_partials/head/scripts.html | |
| parent | 313bd9b9d426080a2c5784026d42a188c43282c0 (diff) | |
feat: add theme switch
Diffstat (limited to 'layouts/_partials/head/scripts.html')
| -rw-r--r-- | layouts/_partials/head/scripts.html | 4 |
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 }} + |
