« get me outta code hell

generateNextLink.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/generateNextLink.js
blob: 2e48cd2b01ffecef66665f67d6b127a331569537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export default {
  contentDependencies: ['generatePreviousNextLink'],

  relations: (relation) => ({
    link:
      relation('generatePreviousNextLink'),
  }),

  generate: (relations) =>
    relations.link.slots({
      direction: 'next',
    }),
};