aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/list.html')
-rw-r--r--layouts/partials/list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/list.html b/layouts/partials/list.html
new file mode 100644
index 0000000..f62516b
--- /dev/null
+++ b/layouts/partials/list.html
@@ -0,0 +1,11 @@
+<section class="container list">
+ <h1 class="title">{{ .Title }}</h1>
+ <ul>
+ {{ range .Paginator.Pages }}
+ <li>
+ <span>{{ .Date.Format "January 2, 2006" }}</span><a href="{{ .URL }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+ {{ partial "pagination.html" . }}
+</section>