Commit Graph

6 Commits

Author SHA1 Message Date
MDLeom a2a68d3291
fix(sitemap): use latest post's date as <lastmod>
- posts[0] is used instead of posts.first() because first()
is not available after posts.toArray()
2020-07-01 07:46:16 +01:00
MDLeom d0ac052b59
feat: 'updated_option' config
- post.updated will be null if not set in front-matter
- https://github.com/hexojs/hexo/pull/4278
2020-06-23 05:27:55 +01:00
curben d70dea4097
refactor(sitemap): let to const 2019-12-12 08:58:09 +00:00
curben 8b510a0380
refactor(sitemap): Array.concat() to Array.push() 2019-11-04 10:44:30 +00:00
curben c61fdab84f
fix(sitemap): modernise
- 'index.html' removal function is replaced by pretty_urls config
- add homepage
- remove uriencode, permalink is now encoded by default in Hexo v4+
- es6-fy
2019-10-17 07:01:35 +01:00
curben 14c57d7009
fix: move scripts to theme
- portability
2019-10-06 10:52:28 +01:00
Renamed from scripts/sitemap/generator.js (Browse further)