blog/templates/post.html

34 lines
1.2 KiB
HTML
Raw Normal View History

2025-12-23 22:27:51 +01:00
{% extends "base.html" %}
{% block content %}
<article>
<section class=title>
<h1 class=title>{{ page.title }}</h1>
2025-12-23 22:27:51 +01:00
{% if page.description %}
<p class=subtitle>{{ page.description }}</p>
{% endif %}
2025-12-23 22:27:52 +01:00
<p class=metadata>
<span> {{ page.authors | join(sep=', ') }}</span>
<span class="separator"></span>
2025-12-23 22:27:52 +01:00
<span>
<meta itemprop="datePublished" content="{{ page.date | date(format='%+') }}">
 {{ page.date | date(format='%d %b %Y') }}
</span>
<span class="separator"></span>
<span>󱎫 {{ page.reading_time }} min</span>
</p>
<p class="last-update">
2025-12-23 22:27:52 +01:00
{% if page.updated %}
<span>󰚰 {{ page.updated | date(format='%d %b %Y') }}</span>
<span class="separator"></span>
{% if config.extra.remote_repository_url %}
<a class="external-link" href="{% include 'partials/history_url.html'%}" target="_blank" rel="noopener noreferrer">Changements</a>
{% endif %}
2025-12-23 22:27:52 +01:00
{% endif %}
</p>
</section>
<section>
{{ page.content | safe }}
</section>
</article>
2025-12-23 22:27:51 +01:00
{% endblock content %}