Plume/templates/users/followers.html.tera

25 lines
831 B
Plaintext
Raw Normal View History

{% extends "base" %}
2018-07-25 15:50:29 +02:00
{% import "macros" as macros %}
{% block title %}
{{ "{{ name | escape }}'s followers" | _(name=user.name) }}
{% endblock title %}
{% block content %}
{% include "users/header" %}
2018-09-05 17:41:31 +02:00
{% set user_link = ['/@', user.fqn] %}
{% set followers_link = ['/@', user.fqn, 'followers'] %}
{{ macros::tabs(links=[ user_link | join(sep='/'), followers_link | join(sep='/')], titles=['Articles', 'Followers'], selected=2) }}
<div class="cards">
{% for follower in followers %}
<div class="card">
<h3><a href="/@/{{ follower.fqn }}/">{{ follower.name }}</a> <small>@{{ follower.fqn }}</small></h3>
2018-06-11 16:05:18 +02:00
<main><p>{{ follower.summary | safe }}</p></main>
</div>
{% endfor %}
</div>
2018-07-25 15:50:29 +02:00
{{ macros::paginate(page=page, total=n_pages) }}
{% endblock content %}