File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
packages/astro/src/vite-plugins Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,18 @@ export interface OverrideComponentsOptions {
57
57
Dialog ?: string ;
58
58
59
59
/**
60
- * Component for overriding links in the head tag.
60
+ * Component for overriding title, links and metadata in the `< head>` tag.
61
61
*
62
- * It will receive TutorialKit default links within the "default-links" slot.
62
+ * This component has slots that are used to pass TutorialKit's default tags:
63
+ *
64
+ * - `title`: The page title
65
+ * - `links`: Links for the favicon, fonts and other assets
66
+ * - `meta`: Metadata and Open Graph tags
63
67
*
64
68
* ```jsx
65
- * <slot name="default-links"></slot>
66
- * <link rel="sitemap" href="/sitemap-index.xml" />
69
+ * <slot name="title" />
70
+ * <slot name="links" />
71
+ * <slot name="meta" />
67
72
* ```
68
73
*/
69
74
HeadTags : string ;
You can’t perform that action at this time.
0 commit comments