ajout boutons vers les sous pages

This commit is contained in:
OniriCorpe 2026-04-15 04:20:36 +02:00
parent c4b5d14206
commit 64f8279c1f
3 changed files with 12 additions and 0 deletions

View file

@ -42,6 +42,12 @@
<h2 class="title is-4"><a href="{{ get_url(path=sect.path | safe) }}">{{ sect.title }}</a></h2>
<p class="subtitle is-5">{{ sect.extra.subtitle }}</p>
{{- sect.content | safe -}}
{%- if sect.extra.button -%}
<p>
<a class="button is-pulled-right" href="{{ get_url(path=sect.path | safe) ~ '#continue-reading' }}">{{- sect.extra.button -}}</a>
</p>
<br>
{%- endif -%}
</section>
{% if not loop.last %} <hr> {% endif %}
{% endfor -%}