summary refs log tree commit diff stats
path: root/ganarchy
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2023-01-28 13:41:34 -0300
committerSoniEx2 <endermoneymod@gmail.com>2023-01-28 13:41:34 -0300
commit55cc6f60108cc182cfd219225a2eaa3005f1b63f (patch)
tree252f392213181fe4c261fc7a5b73ff7a7e077c3a /ganarchy
parent68ee24fe842cf33f65b97997c9e4061235458190 (diff)
Use well-known protocol handlers by default
Diffstat (limited to 'ganarchy')
-rw-r--r--ganarchy/templating/templates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ganarchy/templating/templates.py b/ganarchy/templating/templates.py
index af9bf2e..7d453e4 100644
--- a/ganarchy/templating/templates.py
+++ b/ganarchy/templating/templates.py
@@ -89,7 +89,7 @@ def get_template_loader():
         <meta charset="utf-8" />
         <!--
         GAnarchy - project homepage generator
-        Copyright (C) 2019  Soni L.
+        Copyright (C) 2019, 2023  Soni L.
 
         This program is free software: you can redistribute it and/or modify
         it under the terms of the GNU General Public License as published by
@@ -110,7 +110,7 @@ def get_template_loader():
     </head>
     <body>
         <h1>{{ project_title|e }}</h1>
-        <p>Tracking <span id="project_commit"><a href="https://fedi-to.net/go?h={{ ganarchy.fedito }}&target=web%2Bganarchy:{{ project_commit }}">{{ project_commit }}</a></span></p>
+        <p>Tracking <span id="project_commit"><a href="https://fedi-to.net/go?target=web%2Bganarchy://{{ base_url.rpartition("//")[-1].partition("/")[0] }}/{{ project_commit }}">{{ project_commit }}</a></span></p>
         <div id="project_body"><p>{{ project_body|e|replace("\n\n", "</p><p>") }}</p></div>
         <h2>Pinned repos</h2>
         <ul>