From 3340bcd1b7a4aaf9fe7f1d3097af713b5234c98e Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Fri, 25 Jun 2021 14:19:46 +0800 Subject: style: adjust the liquid syntax of some code --- _includes/views/banner.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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 -%}