Closed liadbiz closed 6 years ago
@liadbiz
Because Hexo 3.X.X has upgraded some code.
You can alter the file : node_modules\hexo-generator-baidu-sitemap\baidusitemap.ejs
, change post.tags.toArray()
to post.tags
and change post.categories.toArray()
to post.categories
. Then you can generate baidusitemap.xml successfully.
@lewky Thanks! I will try it later.
Later will update it
done~
Hi, I am using hexo 3.6.0. According to your doc, I should config like this:
but after that, I ran
hexo g
. Then, I checked out thepublic
directory and found that there are no filebaidusitemap.xml
.Did I use it in a wrong way?