diff --git a/README.md b/README.md index 05776af2..c49dbcb3 100644 --- a/README.md +++ b/README.md @@ -245,8 +245,6 @@ paige: utterances: # See https://utteranc.es github_repo: "" content: - class: "mw-100 paige-content" - hide: false max_width: "" credit: data: diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html index 206e3ffc..76dbc976 100644 --- a/layouts/partials/paige/content.html +++ b/layouts/partials/paige/content.html @@ -8,15 +8,10 @@ {{ $page = $params.page }} {{ end }} -{{ $class := $page.Param "paige.content.class" | default "mw-100 paige-content" }} -{{ $content := "" }} - -{{ if $page.Param "paige.content.hide" | not }} - {{ $content = cond ($fullpages | not) ($page.Content | replaceRE `()` (printf `${1}#${3}` (i18n "paige_aria_section_link")) | safeHTML) $page.Content }} -{{ end }} +{{ $content := cond ($fullpages | not) ($page.Content | replaceRE `()` (printf `${1}#${3}` (i18n "paige_aria_section_link")) | safeHTML) $page.Content }} {{ with $content }} -
+
{{ . }}
{{ end }}