Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirects for Slack, newsletter, and Discord #177

Merged
merged 2 commits into from
Sep 27, 2021
Merged

Add redirects for Slack, newsletter, and Discord #177

merged 2 commits into from
Sep 27, 2021

Conversation

AaronC81
Copy link
Member

Added a few pages which simply redirect to our most-used external things, which otherwise have bulky links:

  • Newsletter
  • Slack
  • Discord

(I've omitted Twitter since the full link for this is already short and looks nice.)

These aren't used within the site, since that would add an extra redirecting message for the user if they clicked on one of these links from e.g. the About page. So that the Flask freezer sees them, I've also added a new freeze generator named get_redirect_page_routes and documented its use.

(Note: We may tweak the server config to allow these particular redirects to be accessed without the .html extension.)

@AaronC81 AaronC81 changed the title Add redirects for common socials, which we can use in posters Add redirects for Slack, newsletter, and Discord Sep 27, 2021
@AaronC81 AaronC81 merged commit afa8685 into HackSoc:main Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant