Adds Discord redirect, fallback page (#402)

This commit is contained in:
Mark Cohen 2021-04-30 13:57:10 -07:00 committed by GitHub
parent 5887bb0e6c
commit a46a0cf029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

12
11ty/discord/index.njk Normal file
View File

@ -0,0 +1,12 @@
{% extends 'layouts/base.njk' %}
{% set pageType = 'Page' %}
{% set titleWithPath = 'Invitations Closed « ' %}
{% block content %}
<div class="article-content">
{% include 'components/sub-page-header.njk' %}
<main class="page">
<h1>Discord Invitations</h1>
<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>
</main>
</div>
{% endblock %}

View File

@ -87,7 +87,7 @@ We have created some examples that you can use as the baseline for your work. Ta
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:
- Join our [Discord community](https://discord.gg/c4XtX4F2tK).
- Join our [Discord community](https://selfdefined.app/discord).
- Reach out to [@SelfDefinedApp](https://www.twitter.com/selfdefinedapp) on Twitter.
- File an [issue](https://github.com/tatianamac/selfdefined/issues/new) if you think our docs are missing some information that might be helpful.
- Contact <selfdefined@tatianamac.com>.

View File

@ -17,3 +17,9 @@
status = 301
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/discord"
to = "https://discord.com/invite/c4XtX4F2tK"
status = 301
force = true