diff --git a/README.md b/README.md index 741417b2..ce3e40f4 100644 --- a/README.md +++ b/README.md @@ -263,6 +263,7 @@ paige: metadata_max_width: "100ch" # Page metadata max width page: # Every page authors_class: "text-center text-secondary" # Page authors class + content_class: "fst-italic" # Page content class date_class: "text-center text-secondary" # Page date class description_class: "lead text-center" # Page description class title_class: "display-5 fw-bold text-center" # Page title class diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html index 3c898674..f9fd4f26 100644 --- a/layouts/partials/paige/content.html +++ b/layouts/partials/paige/content.html @@ -1,5 +1,5 @@ {{ if .Content }} - {{ $class := $.Params.paige.page.content_class }} + {{ $class := $.Param "paige.page.content_class" }}
{{ with $class }}