grav-theme-libretic/templates/modular/footer.html.twig
Olivier Navas 17bb11854e - Several modifications of template files for Libretic's web site
- Addition of prerequisites files for scss modifications
- Update of Fontawesome font
- Update of NovecentoSans font for latin characters
- Integration of Pacifico font in the theme instead of dynamically downloading from some google web site
- Removal of some unuseful font files
2022-05-14 19:43:00 +02:00

55 lines
2.4 KiB
Twig

<div class="modular-row footer {{ page.header.class}}">
<div class="footer-items">
<div class="footer-module large">
<div class="logo">
<h3><a href="{{ base_url == '' ? '/' : base_url }}">{{ config.site.title }}</a></h3>
{% block social %}
{% include 'partials/social.html.twig' %}
{% endblock %}
</div>
{% if site.footer.description and site.footer.description is not iterable %}
<p>{{ site.footer.description }}</p>
{% endif %}
{% if site.footer.description and site.footer.description is iterable %}
<ul>
{% for desc_line in site.footer.description %}
<li>{{ desc_line }}</li>
{% endfor %}
</ul>
{% endif %}
</div>
<div class="footer-module"><h4>{{ site.footer.sitelinks_title }}</h4>
<ul class="quickmenu">
{% for module in site.sitelinks %}
<li><i class="fa fa-chevron-right"></i><a href="{% if "base_url:" in module.url %}{{ base_url_absolute }}/{{ module.url|replace({"base_url:": ""}) }}{% else %}{{ module.url }}{% endif %}">{{ module.text }}</a></li>
{% endfor %}
</ul>
</div>
<div class="footer-module"><h4>{{ site.footer.externallinks_title }}</h4>
<ul class="quickmenu">
{% for module in site.externallinks %}
<li><i class="fa fa-chevron-right"></i><a target="_blank" href="{% if "base_url:" in module.url %}{{ base_url_absolute }}/{{ module.url|replace({"base_url:": ""}) }}{% else %}{{ module.url }}{% endif %}">{{ module.text }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<hr>
<div class="footer-modules">
<div class="footer-copyright">
<a href="{{ site.author.copyright_link }}">
{{ site.author.copyright_text }}&nbsp;
{% for icon in site.author.copyright_icons %}
<i class="fab fa-{{ icon }}"></i>
{% endfor %}
</a>
</div>
<div class="footer-menu">
<ul class="othermenu">
{% for module in site.othermenu %}
<li><a href="{{ module.url }}">{{ module.text }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>