node package manager

hexo-generator-sitemap

hexo-generator-sitemap

Build Status NPM version Coverage Status

Generate sitemap.

Install

$ npm install hexo-generator-sitemap --save
  • Hexo 3: 1.x
  • Hexo 2: 0.x

Options

You can configure this plugin in _config.yml.

sitemap:
    path: sitemap.xml
    template: ./sitemap_template.xml
  • path - Sitemap path. (Default: sitemap.xml)
  • template - Custom template path. This file will be used to generate sitemap.xml (See default template)

Excluding Posts

Add sitemap: false to the post's front matter.