Skip to content

Commit

Permalink
Fix sitemap for author permalink (#8585)
Browse files Browse the repository at this point in the history
refs #8494
- include author in postgenerator for sitemap
  • Loading branch information
cobbspur authored and kevinansfield committed Jun 15, 2017
1 parent 88ba07f commit bc30146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/server/data/xml/sitemap/post-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit bc30146

Please sign in to comment.