Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Commit 77a4a73

Browse files
committed
Added a redirect for /doku.php -> /
1 parent 4721ef4 commit 77a4a73

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

_layouts/redirect.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"DTD/xhtml1-strict.dtd">
3+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
4+
5+
<head>
6+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
7+
<meta http-equiv="refresh" content="5;url={{ page.redirect }}" />
8+
9+
<title>DataMapper - {{ page.title }}</title>
10+
<link rel="stylesheet" href="/css/site.css" type="text/css" media="screen, projection" />
11+
<link rel="stylesheet" href="/css/code.css" type="text/css" media="screen, projection" />
12+
<!--[if lt IE 7]> <link rel="stylesheet" href="css/ie_hacks.css" type="text/css" media="screen, projection" /> <![endif]-->
13+
<link rel="alternate" type="application/rss+xml" title="News and Notes feed" href="/news.rss" />
14+
<link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico" />
15+
<script type='text/javascript'>
16+
//<![CDATA[
17+
var _gaq = _gaq || [];
18+
_gaq.push(['_setAccount', 'UA-11917142-1']);
19+
_gaq.push(['_trackPageview']);
20+
//]]>
21+
</script>
22+
23+
<script type="text/javascript">
24+
setTimeout(function() {
25+
document.location = "{{ page.redirect }}";
26+
}, 3000);
27+
</script>
28+
</head>
29+
30+
<body id="home">
31+
<div id="content">
32+
<div id="header">
33+
{% include menu.html %}
34+
</div>
35+
36+
<h1>Page Moved</h1>
37+
38+
<p>
39+
<strong>{{ page.title }}</strong> has moved.
40+
You will be redirected shortly.
41+
</p>
42+
43+
<p>
44+
If you are not redirected properly, please
45+
<a href="{{ page.redirect }}">click here</a>.
46+
</p>
47+
48+
{% include footer.html %}
49+
</div>
50+
<script src="//www.google-analytics.com/ga.js" type="text/javascript" async="async"></script>
51+
</body>
52+
</html>

doku.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: redirect
3+
title: DataMapper
4+
redirect: /
5+
---

0 commit comments

Comments
 (0)