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