improve footer

main
Dominik Madarász 2023-01-12 15:48:54 +00:00
parent 0b39dd8678
commit 8ed9222f71
1 changed files with 6 additions and 5 deletions

View File

@ -54,13 +54,14 @@
{% if custom_footer %} {% if custom_footer %}
{{ custom_footer | safe }} {{ custom_footer | safe }}
{% else %} {% else %}
Runs a modified version of <a href="https://microblog.pub/" target="_blank">microblog.pub</a>. <a href="{{ url_for("login") }}">Admin</a>. <a href="{{ url_for("login") }}">Admin</a>.
{% if is_admin %} {% if is_admin %}
{{ header_link("followers", "Followers") }} <span class="counter">{{ followers_count }}</span>. {{ header_link("followers", "Followers") }} <span class="counter">{{ followers_count }}</span>.
{% endif %} {{ header_link("following", "Following") }} <span class="counter">{{ following_count }}</span>.
{% if is_admin %}
{{ header_link("following", "Following") }} <span class="counter">{{ following_count }}</span>.
{% endif %} {% endif %}
<div>
Runs a modified version of <a href="https://microblog.pub/" target="_blank">microblog.pub</a>. Supports <a href="https://activitypub.rocks/" target="_blank">ActivityPub</a>!
</div>
{% endif %} {% endif %}
</div> </div>
</footer> </footer>