summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-14 12:46:40 +0100
committerVolpeon <git@volpeon.ink>2021-11-14 12:46:40 +0100
commit84566a32b1b0cf4fa57bb9d5409ee794deceab7f (patch)
treee4a106bae2678d2173569cdf1c889a0544d02b06 /templates/base.html
parentList generation: Handle empty subpages list better (diff)
downloadvolpeon.ink-84566a32b1b0cf4fa57bb9d5409ee794deceab7f.tar.gz
volpeon.ink-84566a32b1b0cf4fa57bb9d5409ee794deceab7f.tar.bz2
volpeon.ink-84566a32b1b0cf4fa57bb9d5409ee794deceab7f.zip
Added redirect fallback template
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html5
1 files changed, 5 insertions, 0 deletions
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 @@
5 <meta charset="utf-8" /> 5 <meta charset="utf-8" />
6 <meta name="viewport" content="width=device-width, initial-scale=1" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <meta name="robots" content="noindex" /> 7 <meta name="robots" content="noindex" />
8 $if(redirect)$
9 <meta http-equiv="refresh" content="3; URL=$url.full$">
10 $endif$
8 11
9 <link rel="canonical" href="$url.full$"> 12 <link rel="canonical" href="$url.full$">
10 <link rel="shortcut icon" href="/favicon.ico" /> 13 <link rel="shortcut icon" href="/favicon.ico" />
@@ -67,6 +70,8 @@
67${layouts/categorized_list()} 70${layouts/categorized_list()}
68 $elseif(layout.is_list)$ 71 $elseif(layout.is_list)$
69${layouts/list()} 72${layouts/list()}
73 $elseif(layout.is_redirect)$
74${layouts/redirect()}
70 $else$ 75 $else$
71${layouts/page()} 76${layouts/page()}
72 $endif$ 77 $endif$