16 lines
431 B
Plaintext
16 lines
431 B
Plaintext
---
|
|
import SiteLayout from "../../layouts/SiteLayout.astro";
|
|
import { getCollection } from "astro:content";
|
|
|
|
const entries = await getCollection("atlas");
|
|
entries.sort((a, b) => (a.data.order ?? 9999) - (b.data.order ?? 9999));
|
|
---
|
|
<SiteLayout title="Atlas archicratique">
|
|
<h1>Atlas archicratique</h1>
|
|
<ul>
|
|
{entries.map((e) => (
|
|
<li><a href={`/atlas/${e.slug}/`}>{e.data.title}</a></li>
|
|
))}
|
|
</ul>
|
|
</SiteLayout>
|