From 4cf3f2e6297878a4a6303a886e24addd5cf4580f Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Wed, 6 Sep 2023 21:44:11 +0200 Subject: Simplify and consolidate page styles Use the section template instead of defining a new page type for the about page. In general I could build on pieces of markdown for each subsection. --- layouts/_default/list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8737066..f8b838d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,10 +1,10 @@ -{{ define "main" }} -
-{{ partial "open_section.html" . }} +{{ define "hero" }} +{{ partial "hero.html" . }} +{{ end }} +{{ define "main" }} {{ range .Paginator.Pages.ByPublishDate.Reverse }} {{ partial "post.html" . }} {{ end }} {{ partial "pagination.html" . }} -
{{ end }} -- cgit v1.2.3