3.0.1 • Published 3 years ago
hexo-generator-sitemap v3.0.1
hexo-generator-sitemap
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
---
3.0.1
3 years ago
3.0.0
3 years ago
2.2.0
3 years ago
2.1.0
5 years ago
2.0.0
5 years ago
1.2.0
8 years ago
1.1.2
9 years ago
1.1.1
9 years ago
1.1.0
9 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.2.0
11 years ago
0.1.4
11 years ago
0.1.3
11 years ago
0.1.2
11 years ago
0.1.1
11 years ago
0.1.0
11 years ago
0.0.6
12 years ago
0.0.5
12 years ago
0.0.4
12 years ago
0.0.3
12 years ago
0.0.2
12 years ago
0.0.1
12 years ago