diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 5 | ||||
-rw-r--r-- | templates/layouts/redirect.html | 6 |
2 files changed, 11 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$ |
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 @@ | |||
1 | <div class="s-body"> | ||
2 | <section class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links s-headlines"> | ||
3 | <h1 class="u-mt0"><span class="s-headlines__title-inner">Redirect</span></h1> | ||
4 | <p>This page should redirect you to <a href="$url.full$">$url.full$</a> in 3 seconds.</p> | ||
5 | </section> | ||
6 | </div> | ||