Skip to content

Commit

Permalink
Add layout-reverse body class code to single and list templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyee authored and digitalcraftsman committed Aug 19, 2016
1 parent 6124373 commit dbf82db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -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" . }}

Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -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">
Expand Down

0 comments on commit dbf82db

Please sign in to comment.