From cae6e2e54973d9ccbc9de6954d2dbf0888c1842f Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 17 Jun 2021 20:39:11 +0800 Subject: feat: support advanced banner configuration Support to configurate the banner opacity and height. --- _includes/views/banner.html | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to '_includes/views/banner.html') diff --git a/_includes/views/banner.html b/_includes/views/banner.html index a6b503f..d77e42c 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -3,11 +3,6 @@ {%- include functions.html func='get_value' -%} {% assign banner_html = return %} -{%- include functions.html func='log' level='debug' msg='Get banner value' -%} -{% assign name = 'banner' %} -{%- include functions.html func='get_value' -%} -{% assign banner = return %} - {%- include functions.html func='log' level='debug' msg='Get heading value' -%} {% assign name = 'heading' %} {%- include functions.html func='get_value' -%} @@ -18,10 +13,25 @@ {%- include functions.html func='get_value' -%} {% assign subheading = return %} -{% if banner %} +{%- include functions.html func='get_banner' -%} + +{% if banner_image %} +
-
+
-- cgit v1.2.3