diff options
-rw-r--r-- | ganarchy/templating/templates.py | 4 | ||||
-rw-r--r-- | index.js | 2 |
2 files changed, 3 insertions, 3 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> diff --git a/index.js b/index.js index cce07fa..687d0d3 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ // 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 |