diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0f104a4..6dbd464 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,10 +8,10 @@ SPDX-License-Identifier: MIT <section class="index-content" id="main"> {{ .Content }} </section> - {{ if in .Params.categories "book" }} + {{ if or .Site.Params.OnlyBooks (in .Params.categories "book") }} {{ partial "post-navigation-top.html" . }} <section class="toc"> - {{ partial "toc.html" (dict "content" . "currentLink" .RelPermalink) }} + {{ partial "toc.html" . }} </section> {{ else if in .Params.categories "blog" }} {{ partial "feed.html" . }} |