From aa4c54317b51dc14ba65d2e091b701ae6640ee80 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 16 Jun 2022 13:42:26 +0200 Subject: WIP: Adding metadata --- templates/base.html | 24 ++++---- templates/layouts/categorized_list.html | 98 +++++++++++++++++---------------- templates/layouts/list.html | 40 ++++++++------ templates/layouts/page.html | 22 +++++--- templates/partials/gallery_card.html | 19 ++++--- templates/partials/grid_card.html | 16 ++++-- templates/partials/list_card.html | 8 ++- 7 files changed, 128 insertions(+), 99 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 49355b7..cfc40a4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,14 +14,20 @@ $for(author)$ + $endfor$ $if(date-meta)$ + $endif$ $if(keywords)$ $endif$ + + + + $if(feed)$ $endif$ @@ -46,33 +52,31 @@ - + -
- $if(layout.is_categorized_list)$ + $if(layout.is_categorized_list)$ ${layouts/categorized_list()} - $elseif(layout.is_list)$ + $elseif(layout.is_list)$ ${layouts/list()} - $elseif(layout.is_redirect)$ + $elseif(layout.is_redirect)$ ${layouts/redirect()} - $else$ + $else$ ${layouts/page()} - $endif$ -
+ $endif$