18 lines
439 B
Plaintext
18 lines
439 B
Plaintext
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
{{ instance.name }}
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ "Welcome on {{ instance_name | escape }}" | _(instance_name=instance.name) }}</h1>
|
|
|
|
<h2>{{ "Latest articles" | _ }}</h2>
|
|
<div class="cards">
|
|
{% for article in recents %}
|
|
{{ macros::post_card(article=article) }}
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock content %}
|