Plume/templates/blogs/details.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

17 lines
366 B
Plaintext

{% extends "base" %}
{% import "macros" as macros %}
{% block title %}
{{ blog.title }}
{% endblock title %}
{% block content %}
<h1>{{ blog.title }} (~{{ blog.actor_id }})</h1>
<p>{{ blog.summary }}</p>
<h2>Latest articles</h2>
{% for article in recents %}
{{ macros::post_card(article=article) }}
{% endfor %}
{% endblock content %}