diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html deleted file mode 100644 index aadf788a..00000000 --- a/layouts/partials/paige/content.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ $page := . }} - -{{ $content := $page.Content | replaceRE `()` (printf `${1}${3}` (i18n "paige_aria_section_link")) }} - -{{ with $content }} -
{{ . | safeHTML }}
-{{ end }} diff --git a/layouts/partials/paige/page.html b/layouts/partials/paige/page.html index 108c7d18..55448c2a 100644 --- a/layouts/partials/paige/page.html +++ b/layouts/partials/paige/page.html @@ -1,6 +1,7 @@ {{ $page := . }} {{ $class := slice }} +{{ $content := $page.Content | replaceRE `()` (printf `${1}${3}` (i18n "paige_aria_section_link")) }} {{ $draft := $page.Draft }} {{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }} {{ $future := and $page.PublishDate (gt $page.PublishDate now) }} @@ -45,6 +46,9 @@
{{ partial "paige/page-header.html" $page }} - {{ partial "paige/content.html" $page }} + + {{ with $content }} +
{{ . | safeHTML }}
+ {{ end }}