Rename paige.pages.max_width to full_width
This commit is contained in:
@@ -247,7 +247,7 @@ disable_toc = false
|
|||||||
disable_word_count = false
|
disable_word_count = false
|
||||||
|
|
||||||
# Presentation
|
# Presentation
|
||||||
max_width = false # Whether the page body has the maximum width
|
full_width = false # Whether the page body fills the page width
|
||||||
|
|
||||||
# Schema
|
# Schema
|
||||||
base_schema = {} # JSON-LD schema that all page schemas override
|
base_schema = {} # JSON-LD schema that all page schemas override
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
{{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }}
|
{{ $expired := and $page.ExpiryDate (lt $page.ExpiryDate now) }}
|
||||||
{{ $future := and $page.PublishDate (gt $page.PublishDate now) }}
|
{{ $future := and $page.PublishDate (gt $page.PublishDate now) }}
|
||||||
{{ $microdata := $page.Params.paige.pages.microdata }}
|
{{ $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) }}
|
{{ $modified := and $page.PublishDate $page.Lastmod (lt $page.PublishDate $page.Lastmod) }}
|
||||||
|
|
||||||
{{ if $draft }}
|
{{ if $draft }}
|
||||||
|
Reference in New Issue
Block a user