mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-08-20 09:04:28 +00:00
Useful when app is at a non-root path and we're not handling top-level /robots.txt requests.
32 lines
720 B
HTML
32 lines
720 B
HTML
{%- import "utils.html" as utils with context -%}
|
|
{% extends "layout.html" %}
|
|
|
|
{% block head %}
|
|
<title>{{ local_actor.display_name }}'s follows</title>
|
|
<meta name="robots" content="noindex, nofollow">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% include "header.html" %}
|
|
<div id="following">
|
|
<ul>
|
|
{% for follow in following %}
|
|
<li>{{ utils.display_actor(follow.actor, actors_metadata) }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% set x_more = following_count - following | length %}
|
|
{% if x_more > 0 %}
|
|
<div class="box">
|
|
<p>And {{ x_more }} more.</p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if is_admin %}
|
|
<div class="box">
|
|
<p><a href="{{ url_for("admin_outbox") }}?filter_by=Follow">Manage follows</a></p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
{% endblock %}
|