Plume/templates/users/followers.html.tera

25 lines
831 B
Text
Raw Normal View History

{% extends "base" %}
2018-07-25 13:50:29 +00:00
{% import "macros" as macros %}
{% block title %}
{{ "{{ name | escape }}'s followers" | _(name=user.name) }}
{% endblock title %}
{% block content %}
{% include "users/header" %}
2018-09-05 15:41:31 +00: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 14:05:18 +00:00
<main><p>{{ follower.summary | safe }}</p></main>
</div>
{% endfor %}
</div>
2018-07-25 13:50:29 +00:00
{{ macros::paginate(page=page, total=n_pages) }}
{% endblock content %}