Plume/templates/instance/index.html.tera

18 lines
430 B
Text
Raw Normal View History

2018-05-09 19:09:52 +00:00
{% extends "base" %}
{% import "macros" as macros %}
2018-05-09 19:09:52 +00:00
{% block title %}
{{ instance.name }}
{% endblock title %}
{% block content %}
2018-06-17 09:38:59 +00:00
<h1>{{ "Welcome on {{ instance_name }}" | _(instance_name=instance.name) }}</h1>
<h2>{{ "Latest articles" | _ }}</h2>
<div class="cards">
{% for article in recents %}
{{ macros::post_card(article=article) }}
{% endfor %}
</div>
2018-05-09 19:09:52 +00:00
{% endblock content %}