pyfedi/app/templates/about.html

37 lines
1.8 KiB
HTML
Raw Permalink Normal View History

{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
{% extends 'themes/' + theme() + '/base.html' %}
{% else %}
{% extends "base.html" %}
{% endif %} %}
{% block app_content %}
<div class="row">
<div class="col-12 col-md-8 position-relative main_pane">
<h1>{{ _('About %(site_name)s', site_name=g.site.name) }}</h1>
2024-08-29 09:36:12 +12:00
<p> This site is a <a href="https://join.piefed.social/">PieFed</a> instance created on
2024-07-01 07:36:42 +08:00
{{instance.created_at.strftime('%d-%m-%Y')}}. It is home to <a href="/people">{{user_amount}} users</a>
2024-08-29 09:36:12 +12:00
(of which {{mau}} were active in the last month). In <a href="/communities/local"> {{community_amount}} communities</a>
we discussed content from <a href="/domains">{{domains_amount}}</a> websites and made
2024-07-01 07:36:42 +08:00
{{posts_amount}} posts.</p>
<h2>{{ _('Team') }}</h2>
2024-06-26 16:24:15 +02:00
<p>This instance is administered by {% for admin in admins %}<a href="/u/{{ admin.user_name }}">{{ admin.user_name }}</a>{{ ", " if not loop.last }}{% endfor %}.</p>
{% if staff %}
2024-04-08 14:22:47 +02:00
<p>It is moderated by {% for s in staff %}<a href="/u/{{ s.user_name }}">{{ s.user_name }}</a>{{ ", " if not loop.last }}{% endfor %}.</p>
{% endif %}
2024-07-01 07:36:42 +08:00
<h2>{{ _('Contact') }}</h2>
<p>{{ g.site.contact_email | safe }}</p>
<h2>{{ _('About Us') }} </h2>
<p> {{ g.site.description | safe }} </p>
{% if g.site.about %}
2024-07-01 07:36:42 +08:00
<p> {{ g.site.about | safe }} </p>
{% elif g.site.sidebar %}
2024-07-01 07:36:42 +08:00
<p> {{ g.site.sidebar | safe }} </p>
{% endif %}
{% if g.site.legal_information %}
2024-07-01 07:36:42 +08:00
<h2>{{ _('Legal Information') }} </h2>
<p> {{ g.site.legal_information | safe }} </p>
<p> <a href="/privacy">{{ _('Our Privacy Policy') }}</a> </p>
{% endif %}
</div>
{% endblock %}