836 B
836 B
title, icon, createTime, permalink
| title | icon | createTime | permalink |
|---|---|---|---|
| sitemap | mdi:sitemap-outline | 2025/10/08 16:47:00 | /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:
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.
export default defineUserConfig({
theme: plumeTheme({
plugins: {
sitemap: {
// ... sitemap configurations
}
}
})
})
Refer to the documentation for the complete configuration.