Skip to content

Commit 1bc0781

Browse files
author
Frotty
committed
redirect /WurstScript to root
1 parent d732aa3 commit 1bc0781

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

_doc/wurstscript/index.md

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

_layouts/redirect.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>{{ page.title }}</title>
5+
<meta http-equiv="refresh" content="0; url={{ page.redirect }}">
6+
</head>
7+
<body>
8+
<h1>{{ page.title }}</h1>
9+
<h3> Redirecting to <a href="{{ page.redirect }}">{{ page.redirect }}</a> ...</h3>
10+
{{ content }}
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)