From 88d99cb8cdddef316d9429d263106885047d8639 Mon Sep 17 00:00:00 2001
From: TheJoeCoder <joe@radialbog9.uk>
Date: Sun, 7 Jul 2024 12:27:33 +0100
Subject: [PATCH] Target a new tab when clicking links

---
 templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/index.html b/templates/index.html
index 1ea2033..425c182 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -58,7 +58,7 @@
 
                                 {% if project.buttons_use_group %}<div class="btn-group">{% endif %}
                                     {% for button in project.buttons %}
-                                        <a href="{{ button.url }}" class="btn {{ button.classes }}">{{ button.text }}</a>
+                                        <a href="{{ button.url }}" class="btn {{ button.classes }}" target="_blank">{{ button.text }}</a>
                                     {% endfor %}
                                 {% if project.buttons_use_group %}</div>{% endif %}
                             </div>
-- 
GitLab