From 5b3db8aabce84cc919ff3e51fd75ef5c9322b909 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 2 Feb 2022 23:59:25 +0100 Subject: [PATCH] add no padding to function --- _includes/functions.html | 3 ++- functions.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/functions.html b/_includes/functions.html index 662cfc19..d09ed70e 100644 --- a/_includes/functions.html +++ b/_includes/functions.html @@ -1,5 +1,6 @@ +{% padding = no_padding|true%}
-
+
{% if include.data.title %}

{{ include.data.title }}

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

{{ include.data.text }}

{% endif %} diff --git a/functions.md b/functions.md index 68837618..0d2fa9fb 100644 --- a/functions.md +++ b/functions.md @@ -6,5 +6,5 @@ layout: default {% include cta.html cta=site.data.general.learn_cta %} {% include functions.html data=site.data.general.function extend=true %} -{% include functions.html data=site.data.functions.extras extend=true %} +{% include functions.html data=site.data.functions.extras extend=true no_padding=false %} {% include cta.html cta=site.data.general.end_cta %}