Add layout-reverse body class code to single and list templates.

This commit is contained in:
Jason Yee 2016-04-22 20:01:32 -07:00 committed by digitalcraftsman
parent 61243733ec
commit dbf82dbcff
2 changed files with 2 additions and 2 deletions

View file

@ -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" . }}

View file

@ -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">