ajout boutons vers les sous pages
This commit is contained in:
parent
c4b5d14206
commit
64f8279c1f
3 changed files with 12 additions and 0 deletions
|
|
@ -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 -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue