From d82f50ac63bba3c5bb8d81e994dbdc67b6c6bcbe Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 31 Dec 2022 00:38:18 -0800 Subject: [PATCH] Show TOC only when not paige_show_full_pages --- layouts/partials/paige/toc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/toc.html b/layouts/partials/paige/toc.html index 1b5fd631..1e55ac32 100644 --- a/layouts/partials/paige/toc.html +++ b/layouts/partials/paige/toc.html @@ -1,4 +1,4 @@ -{{ if and .Content .Params.paige.toc (ne .TableOfContents ``) }} +{{ if and .Content .Params.paige.toc (not (eq (.Scratch.Get "paige_show_full_pages") true)) (ne .TableOfContents ``) }}
{{ .TableOfContents }}