Archived
1
Fork 0

Update footer

This commit is contained in:
Edgar P. Burkhart 2024-06-13 09:11:21 +02:00
parent 9f27b13673
commit a2394bd890
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -1,25 +1,30 @@
<hr> <hr>
<section> {% with nav=settings.base.NavigationSettings %}
<section>
<nav> <nav>
<ul> <ul>
<li>Lycée du Pays de Soule</li> <li>Lycée du Pays de Soule</li>
</ul> </ul>
<ul> <ul>
<li>{{ settings.base.NavigationSettings.address }}</li> {% if nav.address %}<li>{{ nav.address }}</li>{% endif %}
{% if nav.phone %}
<li> <li>
<a href="tel:{{ settings.base.NavigationSettings.phone }}">Téléphone</a> <a href="tel:{{ nav.phone }}">Téléphone</a>
</li> </li>
{% endif %}
{% if nav.email %}
<li> <li>
<a href="mailto:{{ settings.base.NavigationSettings.email }}">Courriel</a> <a href="mailto:{{ nav.email }}">Courriel</a>
</li> </li>
{% endif %}
</ul> </ul>
</nav> </nav>
</section> </section>
{% if settings.base.NavigationSettings.links %} {% if nav.links %}
<section> <section>
<nav> <nav>
<ul> <ul>
{% for link in settings.base.NavigationSettings.links %} {% for link in nav.links %}
<li> <li>
<a href="{{ link.value.url }}" target="_blank">{{ link.value.title }}</a> <a href="{{ link.value.url }}" target="_blank">{{ link.value.title }}</a>
</li> </li>
@ -27,9 +32,10 @@
</ul> </ul>
</nav> </nav>
</section> </section>
{% endif %} {% endif %}
<section> <section>
<p> <p>
<small><a href="/admin/">Accès administrateur</a></small> <small><a href="/admin/">Accès administrateur</a></small>
</p> </p>
</section> </section>
{% endwith %}