From 2337c22afa99bf083b5d22b3dc24cbc53b85306d Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Wed, 14 Feb 2024 09:50:13 +1300 Subject: [PATCH] show instance in breadcrumb --- app/community/routes.py | 1 + app/templates/community/community.html | 6 +++--- app/templates/post/_post_full.html | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/community/routes.py b/app/community/routes.py index 7f48d7fb..d69c3c1e 100644 --- a/app/community/routes.py +++ b/app/community/routes.py @@ -46,6 +46,7 @@ def add_local(): rules_html=markdown_to_html(form.rules.data), local_only=form.local_only.data, ap_profile_id='https://' + current_app.config['SERVER_NAME'] + '/c/' + form.url.data, ap_followers_url='https://' + current_app.config['SERVER_NAME'] + '/c/' + form.url.data + '/followers', + ap_domain=current_app.config['SERVER_NAME'], subscriptions_count=1, instance_id=1, low_quality='memes' in form.url.data) icon_file = request.files['icon_file'] if icon_file and icon_file.filename != '': diff --git a/app/templates/community/community.html b/app/templates/community/community.html index 28cc9672..7886eec4 100644 --- a/app/templates/community/community.html +++ b/app/templates/community/community.html @@ -17,7 +17,7 @@