Skip to content

Commit

Permalink
enh: consolidation (wip) (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosalm authored May 28, 2024
1 parent fcc7dd4 commit 1aa42ce
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/pages/coords.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import CoordCard from "../components/CoordCard.astro";
import { getCollection } from "astro:content";
const CoordsCollection = await getCollection("coordinators");
const coc = await getCollection("code-of-conduct");
const coc_rendered = await coc.filter(d => d.id == "code-of-conduct.md")[0].render();
---

<Layout>
Expand Down Expand Up @@ -54,5 +58,13 @@ const CoordsCollection = await getCollection("coordinators");
}}
/>
</div>
</div>
</div>
<div class="inline w-full overflow-hidden text-slate-800">
<div class="mx-auto w-3/4">
<div class="text-base/6 font-sans prose prose-lg prose-zinc">
<coc_rendered.Content>
</div>
</div>
</div>

</Layout>

0 comments on commit 1aa42ce

Please sign in to comment.