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:
parent
88ba07f657
commit
bc301463c7
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ _.extend(PostMapGenerator.prototype, {
|
||||||
filter: 'visibility:public',
|
filter: 'visibility:public',
|
||||||
status: 'published',
|
status: 'published',
|
||||||
staticPages: false,
|
staticPages: false,
|
||||||
limit: 'all'
|
limit: 'all',
|
||||||
|
include: 'author'
|
||||||
}).then(function (resp) {
|
}).then(function (resp) {
|
||||||
return resp.posts;
|
return resp.posts;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue