classe et espece

This commit is contained in:
2026-02-15 23:01:45 +04:00
parent b173f63088
commit 11b618b8e1
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
--- ---
import { getCollection, render } from "astro:content"; import { getCollection, render } from "astro:content";
import GameLayout from "../../../layouts/GameLayout.astro"; import GameLayout from "../../layouts/GameLayout.astro";
export async function getStaticPaths() { export async function getStaticPaths() {
const classEntries = await getCollection("classes"); const classEntries = await getCollection("classes");

View File

@@ -1,6 +1,6 @@
--- ---
import { getCollection, render } from "astro:content"; import { getCollection, render } from "astro:content";
import GameLayout from "../../../layouts/GameLayout.astro"; import GameLayout from "../../layouts/GameLayout.astro";
export async function getStaticPaths() { export async function getStaticPaths() {
const especeEntries = await getCollection("especes"); const especeEntries = await getCollection("especes");
@@ -21,7 +21,7 @@ const { Content } = await render(entry);
<header class="post-header"> <header class="post-header">
<a href="/creation" class="back-nav">← Retour à la création</a> <a href="/creation" class="back-nav">← Retour à la création</a>
<h1>{entry.data.title}</h1> <h1>{entry.data.title}</h1>
<p>{entry.data.description}</p> <p>{entry.data.description}</p>
</header> </header>
<hr class="separator" /> <hr class="separator" />