From 30b88f2cdd5bb46983f08a76c52cb1c3ff47a0d0 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 1 Jul 2024 07:36:42 +0800 Subject: [PATCH] tweak about us page --- app/templates/about.html | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/app/templates/about.html b/app/templates/about.html index 90335ffb..7535f683 100644 --- a/app/templates/about.html +++ b/app/templates/about.html @@ -8,25 +8,29 @@
{{g.site.name}} is a pyfedi instance created on {{instance.created_at.strftime('%d-%m-%Y')}}. It is home to {{user_amount}} users (of which {{mau}} active in the last month). In the {{community_amount}} communities we discussed {{domains_amount}} domains and made {{posts_amount}} posts.
-{{ g.site.name }} is a pyfedi instance created on + {{instance.created_at.strftime('%d-%m-%Y')}}. It is home to {{user_amount}} users + (of which {{mau}} active in the last month). In {{community_amount}} communities + we discussed content from {{domains_amount}} domains websites and made + {{posts_amount}} posts.
+This instance is administered by {% for admin in admins %}{{ admin.user_name }}{{ ", " if not loop.last }}{% endfor %}.
{% if staff %}It is moderated by {% for s in staff %}{{ s.user_name }}{{ ", " if not loop.last }}{% endfor %}.
{% endif %} -{{g.site.contact_email | safe }}
-{{g.site.description | safe }}
+{{ g.site.contact_email | safe }}
+{{ g.site.description | safe }}
{% if g.site.about %} -{{g.site.about | safe }}
+{{ g.site.about | safe }}
{% elif g.site.sidebar %} -{{g.site.sidebar | safe }}
+{{ g.site.sidebar | safe }}
{% endif %} {% if g.site.legal_information %} -{{g.site.legal_information | safe }}
- +{{ g.site.legal_information | safe }}
+ {% endif %}