Move paige-content to page.content.class default

This commit is contained in:
Will Faught
2023-02-04 17:59:43 -08:00
parent a1a57c45b0
commit 179607d0c3
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{{ $page := . }}
{{ $class := $page.Param "paige.page.content.class" }}
{{ $class := $page.Param "paige.page.content.class" | default "paige-content" }}
{{ $content := "" }}
{{ if $page.Param "paige.page.title.hide" | not }}
@@ -8,7 +8,7 @@
{{ end }}
{{ with $content }}
<section class="paige-content {{ with $class }} {{ . }} {{ end }}">
<section {{ with $class }} class="{{ . }}" {{ end }}>
{{ . }}
</section>
{{ end }}