16 lines
481 B
Plaintext
16 lines
481 B
Plaintext
---
|
|
import SiteLayout from "../../layouts/SiteLayout.astro";
|
|
import { getCollection } from "astro:content";
|
|
|
|
const entries = await getCollection("glossaire");
|
|
entries.sort((a, b) => a.data.term.localeCompare(b.data.term, "fr"));
|
|
---
|
|
<SiteLayout title="Glossaire archicratique">
|
|
<h1>Glossaire archicratique</h1>
|
|
<ul>
|
|
{entries.map((e) => (
|
|
<li><a href={`/glossaire/${e.slug}/`}>{e.data.term}</a> — <em>{e.data.definitionShort}</em></li>
|
|
))}
|
|
</ul>
|
|
</SiteLayout>
|