From 8b32c31bb56d94ca700b1761824c49a1ece0c556 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 12 Jul 2024 19:15:41 -0700 Subject: [PATCH] Remove div tags under article tag --- layouts/partials/paige/page.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/layouts/partials/paige/page.html b/layouts/partials/paige/page.html index e1698beb..6b8af209 100644 --- a/layouts/partials/paige/page.html +++ b/layouts/partials/paige/page.html @@ -1,6 +1,6 @@ {{ $page := . }} -{{ $class := slice "my-3" }} +{{ $class := slice "align-items-center" "d-flex" "flex-column" "my-3" }} {{ $content := $page.Content | replaceRE `()` (printf `${1}${3}` (i18n "paige_aria_section_link")) }} {{ $draft := $page.Draft }} {{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }} @@ -43,14 +43,12 @@ {{ $class = delimit ($class | uniq) " " }} -
-
- {{ partial "paige/page-header.html" $page }} +
+ {{ partial "paige/page-header.html" $page }} - {{ with $content }} -
{{ . | safeHTML }}
- {{ end }} + {{ with $content }} +
{{ . | safeHTML }}
+ {{ end }} - {{ partial "paige/page-footer.html" $page }} -
+ {{ partial "paige/page-footer.html" $page }}