« get me outta code hell

generatePreviousLink.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/generatePreviousLink.js
blob: 775367f95707493003befd6f2e91ff60844e5537 (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: 'previous',
    }),
};