Plume/templates/instance/index.tera
Bat 91b19bccb5 Add a link to author's profile on article card
Use a macro to render those cards too
2018-05-13 18:19:23 +01:00

16 lines
330 B
Plaintext

{% extends "base" %}
{% import "macros" as macros %}
{% block title %}
{{ instance.name }}
{% endblock title %}
{% block content %}
<h1>Welcome on {{ instance.name }}</h1>
<h2>Latest articles</h2>
{% for article in recents %}
{{ macros::post_card(article=article) }}
{% endfor %}
{% endblock content %}