doc: add baidu sitemap and robots

This commit is contained in:
Leon Xu committed 2021-07-10 12:48:30 -07:00
1 parent fae496a455
commit 420d2c4c40
3 files changed
+1470 -30

No files matched your search

+19 -1
View File
@@ -113,4 +113,22 @@ sitemap:
template: ./sitemap.xml
rel: false
tags: true
categories: true
categories: true
baidusitemap:
path: baidusitemap.xml
# Robots
robotstxt:
useragent: "*"
allow:
- /
disallow:
- /vendors/
- /js/
- /css/
- /fonts/
- /fancybox/
sitemap:
- https://geneliunx.com/sitemap.xml
- https://geneliunx.com/baidusitemap.xml
+2
View File
@@ -15,8 +15,10 @@
"hexo": "^5.0.0",
"hexo-asset-image": "^1.0.0",
"hexo-generator-archive": "^1.0.0",
"hexo-generator-baidu-sitemap": "^0.1.9",
"hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-robotstxt": "^0.2.0",
"hexo-generator-sitemap": "^2.1.0",
"hexo-generator-tag": "^1.0.0",
"hexo-permalink-pinyin": "^1.1.0",
+1449 -29
View File
File diff suppressed because it is too large. Load diff