ajout boutons vers les sous pages
This commit is contained in:
parent
c4b5d14206
commit
64f8279c1f
3 changed files with 12 additions and 0 deletions
|
|
@ -4,6 +4,9 @@ template = "home.html"
|
|||
weight = 1
|
||||
[extra]
|
||||
subtitle = "Fabriquer en suivant vos besoins"
|
||||
button = "Découvrir mes réalisations"
|
||||
+++
|
||||
|
||||
Mes services de créations sur mesure peuvent comprendre de l'impression 3D, du bois et des matériaux de récupération.
|
||||
|
||||
<!-- more -->
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@ template = "home.html"
|
|||
weight = 2
|
||||
[extra]
|
||||
subtitle = "Redonner vie aux choses aimées"
|
||||
button = "Mes réparations passées"
|
||||
+++
|
||||
|
||||
Je propose mes services de réparation d'objets mécaniques, électriques, électromécaniques et d'objets "simples".
|
||||
|
||||
<!-- more -->
|
||||
|
|
|
|||
|
|
@ -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