Skip to content

Commit 9e31c86

Browse files
authored
Merge branch 'main' into dellis1972-patreon-updates
2 parents 4f1e2b4 + a96010d commit 9e31c86

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

website/_data/redirects.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
{ "from": "/documentation", "to": "https://docs.monogame.net" }
3+
]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<meta charset="utf-8"/>
4+
<title>Redirecting&hellip;</title>
5+
<link rel="canonical" href="{{ redirect.to | url }}"/>
6+
<script>
7+
location = '{{ redirect.to | url }}';
8+
</script>
9+
<meta http-equiv="refresh" content="0; url={{ redirect.to | url }}"/>
10+
<meta name="robots" content="noindex"/>
11+
<h1>Redirecting&hellip;</h1>
12+
<a href="{{ redirect.to | url }}">Click here if you are not redirected.</a>
13+
</html>

website/content/redirects.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
pagination:
3+
data: redirects
4+
size: 1
5+
alias: redirect
6+
permalink: "{{ redirect.from }}"
7+
layout: "layouts/redirect.layout.njk"
8+
---

0 commit comments

Comments
 (0)