From 98e4facaa663ef2a5dd817cc9afdf8a18145a4db Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 3 Feb 2022 01:09:22 +0100 Subject: [PATCH] remove textblock if not set --- _includes/functions.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_includes/functions.html b/_includes/functions.html index b0d92e26..47696ed3 100644 --- a/_includes/functions.html +++ b/_includes/functions.html @@ -6,6 +6,7 @@
+ {% if include.data.title or include.data.text or include.data.link %}
{% if include.data.title %}

{{ include.data.title }}

{% endif %} {% if include.data.text %}

{{ include.data.text }}

{% endif %} @@ -13,6 +14,7 @@ Learn More {% include learn_more.html %} {% endif %}
+ {% endif %}
{% assign function_len = include.data.functions | size %} {% for item in include.data.functions %}