aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-10-13 03:12:43 +0200
committerOscar Najera <hi@oscarnajera.com>2023-10-13 03:14:55 +0200
commit82fdcd672008651dd76f8b1f506f534145d5cc7a (patch)
treed1678ccb7345170866a7dba2feed59b70ac6ea89 /layouts/_default/list.html
parent4bbc7b9a7de0002173f38918cfd69a6e64d86e00 (diff)
downloadhugo-minimalist-theme-82fdcd672008651dd76f8b1f506f534145d5cc7a.tar.gz
hugo-minimalist-theme-82fdcd672008651dd76f8b1f506f534145d5cc7a.tar.bz2
hugo-minimalist-theme-82fdcd672008651dd76f8b1f506f534145d5cc7a.zip
Striped sections
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f8b838d..2349bb7 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,10 +1,12 @@
{{ define "hero" }}
-{{ partial "hero.html" . }}
+ {{ partial "hero.html" . }}
{{ end }}
{{ define "main" }}
-{{ range .Paginator.Pages.ByPublishDate.Reverse }}
-{{ partial "post.html" . }}
-{{ end }}
-{{ partial "pagination.html" . }}
+ <div class="mw7 center">
+ {{ range .Paginator.Pages.ByPublishDate.Reverse }}
+ {{ partial "post.html" . }}
+ {{ end }}
+ {{ partial "pagination.html" . }}
+ </div>
{{ end }}