diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 7f3c29e..de9a863 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -3,6 +3,8 @@ import "styles/style.css"; import Sidebar from "components/Sidebar.astro"; const { headings } = Astro.props; import { ViewTransitions } from "astro:transitions"; + +const title = headings ? headings[0].text + " | dreamland docs" : "404 | dreamland docs"; --- @@ -10,7 +12,13 @@ import { ViewTransitions } from "astro:transitions"; - {headings ? headings[0].text + " | dreamland docs" : "404 | dreamland docs"} + + + + + + + {title}