What's wrong with generateh and deploy in the hexo github environment?

< H2 > the great gods wait online < / H2 >

before that, try to get Google Baidu to admit the website, and then hexo6_16.png

hexo6_3.png

install the instructions above in the tutorial (this is the tutorial address: https://www.cnblogs.com/tengj.)
and then deploy to the server. Enter the address: http:// your domain name / googlead0e226. you can click the verify button if you can access it.
results do not work
I will forget
and continue with the installation tutorial
use the following two commands to install plug-ins for Google and Baidu

npm install hexo-generator-sitemap-- save
npm install hexo-generator-baidu-sitemap-- save

and then
add the following code to _ config.yml in the blog directory

-sharp sitemap
sitemap:
path: sitemap.xml
baidusitemap:
path: baidusitemap.xml

then he said to compile your blog

hexo g

is wrong

the following is the error code

FATAL duplicated mapping key at line 93, column 1:
    path: baidusitemap.xml
    ^
YAMLException: duplicated mapping key at line 93, column 1:
    path: baidusitemap.xml
    ^
    at generateError (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:165:10)
    at throwError (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:171:9)
    at storeMappingPair (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:308:7)
    at readBlockMapping (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:1071:9)
    at composeNode (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:1332:12)
    at readDocument (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:1492:3)
    at loadDocuments (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:1548:5)
    at Object.load (C:\\node_modules\js-yaml\lib\js-yaml\loader.js:1569:19)
    at Hexo.yamlHelper (C:\\node_modules\hexo\lib\plugins\renderer\yaml.js:7:15)
    at Hexo.tryCatcher (C:\\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (C:\\node_modules\bluebird\js\release\method.js:15:34)
    at Promise.then.text (C:\\node_modules\hexo\lib\hexo\render.js:61:21)
    at tryCatcher (C:\\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromise0 (C:\\node_modules\bluebird\js\release\promise.js:614:10)

then I found out that the reason is that path: baidusitemap.xml deleted these sentences

but hexo g then reported an error

$ hexo generate
INFO  Start processing
FATAL Something"s wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: ejs:13
    11|         <title><%-: post.title %></title>
    12|         <pubTime><%= post.date.toDate().toISOString() %></pubTime>
    13|         <%if(post.tags){ post.tags.toArray().forEach(function(tag){ %>
    14|         <tag><%= tag.name %></tag>
    15|          <% })}/*%>
    16|          <content><%-: post.content%></content>

post.tags.toArray is not a function
    at eval (eval at exports.compile (C:\\node_modules\hexo-generator-baidu-sitemap\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:767)
    at Array.forEach (<anonymous>)
    at eval (eval at exports.compile (C:\\node_modules\hexo-generator-baidu-sitemap\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:211)
    at eval (eval at exports.compile (C:\\node_modules\hexo-generator-baidu-sitemap\node_modules\ejs\lib\ejs.js:242:14), <anonymous>:30:1600)
    at C:\\node_modules\hexo-generator-baidu-sitemap\node_modules\ejs\lib\ejs.js:255:15
    at Hexo.module.exports (C:\\node_modules\hexo-generator-baidu-sitemap\lib\generator.js:19:13)
    at Hexo.tryCatcher (C:\\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (C:\\node_modules\bluebird\js\release\method.js:15:34)
    at Promise.map.key (C:\\node_modules\hexo\lib\hexo\index.js:336:26)
    at tryCatcher (C:\\node_modules\bluebird\js\release\util.js:16:23)
    at MappingPromiseArray._promiseFulfilled (C:\\node_modules\bluebird\js\release\map.js:61:38)
    at MappingPromiseArray.PromiseArray._iterate (C:\\node_modules\bluebird\js\release\promise_array.js:114:31)
    at MappingPromiseArray.init (C:\\node_modules\bluebird\js\release\promise_array.js:78:10)
    at MappingPromiseArray._asyncInit (C:\\node_modules\bluebird\js\release\map.js:30:10)
    at Async._drainQueue (C:\\node_modules\bluebird\js\release\async.js:138:12)
    at Async._drainQueues (C:\\node_modules\bluebird\js\release\async.js:143:10)

ask the great god to solve it.

Apr.11,2021
Menu