From 5e76fbedae19445a060611e6b2e630bed1c6b4fd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 30 Dec 2020 12:20:22 +0100 Subject: Fixed subtemplate selection in base template --- templates/base.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 76dd0ba..e11ed5d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -49,10 +49,14 @@ ${partials/pageHeader()} $endif$ - $if(pages)$ -${list()} + $if(is_home)$ +${page()} $else$ + $if(pages)$ +${list()} + $else$ ${page()} + $endif$ $endif$ -- cgit v1.2.3-70-g09d2