Skip to content
This repository was archived by the owner on Oct 21, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 549 Bytes

File metadata and controls

34 lines (20 loc) · 549 Bytes

waigo-plugin-sitemap

This waigo plugin provides:

  • Cron job to submit sitemap to Google and Bing.

Installation

$ npm install waigo-plugin-sitemap

Usage

The cron job is enabled by default and will run daily.

The sitemap is expected to be found at {app.config.baseURL}/sitemap.xml. You can change this in your config file:

module.exports = function(config) {
  ...

  config.sitemapPath = '/custom_sitemap.xml';  // relative to baseURL

  ...
}

License

MIT - see LICENSE.md