Merge pull request #21 from octarect/fix-theme-color

Fix problem of themeColor configuration
This commit is contained in:
Huy Tran 2018-07-30 06:27:55 +10:00 committed by GitHub
commit baac6b57d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ block "header" . -}}{{- end }}
<body {{- if .Site.Params.themeColor }}class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{ end }}"{{end}}>
<body {{ if .Site.Params.themeColor }}class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{ end }}"{{end}}>
{{ partial "sidebar.html" . -}}
<div class="content container">
{{ block "content" . -}}{{- end }}