classe et espece
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { getCollection, render } from "astro:content";
|
||||
import GameLayout from "../../../layouts/GameLayout.astro";
|
||||
import GameLayout from "../../layouts/GameLayout.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const classEntries = await getCollection("classes");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { getCollection, render } from "astro:content";
|
||||
import GameLayout from "../../../layouts/GameLayout.astro";
|
||||
import GameLayout from "../../layouts/GameLayout.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const especeEntries = await getCollection("especes");
|
||||
@@ -21,7 +21,7 @@ const { Content } = await render(entry);
|
||||
<header class="post-header">
|
||||
<a href="/creation" class="back-nav">← Retour à la création</a>
|
||||
<h1>{entry.data.title}</h1>
|
||||
<p>{entry.data.description}</p>
|
||||
<p>{entry.data.description}</p>
|
||||
</header>
|
||||
|
||||
<hr class="separator" />
|
||||
|
||||
Reference in New Issue
Block a user