diff --git a/README.md b/README.md index 35e348b0..ff98d68b 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,7 @@ authors: [ ] link: "https://youtu.be/dQw4w9WgXcQ" # The reference for an anchor around the title paige: + description_class: h5 text-start # Page description class math: true # Enable math typesetting with KaTeX titleclass: display-1 fw-medium text-start # Page title class toc: true # Show a table of contents if there are any headers diff --git a/layouts/partials/paige/description.html b/layouts/partials/paige/description.html index 0099d849..95f65925 100644 --- a/layouts/partials/paige/description.html +++ b/layouts/partials/paige/description.html @@ -1,3 +1,5 @@ {{ with .Description }} -

{{ . | markdownify }}

+ {{ $class := $.Params.paige.description_class | default "lead text-center" }} + +

{{ . | markdownify }}

{{ end }}