about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authordigitalcraftsman2015-06-02 19:14:54 +0200
committerdigitalcraftsman2015-06-02 19:14:54 +0200
commit00eb7169f6062b041e4aa8402b96fce39ce0aa16 (patch)
tree795857a93985dae64909e7a087863fb80e966a58 /layouts
parent1a7140a4d7fd4b5834178c721fdb636e96db2dd6 (diff)
downloadhyde-00eb7169f6062b041e4aa8402b96fce39ce0aa16.tar.lz
hyde-00eb7169f6062b041e4aa8402b96fce39ce0aa16.tar.zst
hyde-00eb7169f6062b041e4aa8402b96fce39ce0aa16.zip
Added an option change the theme globally in the configs
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/index.html1
3 files changed, 2 insertions, 3 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" . }}
 
diff --git a/layouts/index.html b/layouts/index.html
index b26cdf5..468244b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,4 @@
 {{ partial "head.html" . }}
-<body>
 
 {{ partial "sidebar.html" . }}