Newtonian Physics Mockumentary
Miss any of our Open RFC calls?Watch the recordings here! »

hexo-generator-sitemap

2.1.0 • 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
  template: ./sitemap_template.xml
  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 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
---

Install

npm i hexo-generator-sitemap

DownloadsWeekly Downloads

3,783

Version

2.1.0

License

MIT

Unpacked Size

7.22 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar