From e9d9be59ccd8731b6b7e9f7f72714afc57bab6d4 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 5 Feb 2023 19:34:20 -0800 Subject: [PATCH] Move paige.metadata_max_width to main.metadata.max_width --- README.md | 2 +- layouts/partials/paige/style.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 119c9268..2b1a76af 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,6 @@ paige: menu: 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" - metadata_max_width: "100ch" # Page metadata max width; default is "" main: metadata: authors: @@ -306,6 +305,7 @@ paige: description: class: "lead text-center" # Default is "lead text-center" hide: false # Default is false + max_width: "100ch" # Default is "" reading_time: class: "text-center text-secondary" # Default is "text-center text-secondary" hide: false # Default is false diff --git a/layouts/partials/paige/style.html b/layouts/partials/paige/style.html index bb2da8ad..35efefb7 100644 --- a/layouts/partials/paige/style.html +++ b/layouts/partials/paige/style.html @@ -44,7 +44,7 @@ section.paige-content > blockquote p:last-of-type { } {{ end }} -{{ with $page.Param "paige.metadata_max_width" }} +{{ with $page.Param "paige.main.metadata.max_width" }} section.paige-metadata { max-width: {{ . }}; }