From 60b7fc4e0424725b0a7522d4f2ce35093ed3fadf Mon Sep 17 00:00:00 2001
From: OndraPetrzilka <ondra.petrzilka@gmail.com>
Date: Wed, 14 Sep 2022 13:21:15 +0200
Subject: [PATCH] twitter link fixed on main person page and homepage

---
 main/templates/main/includes/twitter_widget.html | 2 +-
 main/templates/main/main_person_page.html        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/templates/main/includes/twitter_widget.html b/main/templates/main/includes/twitter_widget.html
index 99d46e5f..08aa7964 100644
--- a/main/templates/main/includes/twitter_widget.html
+++ b/main/templates/main/includes/twitter_widget.html
@@ -20,7 +20,7 @@
         <p class="text-small sm:text-base leading-6 mb-2">
           {{ tweet.text }}
         </p>
-        <a href="twitter.com/{{ tweet.author_username }}" class="hover:no-underline">
+        <a href="https://twitter.com/{{ tweet.author_username }}" class="hover:no-underline">
           <i class="ico--twitter text-turquoise-400 text-3xl sm:text-xl"></i>
         </a>
       </div>
diff --git a/main/templates/main/main_person_page.html b/main/templates/main/main_person_page.html
index b3b40843..2e260edb 100644
--- a/main/templates/main/main_person_page.html
+++ b/main/templates/main/main_person_page.html
@@ -76,7 +76,7 @@
                       </div>
                     </div>
                     <p class="text-small sm:text-base leading-6 mb-2">{{ tweet.text }}</p>
-                    <a href="twitter.com/{{ tweet.author_username }}" class="hover:no-underline" target="_blank">
+                    <a href="https://twitter.com/{{ tweet.author_username }}" class="hover:no-underline" target="_blank">
                       <i class="ico--twitter text-turquoise-400 text-xl"></i>
                     </a>
                   </div>
-- 
GitLab