fix template for layoutReverse

This commit is contained in:
Ricardo Tun 2018-05-29 13:04:54 -05:00
parent 486a427257
commit c8da3663bd
2 changed files with 4 additions and 3 deletions

View file

@ -19,7 +19,8 @@ theme = "hyde-hyde"
highlightjs = true
# highlightjsstyle = "github"
# please choose either GraphComment or Disqus
# GraphCommentId = "your-graph-comment-id"
# GraphCommentId = "your-graph-comment-id"
# layoutReverse = true
## Social Accounts
[params.social]

View file

@ -3,7 +3,7 @@
<head>
{{ block "header" . -}}{{- end }}
</head>
<body {{- if .Site.Params.themeColor }} class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}" {{ end }}>
<body class="{{- if .Site.Params.themeColor }}{{ .Site.Params.themeColor }}{{ end }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
{{ partial "sidebar.html" . }}
<div class="content container">
{{ block "content" . }}{{ end }}
@ -14,6 +14,6 @@
<!-- Google Analytics -->
{{ if .Site.GoogleAnalytics -}}
{{ template "_internal/google_analytics_async.html" . }}
{{- end }}
{{- end }}
</body>
</html>