Add description_class page param

This commit is contained in:
Will Faught
2023-01-22 16:24:40 -08:00
parent 971b0c4f41
commit 7319719c33
2 changed files with 4 additions and 1 deletions

View File

@@ -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 }}