Commit Graph

6 Commits

Author SHA1 Message Date
curben 8717b52283 fix(sitemap): use post.lastUpdated
* post.updated = execution time of 'hexo generate'
* use moment.format() instead of Date.toISOString() to avoid timezone conversion
  - Use '[T00:00:00.000Z]' to ignore time, instead of '[T]HH:mm:ss.sss[Z]'
  - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
2019-06-04 13:08:09 +09:30
curben c601a31b13 refactor: array in one line 2019-05-30 19:20:20 +09:30
curben 0fe5658173 fix(sitemap): remove index.html from url
a92dbbb83c
3fccc82d3a
2019-05-30 19:18:11 +09:30
curben 4a785a6cf1 fix: exclude webmaster verification file from rendering
fix(sitemap): skipRenderList shouldn't be a constant due to line 13-17
2019-05-30 18:15:15 +09:30
curben 69d7aabe63 feat: add Google Webmaster
exclude the verification file from sitemap.xml
2019-05-30 18:04:31 +09:30
curben eb2a009ac0 feat: add sitemap.xml
https://github.com/hexojs/hexo-generator-sitemap
2019-05-27 11:58:48 +09:30