grav-theme-libretic/templates/snipcart.html.twig

20 lines
621 B
Twig
Raw Normal View History

2015-01-15 19:15:54 +01:00
{% extends 'partials/snipcart_base.html.twig' %}
{% block content %}
{% include 'modular/lightslider.html.twig' with {'page': page.find('/slider')} %}
{{ parent() }}
<div class="content-wrapper">
2020-12-13 01:32:27 +01:00
{{ page.content|raw }}
2015-01-15 19:15:54 +01:00
<div class="snipcart-categories">
{% for child in page.collection() %}
{% if (child.header.unpublished is not defined or (child.header.unpublished == false)) %}
{% include 'partials/snipcart_category_item.html.twig' with {'page': child, 'parent': page} %}
{% endif %}
{% endfor %}
</div>
</div>
{% endblock %}