From d5b7ccf56aaef1e35bc5a95a7dfd86d512a6f57e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 1 Jan 2021 22:29:18 +0100 Subject: Small design revisions --- templates/base.html | 11 ++--------- templates/list.html | 22 ++++++++++++++++++++-- templates/partials/categoriesByCount.html | 7 ------- templates/partials/categoriesById.html | 7 ------- templates/partials/pagelistByYear.html | 11 ----------- 5 files changed, 22 insertions(+), 36 deletions(-) delete mode 100644 templates/partials/categoriesByCount.html delete mode 100644 templates/partials/categoriesById.html delete mode 100644 templates/partials/pagelistByYear.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 0856b47..225ef3f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,9 +15,6 @@ $if(keywords)$ $endif$ - $-- $if(feed.url.abs)$ - $-- - $-- $endif$ $for(feeds)$ $endfor$ @@ -50,16 +47,12 @@ - $endif$ - $if(is_home)$ ${page()} - $else$ - $if(pages)$ + $elseif(pages)$ ${list()} - $else$ + $else$ ${page()} - $endif$ $endif$ diff --git a/templates/list.html b/templates/list.html index 3522754..4d62d47 100644 --- a/templates/list.html +++ b/templates/list.html @@ -1,4 +1,22 @@ $body$ -${partials/categoriesById()} -${partials/pagelistByYear()} +$if(categories.by_id)$ + +$endif$ + +$for(pages)$ + $for(it.by_year)$ + + $endfor$ +$endfor$ + diff --git a/templates/partials/categoriesByCount.html b/templates/partials/categoriesByCount.html deleted file mode 100644 index 9388cf9..0000000 --- a/templates/partials/categoriesByCount.html +++ /dev/null @@ -1,7 +0,0 @@ -$if(categories.by_count)$ - -$endif$ diff --git a/templates/partials/categoriesById.html b/templates/partials/categoriesById.html deleted file mode 100644 index fc11cc2..0000000 --- a/templates/partials/categoriesById.html +++ /dev/null @@ -1,7 +0,0 @@ -$if(categories.by_id)$ - -$endif$ diff --git a/templates/partials/pagelistByYear.html b/templates/partials/pagelistByYear.html deleted file mode 100644 index ff55f0f..0000000 --- a/templates/partials/pagelistByYear.html +++ /dev/null @@ -1,11 +0,0 @@ -$for(pages)$ - $for(it.by_year)$ - - $endfor$ -$endfor$ -- cgit v1.2.3-54-g00ecf