grav-theme-libretic/templates/modular/footer.html.twig

56 lines
2.4 KiB
Twig
Raw Normal View History

2015-01-16 14:39:31 +01:00
<div class="modular-row footer {{ page.header.class}}">
<div class="footer-items">
2015-01-19 12:43:44 +01:00
<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 %}
2015-01-19 18:04:29 +01:00
2015-01-19 12:43:44 +01:00
</div>
{% if site.footer.description and site.footer.description is not iterable %}
<p>{{ site.footer.description }}</p>
2015-01-19 12:43:44 +01:00
{% 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 %}
2015-01-16 14:39:31 +01:00
</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>
2015-01-19 12:43:44 +01:00
{% 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>
2015-01-19 12:43:44 +01:00
</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>
2015-01-19 12:43:44 +01:00
</div>
2015-01-16 14:39:31 +01:00
</div>