<div class=“col-xs-12 feature_block”>
<div class="row"> <div class="col-xs-12 col-sm-7 block__image order-2 order-md-{% if include.object.position == "right" %}2{% else %}1{% endif %}"> {% if include.object.type == "image" %} {% assign image_path = include.object.image_content_path | remove_first: '/' %} {% assign full_path = include.object.image_content_path %} {% if include.object.image_content_is_svg %} <img class="img-fluid svg_image {% if include.object.image_content_style %}{{include.object.image_content_style}}{% endif %}" alt="{{include.object.image_content_alt}}" src="{{include.object.image_content_path}}" /> {% else %} {% picture feature_block_image {{image_path}} %} {% endif %} {% elsif include.object.type == "slider" %} {% include core/slider.html object=include.object.slider_content %} {% elsif include.object.type == "youtube_video" %} {% include core/youtube_video_embed.html object=include.object.video_content_url %} {% else %} <p>Please verify the feature_block content "type" is correct</p> {% endif %} </div> <div class="col-xs-12 col-sm-5 block__text order-1 order-md-{% if include.object.position == "right" %}1{% else %}2{% endif %}"> {% if include.object.title %} <h2>{{include.object.title}}</h2> {% endif %} {% if include.object.highlight-text %} <div class="font-weight-bold"> {{include.object.highlight-text | markdownify }} </div> {% endif %} {% if include.object.text == "page_content" %} {{page.content | markdownify }} {% else %} {{include.object.text | markdownify}} {% endif %} {% if include.object.buttons %} {% include core/buttons.html object=include.object.buttons %} {% endif %} </div> </div>
</div>