From 1cc072bb0bca2e2a5e88ba05ee9b3ec39ea7eefc Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 21 Jan 2021 21:31:21 +0100 Subject: Replace blogs with notebooks (i.e. no dates, grouped by category) --- templates/layouts/categorized_list.html | 22 ++++++++++++++++++++++ templates/layouts/page.html | 4 +--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 templates/layouts/categorized_list.html (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html new file mode 100644 index 0000000..d213bb8 --- /dev/null +++ b/templates/layouts/categorized_list.html @@ -0,0 +1,22 @@ +
+
+

$title$

+$body$ + + $for(pages.by_category)$ +

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

+ + $endfor$ +
+
+ diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 61bcacd..640df18 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -13,9 +13,7 @@ $endif$

$title$

- $if(date)$ -

$date.yyyy_mm_dd$$if(category)$ in $category.name$$endif$

- $elseif(category)$ + $if(category)$

in $category.name$

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