remove hyphen to enable setting of themeColor

This commit is contained in:
octarect 2018-07-30 00:32:40 +09:00
parent d59d1dfadd
commit f736531c00

View file

@ -1,7 +1,7 @@
<!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 {{ if .Site.Params.themeColor }}class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{ end }}"{{end}}>
{{ partial "sidebar.html" . -}} {{ partial "sidebar.html" . -}}
<div class="content container"> <div class="content container">
{{ block "content" . -}}{{- end }} {{ block "content" . -}}{{- end }}