Skip to content

Commit b2c662e

Browse files
committed
Working redirect page for the glossary.
Signed-off-by: Dean Wampler <[email protected]>
1 parent 1a44eb4 commit b2c662e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/glossary.markdown

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
sitemap: false
3+
permalink: /glossary/
4+
redirect_to: https://the-ai-alliance.github.io/glossary/glossary/
5+
---
6+
{% comment %}
7+
A "classic" redirect page, used instead of the normal Jekyll convention for redirect
8+
pages because we could not get that approach to work for redirecting to another website,
9+
as opposed to a different page in the same site.
10+
{% endcomment %}
11+
<!DOCTYPE html>
12+
<html>
13+
<head>
14+
<link rel="canonical" href="{{ page.redirect_url }}"/>
15+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
16+
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
17+
</head>
18+
<body>
19+
<h1>Redirecting...</h1>
20+
<a href="{{ page.redirect_to }}">Click here if you are not redirected.<a>
21+
<script>location='{{ page.redirect_to }}'</script>
22+
</body>
23+
</html>

0 commit comments

Comments
 (0)