aboutsummaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 11:59:42 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-11-25 11:59:42 +0100
commitaa2b1870d0f1af84171c60df233b9befa8817853 (patch)
tree9c4676339ea68f28a428eae68bd699ced9f4b882 /layouts/posts/list.html
parenta9738191b8fef15a0fe96af533813a8acfa1055b (diff)
Cleanup posts rendering
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 4fda83f..da13220 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -1,5 +1,4 @@
{{ define "main" }}
-<section>
{{ $paginator := .Paginate (where .Pages "Params.hidden" "ne" true) }}
{{ range sort .Paginator.Pages }}
<article>
@@ -16,5 +15,4 @@
</article>
{{ end }}
{{ template "_internal/pagination.html" . }}
-</section>
{{ end }} \ No newline at end of file