diff options
Diffstat (limited to 'src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js')
-rw-r--r-- | src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js b/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js index 91e435ac..f579cdc9 100644 --- a/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js +++ b/src/content/dependencies/generateAlbumSecondaryNavSeriesPart.js @@ -74,8 +74,19 @@ export default { content: language.sanitize(data.name), }), - 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.series', mainLinkOption: 'series', |