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 +++---------- templates/layouts/index.html | 4 ++-- templates/layouts/page.html | 12 ++++++------ 3 files changed, 11 insertions(+), 18 deletions(-) (limited to 'templates') 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()} diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 6d4c776..45ac82e 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -59,13 +59,13 @@ $body$ - $subsections.projects.title$ + $pages.by_id.projects.title$