about summary refs log tree commit diff stats
path: root/layouts/_default
diff options
context:
space:
mode:
authordigitalcraftsman2015-07-15 12:08:39 +0200
committerdigitalcraftsman2015-07-15 12:08:39 +0200
commitcd672f87b773e7d7f0bd278fe2faa68a1e2ffc1f (patch)
tree0375b3354248b1d123c957cc2e43a5599c2d209c /layouts/_default
parent75ea79ab8b68986ca164380a5f65ca6e2f35f9b3 (diff)
parent6f6a0a7febd6a85309c1473d6e10b9e48ad1d9ea (diff)
downloadhyde-cd672f87b773e7d7f0bd278fe2faa68a1e2ffc1f.tar.lz
hyde-cd672f87b773e7d7f0bd278fe2faa68a1e2ffc1f.tar.zst
hyde-cd672f87b773e7d7f0bd278fe2faa68a1e2ffc1f.zip
Merge pull request #15 from digitalcraftsman/change-theme-in-configs-globally
Added an option change the theme globally in the configs
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f19a26f..23d4afc 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
 {{ partial "head.html" . }}
-<body>
+<body class="{{ .Site.Params.themeColor }}">
 
 {{ partial "sidebar.html" . }}
 
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 61d009d..9f4f603 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,5 @@
 {{ partial "head.html" . }}
-<body>
+<body class="{{ .Site.Params.themeColor }}">
 
 {{ partial "sidebar.html" . }}