From 8c83a2ef92be845c5ffecb1434028d0c68915936 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 18 Apr 2021 15:44:32 +0200 Subject: Update --- templates/base.html | 61 ++++++++---- templates/layouts/categorized_list.html | 37 ++++--- templates/layouts/index.html | 165 +++++++++++++++----------------- templates/layouts/page.html | 18 +--- templates/symbols.svg | 6 ++ 5 files changed, 144 insertions(+), 143 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index c7f641c..625b025 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,32 +32,51 @@ - - - + $if(section.is_index)$ + $else$ + $for(menus.main.items)$ + $if(it.active)$ + + + $it.label$ + + + $endif$ + $endfor$ + $endif$ + - $if(section.is_index)$ +
+ $if(section.is_index)$ ${layouts/index()} - $elseif(layout.is_categorized_list)$ + $elseif(layout.is_categorized_list)$ ${layouts/categorized_list()} - $else$ + $else$ ${layouts/page()} - $endif$ + $endif$ + + + + + + + + + +
+ +
+
${symbols.svg()} diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 8c25ec0..0e9142f 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -1,23 +1,22 @@ -
-
-
+
+
$body$ - $for(pages.by_category)$ -

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

- - $endfor$ -
+ $for(pages.by_category)$ +

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

+ + $endfor$
-
+ + diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 4163093..327f9f5 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -1,95 +1,80 @@ -
-
-
-
-

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

-

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

-
-
+
+
+
+

+ + 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$ -
+
+
+
+ $for(profiles)$ + $if(it.featured)$ + $if(it.url)$ + + $else$ + + $endif$ + $endif$ + $endfor$ +
$body$ -
-
-
+ +
+
-
-
- - - - - - - - $sections.projects.title$ - - -
+
+
+ + + + + + + + $subsections.projects.title$ + + +
-
- $for(sections.projects.pages)$ - -
- $it.category.name$ - $it.title$ -
- - - -
- $endfor$ -
-
- - -
+
+ $for(subsections.projects.pages)$ + +
+ $it.category.name$ + $it.title$ +
+ + + +
+ $endfor$ +
+ diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 9e7d85a..e006ddc 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html @@ -1,15 +1,7 @@ -
-
-
-
-

$title$

- $if(category)$ -

in $category.name$

- $endif$ -
+
+
+

$title$

-$body$ -
+ $body$
-
- + diff --git a/templates/symbols.svg b/templates/symbols.svg index d884bc0..958e271 100644 --- a/templates/symbols.svg +++ b/templates/symbols.svg @@ -55,5 +55,11 @@ d="m15.25 10.5a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm-10 2.5a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm2.5-10a2.25 2.25 0 0 1-2.25 2.25 2.25 2.25 0 0 1-2.25-2.25 2.25 2.25 0 0 1 2.25-2.25 2.25 2.25 0 0 1 2.25 2.25zm-2.5378 9.4469 5.5686-1.3921m0.61265-2.1613-4.2845-4.2845m-2.1627 0.6058-1.4004 5.6015" fill="none" stroke="currentColor" /> + + + + -- cgit v1.2.3-54-g00ecf