Update footer
This commit is contained in:
parent
9f27b13673
commit
a2394bd890
1 changed files with 32 additions and 26 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue