Commit Graph

4 Commits

Author SHA1 Message Date
MDLeom 8c8dfef58a
refactor(sitemap): de-duplicate date formatting 2020-07-01 08:27:26 +01:00
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
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/template.js (Browse further)