fix template for layoutReverse
This commit is contained in:
parent
486a427257
commit
c8da3663bd
2 changed files with 4 additions and 3 deletions
|
@ -19,7 +19,8 @@ theme = "hyde-hyde"
|
||||||
highlightjs = true
|
highlightjs = true
|
||||||
# highlightjsstyle = "github"
|
# highlightjsstyle = "github"
|
||||||
# please choose either GraphComment or Disqus
|
# please choose either GraphComment or Disqus
|
||||||
# GraphCommentId = "your-graph-comment-id"
|
# GraphCommentId = "your-graph-comment-id"
|
||||||
|
# layoutReverse = true
|
||||||
|
|
||||||
## Social Accounts
|
## Social Accounts
|
||||||
[params.social]
|
[params.social]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
{{ block "header" . -}}{{- end }}
|
{{ block "header" . -}}{{- end }}
|
||||||
</head>
|
</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" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
<div class="content container">
|
<div class="content container">
|
||||||
{{ block "content" . }}{{ end }}
|
{{ block "content" . }}{{ end }}
|
||||||
|
@ -14,6 +14,6 @@
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
{{ if .Site.GoogleAnalytics -}}
|
{{ if .Site.GoogleAnalytics -}}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue