« get me outta code hell

linkNewsIndex.js « dependencies « content « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkNewsIndex.js
blob: e911a384e8dac2108aa4996d4bd20fcfe5ef1d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export default {
  contentDependencies: ['linkStationaryIndex'],

  relations: (relation) =>
    ({link:
        relation(
          'linkStationaryIndex',
          'localized.newsIndex',
          'newsIndex.title')}),

  generate: (relations) => relations.link,
};