views-photo-grid-style.html.twig in Views Photo Grid 8
Template for the Photo Grid style.
- $items contains an array of images to display.
File
templates/views-photo-grid-style.html.twigView source
- {#
- /**
- * @file
- * Template for the Photo Grid style.
- *
- * - $items contains an array of images to display.
- *
- */
- #}
- {% if title %}
- <h3>{{ title }}</h3>
- {% endif %}
-
- <div class="views-photo-grid-container">
- {% for item in items %}
- <div class="views-photo-grid-item">{{ item }}</div>
- {% endfor %}
- </div>
-