From a48d05d1d5fcff414359c8ba6cc8f38467aebdeb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 10 May 2021 16:41:05 +0200 Subject: Refactoring to fully take advantage of Make --- templates/base.html | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index cd1e869..a5d29b5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,14 +19,7 @@ $endif$ - $for(feeds)$ - - $endfor$ - $if(feed)$ - - $endif$ - - $if(section.is_index)$$else$$title$ – $endif$$site.title$ + $if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$ @@ -46,7 +39,7 @@ - $if(section.is_index)$ + $if(namespace.root.is_index)$ $else$ $for(menus.main.items)$ $if(it.active)$ @@ -61,7 +54,7 @@
- $if(section.is_index)$ + $if(namespace.root.is_index)$ ${layouts/index()} $elseif(layout.is_categorized_list)$ ${layouts/categorized_list()} -- cgit v1.2.3-70-g09d2