summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html25
1 files changed, 9 insertions, 16 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c362b25..c6d3b69 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,16 +1,9 @@
-{{ partial "head.html" . }}
-<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
-
- {{ 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" }}</time></span>
- </li>
- {{ end }}
- </ul>
- </div>
-</body>
-</html>
+{{ define "main" -}}
+<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>
+{{- end }} \ No newline at end of file