aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-01-01 21:03:20 +0100
committerÓscar Nájera <hi@oscarnajera.com>2022-01-01 21:03:20 +0100
commit113d4e53416ddf42212da6f217670bdc6f0c9dd8 (patch)
tree7e9bcd4a2a274e45da5538fe67c525dfb36680de /layouts/_default/list.html
parente34ded01904b07456a48cf28f1a5a2d2d77a0be7 (diff)
downloadhugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.gz
hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.bz2
hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.zip
Import new minimalist design
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c9839f8..a1f0f08 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,8 +1,10 @@
{{ define "main" }}
-<section class="bg-near-white pb2 pt4">
- {{ range .Paginator.Pages }}
- {{ .Render "summary" }}
- {{ end }}
- {{ partial "pagination.html" . }}
-</section>
+{{ partial "open_section.html" . }}
+
+{{ range .Paginator.Pages.ByPublishDate.Reverse }}
+<div class="stripe-dark">
+ {{ partial "post.html" . }}
+</div>
+{{ end }}
+{{ partial "pagination.html" . }}
{{ end }}