Move paige.metadata_max_width to main.metadata.max_width
This commit is contained in:
@@ -293,7 +293,6 @@ paige:
|
|||||||
menu:
|
menu:
|
||||||
breakpoint: "sm" # Bootstrap breakpoint at which to display all menu items; default is "sm"
|
breakpoint: "sm" # Bootstrap breakpoint at which to display all menu items; default is "sm"
|
||||||
style: "pills" # Menu item style; must be "links" or "pills"; default is "pills"
|
style: "pills" # Menu item style; must be "links" or "pills"; default is "pills"
|
||||||
metadata_max_width: "100ch" # Page metadata max width; default is ""
|
|
||||||
main:
|
main:
|
||||||
metadata:
|
metadata:
|
||||||
authors:
|
authors:
|
||||||
@@ -306,6 +305,7 @@ paige:
|
|||||||
description:
|
description:
|
||||||
class: "lead text-center" # Default is "lead text-center"
|
class: "lead text-center" # Default is "lead text-center"
|
||||||
hide: false # Default is false
|
hide: false # Default is false
|
||||||
|
max_width: "100ch" # Default is ""
|
||||||
reading_time:
|
reading_time:
|
||||||
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
class: "text-center text-secondary" # Default is "text-center text-secondary"
|
||||||
hide: false # Default is false
|
hide: false # Default is false
|
||||||
|
@@ -44,7 +44,7 @@ section.paige-content > blockquote p:last-of-type {
|
|||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with $page.Param "paige.metadata_max_width" }}
|
{{ with $page.Param "paige.main.metadata.max_width" }}
|
||||||
section.paige-metadata {
|
section.paige-metadata {
|
||||||
max-width: {{ . }};
|
max-width: {{ . }};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user