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

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.