{%- include functions.html func='log' level='debug' msg='Get banner_html value' -%} {% assign name = 'banner_html' %} {%- include functions.html func='get_value' -%} {% assign banner_html = return %} {%- include functions.html func='log' level='debug' msg='Get heading value' -%} {% assign name = 'heading' %} {%- include functions.html func='get_value' -%} {% assign heading = return %} {%- include functions.html func='log' level='debug' msg='Get subheading value' -%} {% assign name = 'subheading' %} {%- include functions.html func='get_value' -%} {% assign subheading = return %} {%- include functions.html func='get_banner' -%} {%- if has_banner -%} {%- if banner_background -%} {%- endif -%} {%- if banner_height -%} {%- endif -%} {%- if banner_opacity -%} {%- endif -%} {%- if banner_heading_style -%} {%- endif -%} {%- if banner_subheading_style -%} {%- endif -%}
{%- if banner_video -%} {%- else -%}
{%- endif -%}
{%- if banner_html -%} {%- assign banner_html = 'views/' | append: banner_html -%} {%- include {{ banner_html }} -%} {%- else -%}

{{ heading | default: page.title | escape }}

{{ subheading | default: page.subtitle | escape }}

{%- endif -%}
{%- endif -%}