From 435e558193d7d5f2e04b1bfe2295a5070aa14cc9 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 29 Dec 2020 21:24:31 +0100 Subject: Fixed regression: Category showed up in child pages as well --- templates/base.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 0704388..9574d08 100644 --- a/templates/base.html +++ b/templates/base.html @@ -52,8 +52,10 @@ ${pageHeader()} $body$ $if(section.is_blog)$ - ${categories.blog:categoryRef()} - ${pagelistByYear()} + $if(pages.not_empty)$ + ${categories.blog:categoryRef()} + ${pagelistByYear()} + $endif$ $endif$ -- cgit v1.2.3-54-g00ecf