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 }}