1.0.2 • Published 3 years ago
hexo-sitemap-generator v1.0.2
hexo-sitemap-generator
Sitemap generator plugin for Hexo, Changes in the hexo-generator-sitemap
Support: .xml、.txt、.html 
Install
$ npm install hexo-sitemap-generator --saveOptions
You can configure this plugin in _config.yml.
sitemaps:
  path: 
    - sitemap.xml
    - sitemap.txt
    - sitemap.html
  # template: ./sitemap_template.xml
  # template_txt: ./sitemap_template.txt
  # template_html: ./sitemap_template.html
  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)
- template_html - Custom template path. This file will be used to generate sitemap.html (See default html template)
- rel - Add rel-sitemapto 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
---