From 8f373e6c6d3f9d322041ba4d949c1b0c39ae8ea0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 8 Jan 2021 11:45:30 +0100 Subject: Added section link to the header in regular pages, improved template structure, improved CSS variable names, keep prefix for specific page items on mobile --- templates/layouts/dated_list.html | 37 ++++++++++++++++++++----------------- templates/layouts/index.html | 28 ++++++++++++++++------------ templates/layouts/page.html | 32 ++++++++++++++++++++++---------- 3 files changed, 58 insertions(+), 39 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/dated_list.html b/templates/layouts/dated_list.html index 0a279f0..8c5de69 100644 --- a/templates/layouts/dated_list.html +++ b/templates/layouts/dated_list.html @@ -1,22 +1,25 @@ -

$title$

- +
+
+

$title$

$body$ -$if(categories)$ -
    - $for(categories)$ -
  • $it.key/uppercase$ $it.value.name$
  • - $endfor$ -
-$endif$ + $if(categories)$ +
    + $for(categories)$ +
  • $it.key/uppercase$ $it.value.name$
  • + $endfor$ +
+ $endif$ -$for(pages.by_year)$ - -$endfor$ +
+
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 144d1ed..a1410f1 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -1,14 +1,16 @@ - $body$ + +