{% liquid if section.settings.media_adapt == false assign media_mobile_height = section.settings.media_mobile_height | prepend: 'height: ' | append: 'px;' assign media_desktop_height = section.settings.media_desktop_height | prepend: 'height: ' | append: 'px;' endif %}
{{ block.settings.subtitle }}
{% endunless %} {% unless block.settings.title == blank %}An optional description for this slide
", "info": "Leave empty to disable" }, { "type": "header", "content": "Buttons" }, { "type": "text", "id": "btn_primary_text", "label": "Primary button text", "default": "Primary button", "info": "Leave empty to disable" }, { "type": "url", "id": "btn_primary_url", "label": "Primary button URL" }, { "type": "text", "id": "btn_secondary_text", "label": "Secondary button text", "default": "Secondary button", "info": "Leave empty to disable" }, { "type": "url", "id": "btn_secondary_url", "label": "Secondary button URL" } ] } ], "presets": [ { "name": "Hero carousel", "blocks": [ { "type": "slide" }, { "type": "slide" } ] } ] } {% endschema %}