2018-05-09 19:09:52 +00:00
|
|
|
{% extends "base" %}
|
2018-05-13 17:19:23 +00:00
|
|
|
{% import "macros" as macros %}
|
2018-05-09 19:09:52 +00:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ blog.title }}
|
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-05-12 13:31:09 +00:00
|
|
|
<h1>{{ blog.title }} (~{{ blog.actor_id }})</h1>
|
|
|
|
<p>{{ blog.summary }}</p>
|
|
|
|
|
2018-06-10 18:16:25 +00:00
|
|
|
<section>
|
|
|
|
<h2>Latest articles</h2>
|
|
|
|
{% if recents | length < 1 %}
|
|
|
|
<p>No posts to see here yet.</p>
|
|
|
|
{% endif %}
|
|
|
|
{% if is_author %}
|
|
|
|
<a href="new" class="button inline-block">New article</a>
|
|
|
|
{% endif %}
|
|
|
|
<div class="cards">
|
|
|
|
{% for article in recents %}
|
|
|
|
{{ macros::post_card(article=article) }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</section>
|
2018-05-09 19:09:52 +00:00
|
|
|
{% endblock content %}
|