From 385db81296bccf0c9e4341580d96e6a868f9d7f0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Jun 2021 17:12:33 +0200 Subject: Some design fixes, page list metadata improvements --- templates/base.html | 10 +++++- templates/feed.xml | 6 ++-- templates/feed_entry.xml | 58 +++++++++++++++------------------ templates/layouts/categorized_list.html | 28 ++++++++++------ templates/layouts/list.html | 41 +++++++++++++++++++++++ templates/layouts/page.html | 2 +- 6 files changed, 99 insertions(+), 46 deletions(-) create mode 100644 templates/layouts/list.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 6c0c4a9..5542401 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,6 +22,13 @@ $if(feed)$ $endif$ + $if(layout.is_categorized_list)$ + $for(pages.asc_title)$ + $if(it.feed)$ + + $endif$ + $endfor$ + $endif$ $if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$ @@ -64,11 +71,12 @@ ${layouts/index()} $elseif(layout.is_categorized_list)$ ${layouts/categorized_list()} + $elseif(layout.is_list)$ +${layouts/list()} $else$ ${layouts/page()} $endif$ -