diff options
author | Luiz F. A. de Prá <rawarkanis@gmail.com> | 2018-02-28 22:38:59 -0300 |
---|---|---|
committer | Luiz F. A. de Prá <rawarkanis@gmail.com> | 2018-02-28 22:38:59 -0300 |
commit | 4db982bb015eddb624e4c7f5776596b166dbaae5 (patch) | |
tree | 7c54044af415f43f3f2ecb2dc44ec01628e31893 /layouts/partials/list.html | |
download | hugo-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.html | 11 |
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> |