Skip to content

Commit a46a0cf

Browse files
authored
Adds Discord redirect, fallback page (#402)
1 parent 5887bb0 commit a46a0cf

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

11ty/discord/index.njk

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% extends 'layouts/base.njk' %}
2+
{% set pageType = 'Page' %}
3+
{% set titleWithPath = 'Invitations Closed « ' %}
4+
{% block content %}
5+
<div class="article-content">
6+
{% include 'components/sub-page-header.njk' %}
7+
<main class="page">
8+
<h1>Discord Invitations</h1>
9+
<p>Invitations to the Discord server are currently closed. Please keep an eye on our <a href="https://twitter.com/SelfDefinedApp">Twitter account</a> for updates!</p>
10+
</main>
11+
</div>
12+
{% endblock %}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ We have created some examples that you can use as the baseline for your work. Ta
8787

8888
If you've already tried reading through our [documentation](https://www.selfdefined.app/documentation/) and are stuck, we're here to help and ask your questions:
8989

90-
- Join our [Discord community](https://discord.gg/c4XtX4F2tK).
90+
- Join our [Discord community](https://selfdefined.app/discord).
9191
- Reach out to [@SelfDefinedApp](https://www.twitter.com/selfdefinedapp) on Twitter.
9292
- File an [issue](https://github.com/tatianamac/selfdefined/issues/new) if you think our docs are missing some information that might be helpful.
9393
- Contact <selfdefined@tatianamac.com>.

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@
1717
status = 301
1818
force = true
1919
headers = {X-From = "Netlify"}
20+
21+
[[redirects]]
22+
from = "/discord"
23+
to = "https://discord.com/invite/c4XtX4F2tK"
24+
status = 301
25+
force = true

0 commit comments

Comments
 (0)