fixes layoutReverse #33

This commit is contained in:
Huy Tran 2018-09-08 21:17:27 +07:00
parent c7c90c7b87
commit ee52bb339c

View file

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}"> <html lang="{{ .Site.LanguageCode }}">
{{ block "header" . }}{{ end }} {{ block "header" . }}{{ end }}
<body {{ if .Site.Params.themeColor }}class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{ end }}"{{end}}> <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">
{{ block "content" . }}{{ end }} {{ block "content" . }}{{ end }}
</div> </div>