From f561409f1cf476e2cc1112538eb7b724748a2378 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 29 Apr 2021 20:31:16 +0200 Subject: Update --- templates/layouts/categorized_list.html | 15 +++++++++++---- templates/layouts/page.html | 8 ++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index f2eda8b..75c636a 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -6,14 +6,21 @@ $body$ $for(pages.by_category)$

- $for(it.value/first)$ - $it.category.name$ - $endfor$ + + $for(it.value/first/first)$ + $it.category.name$ + $endfor$ +

diff --git a/templates/layouts/page.html b/templates/layouts/page.html index bccdeae..e985484 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,5 +1,13 @@
+ $if(category.show_date)$ +
+
+ $date.yyyy_mm_dd$ +
+
+ $endif$ +

$title$

$body$ -- cgit v1.2.3-54-g00ecf