add partners intro
This commit is contained in:
@@ -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 %}
|
||||
|
||||
7
templates/partials/intro.html
Normal file
7
templates/partials/intro.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user