Add description_class page param
This commit is contained in:
@@ -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
|
||||
|
@@ -1,3 +1,5 @@
|
||||
{{ with .Description }}
|
||||
<p class="lead text-center">{{ . | markdownify }}</p>
|
||||
{{ $class := $.Params.paige.description_class | default "lead text-center" }}
|
||||
|
||||
<p class="{{ $class }}">{{ . | markdownify }}</p>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user