aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/list.html
diff options
context:
space:
mode:
authorLuiz F. A. de Prá <rawarkanis@gmail.com>2018-02-28 22:38:59 -0300
committerLuiz F. A. de Prá <rawarkanis@gmail.com>2018-02-28 22:38:59 -0300
commit4db982bb015eddb624e4c7f5776596b166dbaae5 (patch)
tree7c54044af415f43f3f2ecb2dc44ec01628e31893 /layouts/partials/list.html
downloadhugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.gz
hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.tar.bz2
hugo-coder-4db982bb015eddb624e4c7f5776596b166dbaae5.zip
Initial files
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>