From 0a4f1a50ce2626d95cf2fe9c74b4267b35f34d84 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 23 Nov 2021 12:04:58 +0000 Subject: [PATCH] add urls for social media links --- fet2020/fet2020/urls.py | 4 ++++ fet2020/templates/flatpages/social_media.html | 8 ++++---- fet2020/templates/home.html | 2 +- fet2020/templates/layout.html | 8 ++++---- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/fet2020/fet2020/urls.py b/fet2020/fet2020/urls.py index 84abd46d..9c7018f3 100644 --- a/fet2020/fet2020/urls.py +++ b/fet2020/fet2020/urls.py @@ -41,6 +41,10 @@ urlpatterns = [ path("member/", include(member_urlpatterns), name="member"), path("posts/", include("posts.urls")), path("tasks/", include("tasks.urls"), name="tasks"), + path("discord/", RedirectView.as_view(url="https://discord.com/invite/7qRuuMA"), name="discord"), + path("facebook/", RedirectView.as_view(url="https://www.facebook.com/FachschaftET/"), name="facebook"), + path("instagram/", RedirectView.as_view(url="https://www.instagram.com/fet_tuwien/"), name="instagram"), + path("telegram/", RedirectView.as_view(url="https://t.me/FETInfo"), name="telegram"), path( "sitemap.xml", sitemap, diff --git a/fet2020/templates/flatpages/social_media.html b/fet2020/templates/flatpages/social_media.html index 812fed6c..6d2f7f44 100644 --- a/fet2020/templates/flatpages/social_media.html +++ b/fet2020/templates/flatpages/social_media.html @@ -23,7 +23,7 @@ - + - + - + - + - +