You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slug of the landing page. Defaults to the page name.
520
+
521
+
The slug can also be overridden in the frontmatter of the landing page Markdown file.
522
+
</ParamField>
523
+
517
524
See [Vapi's landing page live](https://docs.vapi.ai/) and the associated [Markdown file](https://github.com/VapiAI/docs/blob/main/fern/quickstart/introduction.mdx?plain=1).
Copy file name to clipboardExpand all lines: fern/products/docs/pages/seo/configuring-slugs.mdx
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,16 @@ navigation:
83
83
84
84
In the example above, the **Welcome** page would be hosted at `plantstore.docs.buildwithfern.com/guides/get-started/welcome`.
85
85
86
+
#### Modify a landing page's slug
87
+
To modify the slug used for a tab, you can set the `slug` within the `landing-page` object.
88
+
89
+
```yaml title="docs.yml" {4}
90
+
landing-page:
91
+
page: Page Title
92
+
path: path/to/landing-page.mdx
93
+
slug: /welcome
94
+
```
95
+
86
96
#### Override a page's slug
87
97
You can set the exact slug of a page within its frontmatter. [You can read more about the frontmatter configuration here](/learn/docs/content/frontmatter#slug).
0 commit comments