diff --git a/_includes/views/banner.html b/_includes/views/banner.html
index f26d06f..b852fb0 100644
--- a/_includes/views/banner.html
+++ b/_includes/views/banner.html
@@ -15,19 +15,19 @@
{%- include functions.html func='get_banner' -%}
-{% if banner_image %}
- {% if banner_background %}
+{%- if banner_image -%}
+ {%- if banner_background -%}
- {% endif %}
- {% if banner_height %}
+ {%- endif -%}
+ {%- if banner_height -%}
- {% endif %}
+ {%- endif -%}
- {% if banner_opacity %}
+ {%- if banner_opacity -%}
- {% endif %}
+ {%- endif -%}
{%- if banner_heading_style -%}