2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

fix data reference

This commit is contained in:
Matthias Mair 2022-11-06 18:38:16 +01:00
parent 7990045762
commit 39ad064c8d
2 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
<div class="section-container"> <div class="section-container">
<div class="flex flex-col text-center w-full mb-20"> <div class="flex flex-col text-center w-full mb-20">
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">OUR TEAM</h1> <h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">OUR TEAM</h1>
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.text }}</p> <p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>
</div> </div>
<div class="flex flex-wrap -m-4"> <div class="flex flex-wrap -m-4">
{% for item in include.team %} {% for item in include.data.team %}
<div class="p-4 lg:w-1/2"> <div class="p-4 lg:w-1/2">
<div class="h-full flex sm:flex-row flex-col items-center sm:justify-start justify-center text-center sm:text-left"> <div class="h-full flex sm:flex-row flex-col items-center sm:justify-start justify-center text-center sm:text-left">
<div class="flex-grow sm:pl-8"> <div class="flex-grow sm:pl-8">

View File

@ -18,7 +18,7 @@ main_page: True
{% include block/cta.html cta=site.data.ctas.newsletter %} {% include block/cta.html cta=site.data.ctas.newsletter %}
{% include block/stats.html data=site.data.general.stats %} {% include block/stats.html data=site.data.general.stats %}
{% include block/team.html cta=site.data.team %} {% include block/team.html data=site.data.team %}
{% include block/cta.html cta=site.data.ctas.end %} {% include block/cta.html cta=site.data.ctas.end %}