Skip to content

Commit bc30146

Browse files
cobbspurkevinansfield
authored andcommitted
Fix sitemap for author permalink (#8585)
refs #8494 - include author in postgenerator for sitemap
1 parent 88ba07f commit bc30146

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/server/data/xml/sitemap/post-generator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ _.extend(PostMapGenerator.prototype, {
3030
filter: 'visibility:public',
3131
status: 'published',
3232
staticPages: false,
33-
limit: 'all'
33+
limit: 'all',
34+
include: 'author'
3435
}).then(function (resp) {
3536
return resp.posts;
3637
});

0 commit comments

Comments
 (0)