pengzhanbo 385059f214
docs: update en docs (#708)
* docs: update en docs

* chore: tweak

* chore: tweak

* chore: tweak
2025-10-09 15:46:05 +08:00

36 lines
836 B
Markdown

---
title: sitemap
icon: mdi:sitemap-outline
createTime: 2025/10/08 16:47:00
permalink: /en/guide/sitemap/
---
## Usage
The theme provides out-of-the-box configuration to generate a `sitemap.xml` file for the site.
To enable it, the following configuration is required:
```ts title=".vuepress/config.ts"
export default defineUserConfig({
theme: plumeTheme({
hostname: 'http://your_site_url',
})
})
```
If customization of the sitemap is needed, it can be achieved through the `plugins.sitemap` configuration.
```ts title=".vuepress/config.ts"
export default defineUserConfig({
theme: plumeTheme({
plugins: {
sitemap: {
// ... sitemap configurations
}
}
})
})
```
Refer to the [documentation](https://ecosystem.vuejs.press/zh/plugins/seo/sitemap/config.html) for the complete configuration.