1.0.2 • Published 2 years ago

hexo-sitemap-generator v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

hexo-sitemap-generator

Sitemap generator plugin for Hexo, Changes in the hexo-generator-sitemap

Support: .xml.txt.html

Install

$ npm install hexo-sitemap-generator --save

Options

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-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
---
1.0.2

2 years ago

1.0.1

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago