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

5 lines
195 B
Twig
Raw Normal View History

2021-04-30 11:23:26 +02:00
{% 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' %}