diff options
Diffstat (limited to 'src/content/dependencies/linkNewsIndex.js')
-rw-r--r-- | src/content/dependencies/linkNewsIndex.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/content/dependencies/linkNewsIndex.js b/src/content/dependencies/linkNewsIndex.js new file mode 100644 index 00000000..e911a384 --- /dev/null +++ b/src/content/dependencies/linkNewsIndex.js @@ -0,0 +1,12 @@ +export default { + contentDependencies: ['linkStationaryIndex'], + + relations: (relation) => + ({link: + relation( + 'linkStationaryIndex', + 'localized.newsIndex', + 'newsIndex.title')}), + + generate: (relations) => relations.link, +}; |