hexo-generator-sitemap

3.0.1 • Public • Published

hexo-generator-sitemap

Build Status NPM version Coverage Status

Generate sitemap.

Install

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

Options

You can configure this plugin in _config.yml.

sitemap:
  path: 
    - sitemap.xml
    - sitemap.txt
  template: ./sitemap_template.xml
  template_txt: ./sitemap_template.txt
  rel: false
  tags: true
  categories: true
  • path - Sitemap path. (Default: sitemap.xml)
  • template - Custom template path. This file will be used to generate sitemap.xml (See default xml template)
  • template_txt - Custom template path. This file will be used to generate sitemap.txt (See default txt template)
  • rel - Add rel-sitemap to the site's header. (Default: false)
  • tags - Add site's tags
  • categories - Add site's categories

Exclude Posts/Pages

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

---
title: lorem ipsum
date: 2020-01-02
sitemap: false
---

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.13,813latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.13,813
3.0.00
2.2.0158
2.1.0119
2.0.012
1.2.038
1.1.213
1.1.11
1.1.01
1.0.11
1.0.00
0.2.00
0.1.41
0.1.30
0.1.20
0.1.10
0.1.00
0.0.61
0.0.50
0.0.40
0.0.30
0.0.20
0.0.11

Package Sidebar

Install

npm i hexo-generator-sitemap

Weekly Downloads

4,159

Version

3.0.1

License

MIT

Unpacked Size

8.36 kB

Total Files

9

Last publish

Collaborators

  • ertrzyiks
  • abnerchou
  • tommy351
  • hexobot
  • jlhwung
  • tomap
  • curben
  • yoshinorin