summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authortekkub <tekkub@gmail.com>2011-03-06 03:39:01 -0700
committertekkub <tekkub@gmail.com>2011-03-06 03:39:01 -0700
commit8431916e74a6db1d2bf7dee8139d43173a11b98c (patch)
treed989e58f1966c8ba711794a74122728470673b34 /_layouts
parent195bb6e477231b96c18b2062f1ef59d64a6f81cd (diff)
DRY up redirections
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/redirect.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_layouts/redirect.html b/_layouts/redirect.html
new file mode 100644
index 0000000..7894f22
--- /dev/null
+++ b/_layouts/redirect.html
@@ -0,0 +1,11 @@
+---
+layout: default
+---
+<p>
+ This page has moved. If the redirect fails,
+ <a href="{{ page.redirect_to }}">click me</a>.
+</p>
+
+<script type="text/javascript">
+ window.location = '{{ page.redirect_to }}'
+</script>