From 82fdcd672008651dd76f8b1f506f534145d5cc7a Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Fri, 13 Oct 2023 03:12:43 +0200 Subject: Striped sections --- layouts/_default/list.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'layouts/_default/list.html') 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" . }} +
+ {{ range .Paginator.Pages.ByPublishDate.Reverse }} + {{ partial "post.html" . }} + {{ end }} + {{ partial "pagination.html" . }} +
{{ end }} -- cgit v1.2.3