From ad478954cf77842364d03e1d5ee85e366e699ee7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 7 Jan 2021 08:50:48 +0100 Subject: Improved general structure, resolve category name in metadata filter, added hideable nav items, added header for page layout --- templates/layouts/dated_list.html | 22 ++++++++++++++++++++ templates/layouts/index.html | 44 +++++++++++++++++++++++++++++++++++++++ templates/layouts/page.html | 12 +++++++++++ 3 files changed, 78 insertions(+) create mode 100644 templates/layouts/dated_list.html create mode 100644 templates/layouts/index.html create mode 100644 templates/layouts/page.html (limited to 'templates/layouts') diff --git a/templates/layouts/dated_list.html b/templates/layouts/dated_list.html new file mode 100644 index 0000000..0a279f0 --- /dev/null +++ b/templates/layouts/dated_list.html @@ -0,0 +1,22 @@ +

$title$

+ +$body$ + +$if(categories)$ + +$endif$ + +$for(pages.by_year)$ + +$endfor$ + diff --git a/templates/layouts/index.html b/templates/layouts/index.html new file mode 100644 index 0000000..144d1ed --- /dev/null +++ b/templates/layouts/index.html @@ -0,0 +1,44 @@ + + +$body$ + + + + diff --git a/templates/layouts/page.html b/templates/layouts/page.html new file mode 100644 index 0000000..332a846 --- /dev/null +++ b/templates/layouts/page.html @@ -0,0 +1,12 @@ +
+

$title$

+ $if(date)$ +

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

+ $elseif(category)$ +

in $category.name$

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