diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-07-26 10:13:46 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-07-26 10:15:23 -0300 |
commit | bce6a52f44b6be8de1d7ed42150d051c25e63fb7 (patch) | |
tree | 3cb4b95fe277c37b3bba540f866ab5a2f02525f1 /src/content/dependencies/linkNewsIndex.js | |
parent | 40b607ef6f0500d36d1e7541b4229e45c866d5ae (diff) |
content: generateWikiHomePage (layout besides content)
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, +}; |