You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
588 B

7 years ago
{% set grid_size = theme_var('grid-size') %}
{% set hero_image = page.header.hero_image ? page.media[page.header.hero_image] : page.media.images|first %}
{% set hero_position = page.header.hero_position ? page.header.hero_position : 50 %}
{% set hero_size = page.header.hero_autosize ? 'cover' : 'auto' %}
{% set hero_background_image = page.header.hero_background_image ? page.media[page.header.hero_background_image] : null %}
{% set hero_background_color = page.header.hero_background_color %}
7 years ago
{{ dump(hero_image) }}
{% include 'partials/hero.html.twig' with {id: 'modular-hero'} %}