about summary refs log tree commit diff stats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorJason Yee2016-04-22 20:01:32 -0700
committerdigitalcraftsman2016-08-19 19:20:33 +0200
commitdbf82dbcff55348edc6825216208d1ed0d78dcc7 (patch)
treeea180c8bd84aa0226e64239595d175ed4a1cf18b /layouts/_default/single.html
parent61243733ec7ce5f2f8fe938f6e6518f05f2e5dfa (diff)
downloadhyde-dbf82dbcff55348edc6825216208d1ed0d78dcc7.tar.lz
hyde-dbf82dbcff55348edc6825216208d1ed0d78dcc7.tar.zst
hyde-dbf82dbcff55348edc6825216208d1ed0d78dcc7.zip
Add layout-reverse body class code to single and list templates.
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6bd2524..96c9f94 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,5 @@
 	{{ partial "head.html" . }}
-	<body class="{{ .Site.Params.themeColor }}">
+	<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
 		{{ partial "sidebar.html" . }}
 
 		<div class="content container">