{%- set split_parts = (split or '6 columns - 6 columns').replace('columns', '').split(' - ') -%} {%- set left_col = 'col-sm-' + split_parts[0].strip() -%} {%- set right_col = 'col-sm-' + split_parts[1].strip() -%} {%- set align_content = 'align-' + (vertical_align or 'Top').lower() -%}
{%- if not image_on_right -%}
{{ frappe.render_template('templates/includes/image_with_blur.html', { "src": image, "alt": title, "class": "split-section-image" }) }}
{%- endif -%}

{{ title }}

{%- if content -%}

{{ content }}

{%- endif -%} {%- if link_label and link_url -%} {{ link_label }} {%- endif -%}
{%- if image_on_right -%}
{{ frappe.render_template('templates/includes/image_with_blur.html', { "src": image, "alt": title, "class": "split-section-image" }) }}
{%- endif -%}