Skip to content

Commit

Permalink
add partners intro
Browse files Browse the repository at this point in the history
  • Loading branch information
samaradel committed Dec 11, 2023
1 parent a4aff21 commit 83a87f7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
5 changes: 3 additions & 2 deletions content/partners/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
---
title: "Partners"
paginate_by: 6

# paginate_reversed: false

sort_by: "none"
insert_anchor_links: "left"
#base_url: "posts"
Expand All @@ -10,6 +12,5 @@ insert_anchor_links: "left"
template: "layouts/partners.html"
page_template: "partnerPage.html"
#transparent: true
description: "Partners are projects with whom we have at least signed an agreement (most typically a Memorandum of Understanding) to move forward. These partners collectively embody our commitment to collaboration across various phases of development, strengthening our shared mission."
---

Hello
2 changes: 1 addition & 1 deletion static/css/index.css

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions templates/layouts/partners.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,14 @@
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 changes: 7 additions & 0 deletions templates/partials/intro.html
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 83a87f7

Please sign in to comment.