We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d6844 commit 2f6e156Copy full SHA for 2f6e156
astro.config.mjs
@@ -44,8 +44,7 @@ export default defineConfig({
44
github: "https://github.com/aptos-labs/",
45
},
46
components: {
47
- // Override the default `Head` component.
48
- PageFrame: "./src/components/PageFrame.astro",
+ Head: "./src/starlight-overrides/Head.astro",
49
50
plugins: [
51
// Generate the OpenAPI documentation pages.
src/components/PageFrame.astro
src/starlight-overrides/Head.astro
@@ -0,0 +1,8 @@
1
+---
2
+import type { Props } from '@astrojs/starlight/props';
3
+import Default from '@astrojs/starlight/components/Head.astro';
4
+import Analytics from "@vercel/analytics/astro"
5
6
+
7
+<Default {...Astro.props}><slot /></Default>
8
+<Analytics />
0 commit comments