From 6412cf76dc58d32abcc43ba6f41108cf5b338fd6 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 25 Feb 2023 13:42:17 -0800 Subject: [PATCH] Remove paige.list.pages params --- README.md | 2 -- layouts/partials/paige/pages.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index f170bf6c..65e2e5af 100644 --- a/README.md +++ b/README.md @@ -261,8 +261,6 @@ paige: list: content: show: false - pages: - hide: false math: false # Enable math typesetting menu: breakpoint: "sm" # Bootstrap breakpoint at which to display all menu items diff --git a/layouts/partials/paige/pages.html b/layouts/partials/paige/pages.html index 2b34db93..de95d327 100644 --- a/layouts/partials/paige/pages.html +++ b/layouts/partials/paige/pages.html @@ -1,6 +1,6 @@ {{ $page := . }} -{{ if and $page.Pages ($page.Param "paige.list.pages.hide" | not) }} +{{ if $page.Pages }} {{ if $page.Param "paige.list.content.show" }} {{ $p := $page.Paginate $page.Pages }}