Documentations-Linux07/themes/quark/templates/modular/hero.html.twig

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