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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-11-18 19:08:23 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-11-18 19:08:23 +0300
commit1fc544b7cd8c578f4fc9daf810e42761b7a1e8c5 (patch)
tree26e2ea5b99d7f31ea62955a6e55e9dc1f59a9700 /layouts/_default/baseof.html
parent96741f4b4da8079b96e9c7d342b0b03235f4654b (diff)
feat: customize default color scheme
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b9b31f9..003c52f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang='{{ .Site.LanguageCode }}'>
+<html lang='{{ .Site.LanguageCode }}' {{ if eq .Site.Params.colorScheme "dark" }}class="dark"{{ end }}>
{{- partial "head.html" . -}}
<body class="flex flex-col min-h-screen">