diff options
Diffstat (limited to 'src/page/track.js')
-rw-r--r-- | src/page/track.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/page/track.js b/src/page/track.js index ea5d0dce..94a1e48d 100644 --- a/src/page/track.js +++ b/src/page/track.js @@ -29,5 +29,15 @@ export function pathsForTarget(track) { args: [track], }, }, + + !empty(track.referencedByArtworks) && { + type: 'page', + path: ['trackReferencingArtworks', track.directory], + + contentFunction: { + name: 'generateTrackReferencingArtworksPage', + args: [track], + }, + }, ]; } |