diff options
author | Jason Yee | 2016-04-22 20:01:32 -0700 |
---|---|---|
committer | digitalcraftsman | 2016-08-19 19:20:33 +0200 |
commit | dbf82dbcff55348edc6825216208d1ed0d78dcc7 (patch) | |
tree | ea180c8bd84aa0226e64239595d175ed4a1cf18b /layouts | |
parent | 61243733ec7ce5f2f8fe938f6e6518f05f2e5dfa (diff) | |
download | hyde-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')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 23d4afc..7659d47 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.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" . }} 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"> |