0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fix sitemap for author permalink (#8585)

refs #8494
- include author in postgenerator for sitemap
This commit is contained in:
David Wolfe 2017-06-15 18:25:18 +01:00 committed by Kevin Ansfield
parent 88ba07f657
commit bc301463c7

View file

@ -30,7 +30,8 @@ _.extend(PostMapGenerator.prototype, {
filter: 'visibility:public',
status: 'published',
staticPages: false,
limit: 'all'
limit: 'all',
include: 'author'
}).then(function (resp) {
return resp.posts;
});