From f3331d5172bd711d5cd6a4978b85d1cef9d7e355 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Fri, 4 Aug 2023 19:53:59 +0700 Subject: Update book checker for navigation --- layouts/partials/post-navigation-top.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/post-navigation-top.html b/layouts/partials/post-navigation-top.html index 333691c..84cc51d 100644 --- a/layouts/partials/post-navigation-top.html +++ b/layouts/partials/post-navigation-top.html @@ -1,4 +1,4 @@ -{{ if or (in .Params.categories "book") (in .CurrentSection.Params.categories "book") }} +{{ if or .Site.Params.OnlyBooks (in .Params.categories "book") (in .CurrentSection.Params.categories "book") }} {{ partial "breadcrumbs.html" .}} {{ end}} {{ partial "post-navigation.html" .}} -- cgit 1.4.1