Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 576 Bytes

File metadata and controls

24 lines (18 loc) · 576 Bytes

@greenwood/plugin-dynamic-sitemap

Overview

Spiders love to spider. To show our love to all the spiders out there, this plugin reads the graph and renders a sitemap.xml. Currently, it handles up to 10000 content entries, warning after 9000 content entries.

Usage

Add this plugin to your greenwood.config.js and spread the export.

import { greenwoodPluginDynamicExport } from '@greenwood/plugin-dynamic-sitemap';

export default {
  ...

  plugins: [
    greenwoodPluginDynamicExport({
      "baseUrl": "https://example.com"
    })
  ]
}