From 9763ea03164f983d77051a84609dcae80885b1c0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 12 Nov 2021 20:39:46 +0100 Subject: Improved page --- templates/layouts/categorized_list.html | 54 ++++++++++++--------------------- templates/layouts/index.html | 8 ++--- templates/layouts/list.html | 50 +++++++++++------------------- templates/layouts/page.html | 2 +- 4 files changed, 41 insertions(+), 73 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index fa0f000..f8c3fab 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -6,26 +6,26 @@ $body$
- $for(pages.asc_title)$ + $for(pages.all)$ $if(it.pages)$

$it.title$

-
- $if(pages.asc_title.show_dates)$ - $for(it.pages.desc_date)$ - - $if(pages.asc_title.show_read_indicators)$ -
- $endif$ - $if(pages.asc_title.icon)$ - - - - $endif$ -
- $it.title$ -
+
$endif$ $endfor$ diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 8822f6f..1eca10f 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -18,7 +18,7 @@ $body$
$endif$ $if(it.icon)$ - + $endif$ @@ -27,7 +27,7 @@ $body$ $it.username$
$if(it.url)$ - + $endif$ @@ -48,7 +48,7 @@ $body$ $for(it.pages.all)$ $if(pages.by_id.projects.pages.all.icon)$ - + $endif$ @@ -56,7 +56,7 @@ $body$ $pages.by_id.projects.pages.all.title$ $it.title$
- + diff --git a/templates/layouts/list.html b/templates/layouts/list.html index c0045c0..208b267 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -7,20 +7,20 @@ $body$ diff --git a/templates/layouts/page.html b/templates/layouts/page.html index e406d99..f1060ca 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,6 +1,6 @@