From 454c3337b5fcd2f98b40dac0714d303cdd9fc1f6 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 24 Dec 2022 22:32:49 -0300 Subject: Add Fedi-To integration --- ganarchy/templating/templates.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ganarchy/templating') diff --git a/ganarchy/templating/templates.py b/ganarchy/templating/templates.py index 1574d7c..af9bf2e 100644 --- a/ganarchy/templating/templates.py +++ b/ganarchy/templating/templates.py @@ -59,7 +59,11 @@ def get_template_loader():

Powered by GAnarchy. AGPLv3-licensed. Source Code.

+ {% if ganarchy.fedito != 0 -%} + Register web+ganarchy: URI handler (via Fedi-To) + {% else -%} Register web+ganarchy: URI handler + {% endif -%} (Makes navigating between GAnarchy instances easier).

@@ -106,7 +110,7 @@ def get_template_loader():

{{ project_title|e }}

-

Tracking {{ project_commit }}

+

Tracking {{ project_commit }}

{{ project_body|e|replace("\n\n", "

") }}

Pinned repos