diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumSecondaryNavGroupPart.js')
-rw-r--r-- | src/content/dependencies/generateAlbumSecondaryNavGroupPart.js | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNavGroupPart.js b/src/content/dependencies/generateAlbumSecondaryNavGroupPart.js index f2c9290c..9f9aaf23 100644 --- a/src/content/dependencies/generateAlbumSecondaryNavGroupPart.js +++ b/src/content/dependencies/generateAlbumSecondaryNavGroupPart.js @@ -71,8 +71,20 @@ export default { colorStyle: relations.colorStyle, mainLink: relations.groupLink, - previousLink: relations.previousAlbumLink, - nextLink: relations.nextAlbumLink, + + previousLink: + (relations.previousAlbumLink + ? relations.previousAlbumLink.slots({ + linkCommentaryPages: true, + }) + : null), + + nextLink: + (relations.nextAlbumLink + ? relations.nextAlbumLink.slots({ + linkCommentaryPages: true, + }) + : null), stringsKey: 'albumSecondaryNav.group', mainLinkOption: 'group', |