From 8177471f70a517e78b4470cd01c375ed30121102 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 10 Nov 2021 21:20:58 +0100 Subject: Simplified home page --- templates/layouts/categorized_list.html | 84 +++++++++++++++---------------- templates/layouts/index.html | 88 ++++----------------------------- templates/layouts/list.html | 68 +++++++++++++------------ templates/layouts/page.html | 16 +++--- 4 files changed, 91 insertions(+), 165 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index f841fff..d5dafaf 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,49 +1,47 @@ -
-
- -
- $for(pages.asc_title)$ - $if(it.pages)$ -

- $it.title$ -

-
- $if(pages.asc_title.show_dates)$ - $for(it.pages.desc_date)$ - -
-
- $it.title$ -
- -
- $endfor$ - $else$ - $for(it.pages.asc_title)$ - -
-
- $it.title$ -
-
- $endfor$ - $endif$ -
- $endif$ - $endfor$ -
+
+ $for(pages.asc_title)$ + $if(it.pages)$ +

+ $it.title$ +

+
+ $if(pages.asc_title.show_dates)$ + $for(it.pages.desc_date)$ + +
+
+ $it.title$ +
+ +
+ $endfor$ + $else$ + $for(it.pages.asc_title)$ + +
+
+ $it.title$ +
+
+ $endfor$ + $endif$ +
+ $endif$ + $endfor$
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 1f1a092..b76c606 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -1,81 +1,13 @@ -
-
-
-
-

- - I'm a red fox in disguise. - -

-

- Hi, I'm Volpeon. I enjoy programming, creating vector art and designing user interfaces. -

-
-
- -
-
-
- $for(profiles)$ - $if(it.featured)$ - $if(it.url)$ - - $else$ - - $endif$ - $endif$ - $endfor$ -
- +
+
$body$ -
-
-
- -
-
- - - - - - - - $pages.by_id.projects.title$ - - - -
-
-
diff --git a/templates/layouts/list.html b/templates/layouts/list.html index f269d10..4831228 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -1,41 +1,39 @@ -
-
- -
-
- $if(show_dates)$ - $for(pages.desc_date)$ - -
-
- $it.title$ -
- -
- $endfor$ - $else$ - $for(pages.asc_title)$ - -
-
- $it.title$ -
-
- $endfor$ - $endif$ -
+
+
+ $if(show_dates)$ + $for(pages.desc_date)$ + +
+
+ $it.title$ +
+ +
+ $endfor$ + $else$ + $for(pages.asc_title)$ + +
+
+ $it.title$ +
+
+ $endfor$ + $endif$
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 70f645b..978f7f6 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,13 +1,11 @@ -
-
-- cgit v1.2.3-70-g09d2