From d90d07fa3938c944fe8897e7ce1d995bd660573d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 30 Dec 2020 11:30:59 +0100 Subject: Better templates structure, better script config --- templates/base.html | 13 ++++++------- templates/categoriesByCount.html | 7 ------- templates/categoriesById.html | 7 ------- templates/feed.xml | 1 + templates/list.html | 4 ++++ templates/page.html | 1 + templates/pageHeader.html | 17 ----------------- templates/pageHeaderSm.html | 10 ---------- templates/pagelistByYear.html | 11 ----------- templates/partials/categoriesByCount.html | 7 +++++++ templates/partials/categoriesById.html | 7 +++++++ templates/partials/pageHeader.html | 17 +++++++++++++++++ templates/partials/pageHeaderSm.html | 10 ++++++++++ templates/partials/pagelistByYear.html | 11 +++++++++++ 14 files changed, 64 insertions(+), 59 deletions(-) delete mode 100644 templates/categoriesByCount.html delete mode 100644 templates/categoriesById.html create mode 100644 templates/list.html create mode 100644 templates/page.html delete mode 100644 templates/pageHeader.html delete mode 100644 templates/pageHeaderSm.html delete mode 100644 templates/pagelistByYear.html create mode 100644 templates/partials/categoriesByCount.html create mode 100644 templates/partials/categoriesById.html create mode 100644 templates/partials/pageHeader.html create mode 100644 templates/partials/pageHeaderSm.html create mode 100644 templates/partials/pagelistByYear.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 48d7c72..76dd0ba 100644 --- a/templates/base.html +++ b/templates/base.html @@ -45,22 +45,21 @@
$if(is_home)$ $endif$ -$body$ - - $if(section.is_blog)$ - ${categoriesById()} - ${pagelistByYear()} + $if(pages)$ +${list()} + $else$ +${page()} $endif$
$if(is_home)$