Plume/templates/instance/index.tera

18 lines
377 B
Plaintext
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 %}
<h1>Welcome on {{ 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 %}