diff --git a/docs/src/config.ts b/docs/src/config.ts index 2a4197ae9..b24b5c499 100644 --- a/docs/src/config.ts +++ b/docs/src/config.ts @@ -67,3 +67,7 @@ export const sidebar = [ // ], // }, ]; + +export const site = { + title: 'Astro Documentation', +}; diff --git a/docs/src/layouts/Main.astro b/docs/src/layouts/Main.astro index f2a73e07e..25292896f 100644 --- a/docs/src/layouts/Main.astro +++ b/docs/src/layouts/Main.astro @@ -4,6 +4,7 @@ import SiteSidebar from '../components/SiteSidebar.astro'; import ThemeToggle from '../components/ThemeToggle.tsx'; import DocSidebar from '../components/DocSidebar.tsx'; import MenuToggle from '../components/MenuToggle.tsx'; +import { site } from "../config.ts"; const { content = {}, centered = false } = Astro.props; const headers = content?.astro?.headers; @@ -20,7 +21,7 @@ if (currentPage) {
-