{% extends "base.html" %} {% block content %}

<h2 class="title is-3">{{- page.title -}}</h2>
{% set ancestor = get_section(path=page.ancestors | last) %} {%- if
ancestor.title in ["Création", "Réparation"] -%}
<p class="subtitle is-5">{{ ancestor.title }}</p>
{%- endif -%} {%- if page.date -%}
<p class="mb-5">
    <time datetime="{{ page.date }}">
        Réalisé le
        <span class="is-info"
            >{{ page.date | date(locale="fr_FR", format="%d %B %Y") }}</span
        >
    </time>
</p>
{%- endif -%}

<section class="content-section">{{- page.content | safe -}}</section>

{% endblock content %}
