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