33 lines
640 B
Plaintext
33 lines
640 B
Plaintext
<div class="custom-section full-width">
|
|
{% if section.settings.background_image %}
|
|
<div class="custom-section__background">
|
|
{{ section.settings.background_image | image_url: width: 2000 | image_tag }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="custom-section__content">
|
|
{% content_for 'blocks' %}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{% schema %}
|
|
{
|
|
"name": "t:general.custom_section",
|
|
"blocks": [{ "type": "@theme" }],
|
|
"settings": [
|
|
{
|
|
"type": "image_picker",
|
|
"id": "background_image",
|
|
"label": "t:labels.background"
|
|
}
|
|
],
|
|
"presets": [
|
|
{
|
|
"name": "t:general.custom_section"
|
|
}
|
|
]
|
|
}
|
|
{% endschema %}
|