Skip to content
Browse files

Make redirects into a template, including analytics.

  • Loading branch information...
1 parent 4a3a19a commit 485099fd35f31cd805d89697b4bdef5c3ca99bd9 @mjpieters committed
View
12 _layouts/redirect.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<meta http-equiv="refresh" content="0;url={{ page.target }}" />
+</head>
+<body>
+ The page has been moved to <a href="{{ page.target }}">here</a>, please update your bookmarks.
+
+ {% include JB/analytics %}
+</body>
+</html>
View
11 projects/formatflowed/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/formatflowed" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/formatflowed
+---
View
11 projects/formatflowed/releases/0.9.0/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/formatflowed/0.9.0" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/formatflowed/0.9.0
+---
View
11 projects/formatflowed/releases/1.0.0/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/formatflowed/1.0.0" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/formatflowed/1.0.0
+---
View
11 projects/formatflowed/releases/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/formatflowed" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/formatflowed
+---
View
11 projects/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://www.zopatista.com/" />
-</head>
-</html>
+---
+layout: redirect
+target: http://www.zopatista.com/
+---
View
11 projects/z3wingdbg/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/z3wingdbg" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/z3wingdbg
+---
View
11 projects/z3wingdbg/releases/0.2.0/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/z3wingdbg/0.2.0" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/z3wingdbg/0.2.0
+---
View
11 projects/z3wingdbg/releases/index.html
@@ -1,7 +1,4 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<meta http-equiv="refresh" content="0;url=http://pypi.python.org/pypi/z3wingdbg" />
-</head>
-</html>
+---
+layout: redirect
+target: http://pypi.python.org/pypi/z3wingdbg
+---

0 comments on commit 485099f

Please sign in to comment.
Something went wrong with that request. Please try again.