about summary refs log tree commit diff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index cfacfb9..9775e90 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -9,7 +9,7 @@
 {{ end }}
 
 {{ range .Ancestors }}
-{{ if in .Params.categories "book" }}
+{{ if or .Site.Params.OnlyBooks (in .Params.categories "book") }}
   {{ $fullTitle = printf "%s, %s" .Title $fullTitle }}
 {{ end }}
 {{ end }}