2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 13:36:47 +00:00

add no padding to function

This commit is contained in:
Matthias Mair 2022-02-02 23:59:25 +01:00
parent 7707d1e662
commit 5b3db8aabc
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{% padding = no_padding|true%}
<section class="cm-gray-2 body-font"> <section class="cm-gray-2 body-font">
<div class="container px-5 py-24 mx-auto"> <div class="container px-5 {% if padding %}py-24{% endif %} mx-auto">
<div class="flex flex-col text-center w-full mb-20"> <div class="flex flex-col text-center w-full mb-20">
{% if include.data.title %}<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %} {% if include.data.title %}<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %} {% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}

View File

@ -6,5 +6,5 @@ layout: default
{% include cta.html cta=site.data.general.learn_cta %} {% 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.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 %} {% include cta.html cta=site.data.general.end_cta %}