diff --git a/src/components/footer.astro b/src/components/footer.astro index 74de0a3..6780ba1 100644 --- a/src/components/footer.astro +++ b/src/components/footer.astro @@ -3,7 +3,7 @@ const year = new Date().getFullYear(); --- diff --git a/src/layouts/page.astro b/src/layouts/page.astro new file mode 100644 index 0000000..bcd1d08 --- /dev/null +++ b/src/layouts/page.astro @@ -0,0 +1,26 @@ +--- +import Footer from "../components/footer.astro"; + +interface Props { + title?: string; +} + +let { title } = Astro.props; + +title = title !== undefined ? `${title} - ` : title; +--- + + + + + + + {title}Philippe Loctaux + + +
+ +
+