Move paige.content_max_width to paige.main.content.max_width

master
Will Faught 2 years ago
parent 2458841d9a
commit 2018494367

@ -219,7 +219,6 @@ paige:
raw: false # Do not copy or process the file; default is false raw: false # Do not copy or process the file; default is false
color: "#123456" # Theme color for Safari and Windows; default is "#0d6efd" color: "#123456" # Theme color for Safari and Windows; default is "#0d6efd"
color_scheme: "light" # Use the "light" or "dark" color scheme without automatic switching; default is "" color_scheme: "light" # Use the "light" or "dark" color scheme without automatic switching; default is ""
content_max_width: "66ch" # Page content max width; default is ""
comments: comments:
cactus: # cactus.chat cactus: # cactus.chat
account_id: "123456" account_id: "123456"
@ -329,6 +328,7 @@ paige:
content: content:
class: "mw-100 paige-content" # Default is "mw-100 paige-content" class: "mw-100 paige-content" # Default is "mw-100 paige-content"
hide: false # Default is false hide: false # Default is false
max_width: "66ch" # Default is ""
rss: rss:
managing_editor: "Michael Bluth" # Default is "" managing_editor: "Michael Bluth" # Default is ""
web_master: "Michael Bluth" # Default is "" web_master: "Michael Bluth" # Default is ""

@ -32,7 +32,7 @@ section.paige-content > blockquote p:last-of-type {
margin-bottom: 0; margin-bottom: 0;
} }
{{ with $page.Param "paige.content_max_width" }} {{ with $page.Param "paige.main.content.max_width" }}
section.paige-content { section.paige-content {
max-width: {{ . }}; max-width: {{ . }};
} }

Loading…
Cancel
Save