From f39f3884cc9670efb31bec2a73ea4a0be9b46140 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Thu, 17 Jun 2021 21:32:19 +0800 Subject: feat: add min_height option to banner --- _includes/functions/get_banner.html | 5 +++++ _includes/views/banner.html | 7 +++++++ 2 files changed, 12 insertions(+) (limited to '_includes') diff --git a/_includes/functions/get_banner.html b/_includes/functions/get_banner.html index bb19ac2..acfb4f4 100644 --- a/_includes/functions/get_banner.html +++ b/_includes/functions/get_banner.html @@ -26,3 +26,8 @@ {% assign name = 'banner.height' %} {%- include functions.html func='get_value' -%} {% assign banner_height = return %} + +{%- include functions.html func='log' level='debug' msg='Get banner_min_height value' -%} +{% assign name = 'banner.min_height' %} +{%- include functions.html func='get_value' -%} +{% assign banner_min_height = return %} diff --git a/_includes/views/banner.html b/_includes/views/banner.html index d70c3a7..32bb3cd 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -25,7 +25,14 @@ {% endif %} {% if banner_height %} -- cgit v1.2.3