about summary refs log tree commit diff
path: root/themes/researcher/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/researcher/layouts/partials/head.html')
-rw-r--r--themes/researcher/layouts/partials/head.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/researcher/layouts/partials/head.html b/themes/researcher/layouts/partials/head.html
index df307bb..5f792a8 100644
--- a/themes/researcher/layouts/partials/head.html
+++ b/themes/researcher/layouts/partials/head.html
@@ -12,6 +12,8 @@
 
     {{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }}
     <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+    {{ $darkstyle := resources.Get "css/dark.css" | minify }}
+    <link disabled id="dark-mode-theme" rel="stylesheet" href="{{ $darkstyle.RelPermalink }}">
 
     {{ with .Site.Params.favicon }}
         <link rel="icon" type="image/ico" href="{{ . | absURL }}">
@@ -24,4 +26,5 @@
     {{ if not .Site.IsServer }}
         {{ template "_internal/google_analytics.html" . }}
     {{ end }}
+
 </head>