diff --git a/README.md b/README.md index 76f017cb..18ecdde0 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ paige: class: "badge text-bg-secondary text-decoration-none" # Default is "badge text-bg-secondary text-decoration-none" hide: false # Default is false content: - class: "" # Default is "" + class: "paige-content" # Default is "paige-content" hide: false # Default is false date: class: "text-center text-secondary" # Default is "text-center text-secondary" diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html index 7a772939..a83d022c 100644 --- a/layouts/partials/paige/content.html +++ b/layouts/partials/paige/content.html @@ -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 }} -
+
{{ . }}
{{ end }}