Hi all! I’m trying to put a gallery in a blog page using Unitegallery plugin, but I can’t find a way to do this. My situation is even worsened by Gantry 5 plugin, which need this code:
<div class="gallery-container {{ page.header.class }}">
{{ unite_gallery(page.media.images)|raw }}
</div>
for the images to be dispalyed correctly.
I tried this solution from pambtaau for a similar post:
{% extends 'partials/base.html.twig' %}
{% block content %}
<div class="gallery-container {{ page.header.class }}">
{{ unite_gallery(page.media.images, '{"gallery_theme":"' ~ page.header.unitegallery.gallery_theme ~ '"}') }}
</div>
{{ page.content|raw }}
{% endblock %}
but it doesn’t work, probably for the limitation of Gantry 5 template.
Moreover to put this in a page I need a sort of shortcode…
Can someone put me in the right direction?
Thanks in advance