wiki-grav/themes/quark/templates/modular/hero.html.twig
2022-04-24 14:32:58 +02:00

5 lines
195 B
Twig

{% 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' %}