doc/themes/quark/templates/modular/hero.html.twig
2021-02-06 19:16:09 +00:00

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