From 1b1575372e9a07e7c7eb57078d05ed00588a5032 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Tue, 25 Feb 2025 22:29:08 -0800 Subject: [PATCH] Rename paige.pages.max_width to full_width --- README.md | 2 +- layouts/partials/paige/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8bb2c69..660463dd 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ disable_toc = false disable_word_count = false # Presentation -max_width = false # Whether the page body has the maximum width +full_width = false # Whether the page body fills the page width # Schema base_schema = {} # JSON-LD schema that all page schemas override diff --git a/layouts/partials/paige/page.html b/layouts/partials/paige/page.html index 6c6779ce..806813fb 100644 --- a/layouts/partials/paige/page.html +++ b/layouts/partials/paige/page.html @@ -6,7 +6,7 @@ {{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }} {{ $future := and $page.PublishDate (gt $page.PublishDate now) }} {{ $microdata := $page.Params.paige.pages.microdata }} -{{ $min := $page.Param `paige.pages.max_width` | not }} +{{ $min := $page.Param `paige.pages.full_width` | not }} {{ $modified := and $page.PublishDate $page.Lastmod (lt $page.PublishDate $page.Lastmod) }} {{ if $draft }}