Plume/templates/instance/index.html.tera

18 lines
377 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 }}</h1>
<h2>Latest articles</h2>
<div class="cards">
{% for article in recents %}
{{ macros::post_card(article=article) }}
{% endfor %}
</div>
2018-05-09 21:09:52 +02:00
{% endblock content %}