add partners intro

This commit is contained in:
samaradel
2023-12-11 12:57:06 +02:00
parent a4aff21bed
commit 83a87f7cca
4 changed files with 15 additions and 10 deletions

View File

@@ -5,17 +5,14 @@ consists of a featured partners row,
a paginated list of posts (sorted by date),
and a side nav for category and featured post navigation
-->
{% block content %}
<main>
<!--sets global featured variable as the most recent post with the isFeatured tag-->
{%- set section = get_section(path="partners/_index.md") %}
<div class="flex flex-col md:flex-row container mx-auto my-10">
{% include "partials/intro.html" %}
<div class="flex flex-row container mx-auto my-10">
{% include "partials/partnersCards.html" %}
{% include "partials/partnersSidebar.html" %}
</div>
</main>
{% endblock content %}
</main>
{% endblock content %}

View File

@@ -0,0 +1,7 @@
{% block content %}
<div class="text-center px-0 md:w-2/3 pt-12 lg:w-2/3 mx-8 md:mx-12">
<p class="mx-auto max-w-screen-md text-center text-gray-600 md:text-lg">
{{ section.description }}
</p>
</div>
{% endblock content %}