about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/post-navigation-top.html2
1 files changed, 1 insertions, 1 deletions
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" .}}