2018-09-05 16:37:49 +02:00
|
|
|
{% extends "base" %}
|
|
|
|
{% import "macros" as macros %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ "All the articles of the Fediverse" | _ }}
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ "All the articles of the Fediverse" | _ }}</h1>
|
|
|
|
|
2018-09-05 17:19:57 +02:00
|
|
|
{% if account %}
|
|
|
|
{{ macros::tabs(links=['/', '/feed', '/federated', '/local'], titles=['Latest articles', 'Your feed', 'Federated feed', 'Local feed'], selected=3) }}
|
|
|
|
{% else %}
|
|
|
|
{{ macros::tabs(links=['/', '/federated', '/local'], titles=['Latest articles', 'Federated feed', 'Local feed'], selected=2) }}
|
|
|
|
{% endif %}
|
|
|
|
|
2018-09-05 16:37:49 +02:00
|
|
|
<div class="cards">
|
|
|
|
{% for article in articles %}
|
|
|
|
{{ macros::post_card(article=article) }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{{ macros::paginate(page=page, total=n_pages) }}
|
|
|
|
{% endblock content %}
|