Skip to content

Commit

Permalink
Fixed Discord redirect not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro270707 committed May 24, 2024
1 parent 8b83f64 commit 3039626
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions _layouts/redirect.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<html>
<head>
<title>{%- if page.title -%}{{ page.title }}{%- else -%}Kyanite Mods{%- endif -%}</title>
<meta http-equiv="refresh" content="0; url =
{{ page.url }}" />
<meta http-equiv="refresh" content="0; url={{ page.redirect }}" />
</head>
<body>
<h1>Redirecting...</h1>
<p>If you are not redirected automatically, <a href="{{ page.redirect }}">click here</a>.</p>
</body>
</html>
2 changes: 1 addition & 1 deletion discord.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: redirect
title: Kyanite Mods – Discord
url: https://discord.gg/GDNRd5yvxa
redirect: https://discord.gg/GDNRd5yvxa
---

0 comments on commit 3039626

Please sign in to comment.