summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Brine/layouts/_default/list.html')
-rw-r--r--themes/Brine/layouts/_default/list.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html
index e69de29..6fc5811 100644
--- a/themes/Brine/layouts/_default/list.html
+++ b/themes/Brine/layouts/_default/list.html
@@ -0,0 +1,6 @@
+{{ define "main" }}<article>
+ <h1 class="page-heading">{{ .Title }}</h1>
+ <ul class="post-list">
+ {{ range $index, $element := .Paginator.Pages }} <li><h3><a class="post-link" href="{{ .Permalink }}">{{ .Title }}</a></h3><span class="post-meta">{{ .PublishDate.Format "Jan 2, 2006" }}, {{ .ReadingTime }} min read</span></li>
+ {{ end }}</ul>{{ partial "pagination.html" $ }}
+ </article>{{ end }}