]> njoseph.me Git - hyde.git/blobdiff - layouts/_default/list.html
Added an option change the theme globally in the configs
[hyde.git] / layouts / _default / list.html
index 017c932a8efb49f18e5b08131a882c3f18513236..23d4afcddc4d34d937feb19df1693ead50539dd1 100644 (file)
@@ -1,15 +1,16 @@
-{{ template "theme/chrome/head.html" . }}
-<body>
+{{ partial "head.html" . }}
+<body class="{{ .Site.Params.themeColor }}">
 
-{{ template "theme/chrome/sidebar.html" . }}
+{{ partial "sidebar.html" . }}
 
-    <div class="content container">
-  <ul class="posts">
-      {{ range .Data.Pages }}
-      <li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li>
-      {{ end }}
-  </ul>
-    </div>
-
-  </body>
+  <div class="content container">
+    <ul class="posts">
+        {{ range .Data.Pages }}
+        <li>
+          <span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
+        </li>
+        {{ end }}
+    </ul>
+  </div>
+</body>
 </html>