From b054bf53a794dcc7afc06cfe6935aabca3fbb66c Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 3 Feb 2022 00:51:02 +0100 Subject: [PATCH] fix synatx --- _includes/functions.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/functions.html b/_includes/functions.html index d09ed70e..564107ec 100644 --- a/_includes/functions.html +++ b/_includes/functions.html @@ -1,6 +1,11 @@ -{% padding = no_padding|true%} +{% if include.padding != nil and include.padding != true %} + {% assign padding = false %} +{% else %} + {% assign padding = true %} +{% endif %} +
-
+
{% if include.data.title %}

{{ include.data.title }}

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

{{ include.data.text }}

{% endif %}