From 84566a32b1b0cf4fa57bb9d5409ee794deceab7f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 14 Nov 2021 12:46:40 +0100 Subject: Added redirect fallback template --- templates/base.html | 5 +++++ templates/layouts/redirect.html | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 templates/layouts/redirect.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index eb088c4..02ad030 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,9 @@ + $if(redirect)$ + + $endif$ @@ -67,6 +70,8 @@ ${layouts/categorized_list()} $elseif(layout.is_list)$ ${layouts/list()} + $elseif(layout.is_redirect)$ +${layouts/redirect()} $else$ ${layouts/page()} $endif$ diff --git a/templates/layouts/redirect.html b/templates/layouts/redirect.html new file mode 100644 index 0000000..a51d47e --- /dev/null +++ b/templates/layouts/redirect.html @@ -0,0 +1,6 @@ +
+ +
-- cgit v1.2.3-70-g09d2