sitemap
About 88 wordsLess than 1 minute
2025-10-08
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:
.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.
.vuepress/config.ts
export default defineUserConfig({
theme: plumeTheme({
plugins: {
sitemap: {
// ... sitemap configurations
}
}
})
})
Refer to the documentation for the complete configuration.