diff --git a/README.md b/README.md index 02a129fd..bd7a8be8 100644 --- a/README.md +++ b/README.md @@ -300,9 +300,6 @@ paige: authors: class: "text-center text-secondary" # Default is "text-center text-secondary" hide: false # Default is false - content: - class: "mw-100 paige-content" # Default is "mw-100 paige-content" - hide: false # Default is false date: class: "text-center text-secondary" # Default is "text-center text-secondary" format: ":date_long" # Default is ":date_long" @@ -329,6 +326,9 @@ paige: table_of_contents: hide: false # Default is false max_width: "66ch" # Default is "" + content: + class: "mw-100 paige-content" # Default is "mw-100 paige-content" + hide: false # Default is false rss: managing_editor: "Michael Bluth" # Default is "" web_master: "Michael Bluth" # Default is "" diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html index 56059833..c6fb560f 100644 --- a/layouts/partials/paige/content.html +++ b/layouts/partials/paige/content.html @@ -1,9 +1,9 @@ {{ $page := . }} -{{ $class := $page.Param "paige.main.metadata.content.class" | default "mw-100 paige-content" }} +{{ $class := $page.Param "paige.main.content.class" | default "mw-100 paige-content" }} {{ $content := "" }} -{{ if $page.Param "paige.main.metadata.title.hide" | not }} +{{ if $page.Param "paige.main.content.hide" | not }} {{ $content = cond ($page.Scratch.Get "paige_list_show_content" | not) ($page.Content | replaceRE `()` `${1}#${3}` | safeHTML) $page.Content }} {{ end }}