diff --git a/src/layouts/GlossaryLayout.astro b/src/layouts/GlossaryLayout.astro new file mode 100644 index 0000000..67b7f90 --- /dev/null +++ b/src/layouts/GlossaryLayout.astro @@ -0,0 +1,24 @@ +--- +import EditionLayout from "./EditionLayout.astro"; + +const { + title, + version, +} = Astro.props; +--- + + + + + + + + \ No newline at end of file diff --git a/src/pages/glossaire/[...slug].astro b/src/pages/glossaire/[...slug].astro index da3cdca..662d6c2 100644 --- a/src/pages/glossaire/[...slug].astro +++ b/src/pages/glossaire/[...slug].astro @@ -1,5 +1,5 @@ --- -import EditionLayout from "../../layouts/EditionLayout.astro"; +import GlossaryLayout from "../../layouts/GlossaryLayout.astro"; import GlossaryAside from "../../components/GlossaryAside.astro"; import { getCollection, render } from "astro:content"; @@ -17,13 +17,8 @@ const allEntries = await getCollection("glossaire"); const { Content } = await render(entry); --- - @@ -32,5 +27,6 @@ const { Content } = await render(entry); {entry.data.term} {entry.data.definitionShort} + - \ No newline at end of file + \ No newline at end of file
{entry.data.definitionShort}