Add layout-reverse body class code to single and list templates.
This commit is contained in:
parent
61243733ec
commit
dbf82dbcff
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body class="{{ .Site.Params.themeColor }}">
|
<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
|
||||||
|
|
||||||
{{ partial "sidebar.html" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
<body class="{{ .Site.Params.themeColor }}">
|
<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
|
||||||
{{ partial "sidebar.html" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
|
|
||||||
<div class="content container">
|
<div class="content container">
|
||||||
|
|
Loading…
Reference in a new issue