grav-theme-libretic/templates/modular/bottom.html.twig
2015-01-27 21:47:09 +01:00

20 lines
669 B
Twig

<div class="modular-row bottom {{ page.header.class }}">
{{ content }}
{% for button in page.header.buttons %}
<a class="button{% if button.primary %} primary{% endif %}" href="{{ button.url }}">{{ button.text }}</a>
{% endfor %}
{% if page.header.class == 'borderbottom' %}
<hr>
{% endif %}
{% if page.header.services %}
<div class="services">
{% for service in page.header.services %}
<div class="service">
<i class="fa fa-{{ service.icon }}"></i>
<h4>{{ service.title }}</h4>
<p>{{ service.desc }}</p>
</div>
{% endfor %}
</div>
{% endif %}
</div>