]> njoseph.me Git - hyde.git/blobdiff - layouts/index.html
Add configuration to Reverse layout
[hyde.git] / layouts / index.html
index cb75c3b4dcc948aca35ea23183af2dd45dab8573..36f3ac2760fc160cd46a69b1138922a12003257c 100644 (file)
@@ -1,7 +1,7 @@
-{{ template "theme/chrome/head.html" . }}
-<body>
+{{ partial "head.html" . }}
+<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
 
-{{ template "theme/chrome/sidebar.html" . }}
+{{ partial "sidebar.html" . }}
 
     <div class="content container">
 <div class="posts">
@@ -20,7 +20,7 @@
   </div>
   {{ end }}
 </div>
-
+</div>
 
   </body>
 </html>