wiki-grav/themes/quark/templates/modular/hero.html.twig

5 lines
195 B
Twig
Raw Normal View History

{% set grid_size = theme_var('grid-size') %}
{% set hero_image = page.header.hero_image ? page.media[page.header.hero_image] : page.media.images|first %}
{% include 'partials/hero.html.twig' %}