Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo 3.3.7 版本无法生成 baidusitemap.xml #17

Closed
chhogir opened this issue Jun 2, 2017 · 4 comments
Closed

hexo 3.3.7 版本无法生成 baidusitemap.xml #17

chhogir opened this issue Jun 2, 2017 · 4 comments

Comments

@chhogir
Copy link

chhogir commented Jun 2, 2017

安装了 hexo-generator-sitemap@1.2.0hexo-generator-baidu-sitemap@0.1.1

hexo clean && hexo g 后发现无法生成 baidusitemap.xml

调试时发现rename baidusitemap.xml -> sitemap.xml ,不知道是不是只有我个人出现这样的问题。

后来直接在主题配置文件里 只配置

baidusitemap: 
  path: baidusitemap.xml

才可以生成 baidusitemap.xml,而且也生成了 sitemap.xml,不知道为什么???

@dwj999
Copy link

dwj999 commented Jul 18, 2017

我的hexo 3.3.7版本,执行以下都不行,都不会生成baidusitemap.xml
npm install hexo-generator-baidu-sitemap --save
npm install hexo-generator-baidu-sitemap@0.1.1 --save
npm install hexo-generator-baidu-sitemap --save-dev
npm install hexo-generator-baidu-sitemap@0.1.1 --save-dev

站点目录配置如下:
sitemap:
path: sitemap.xml
baidumap:
path: baidusitemap.xml

@ArchitectBeaver
Copy link

Hexo版本: hexo 3.3.8 and hexo-cli 1.0.3.
同时安装了 hexo-generator-sitemap@1.2.0hexo-generator-baidu-sitemap@0.1.1
产生和@GFigure 同样的问题

@HeyShinner
Copy link

请问issue解决了吗😊

@coneycode
Copy link
Owner

done,请更新到最新版本~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants