Plume/templates/instance/index.html.tera

19 lines
492 B
Plaintext
Raw Normal View History

2018-05-09 21:09:52 +02:00
{% extends "base" %}
{% import "macros" as macros %}
2018-05-09 21:09:52 +02:00
{% block title %}
{{ instance.name }}
{% endblock title %}
{% block content %}
<h1>{{ "Welcome on {{ instance_name | escape }}" | _(instance_name=instance.name) }}</h1>
<h2>{{ "Latest articles" | _ }}</h2>
<div class="cards">
{% for article in recents %}
{{ macros::post_card(article=article) }}
{% endfor %}
</div>
2018-07-25 15:20:09 +02:00
{{ macros::paginate(page=page, total=n_pages) }}
2018-05-09 21:09:52 +02:00
{% endblock content %}