Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/7ma7X/HugoTeX.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexYzhov <AlexYzhov@163.com>2021-08-19 20:52:16 +0300
committerAlexYzhov <AlexYzhov@163.com>2021-08-19 21:03:21 +0300
commit60d50a90f2e4d1d3f909808dd32cc5b5541a4ef4 (patch)
treefc650e0dd5d364214a18f3e9c130a7dea6f2d301 /layouts
parent44e9ea17c3c4ca60f847b3e99a0f916eff5dcadf (diff)
add darkmode support
css theme will now change at OS level automatically
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d562495..166571a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,5 +14,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/latex.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
+<link rel="stylesheet" href="{{ .Site.BaseURL }}css/darkmode.css" />
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
-{{ hugo.Generator -}} \ No newline at end of file
+{{ hugo.Generator -}}