about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-08-04 19:53:59 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-08-04 19:53:59 +0700
commitf3331d5172bd711d5cd6a4978b85d1cef9d7e355 (patch)
tree0ab877381dde4821a9fd313fd67a0f24199d12d0
parent743ec02a6980c4ee0fbd9f2cb5f23b568dc6d706 (diff)
downloadvictor-f3331d5172bd711d5cd6a4978b85d1cef9d7e355.tar.gz
Update book checker for navigation
-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" .}}