From 1eee031a7e1b5eb1e2fd3d3fb7411bb7a8a841ef Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 19 Nov 2024 09:22:42 -0400 Subject: content: generate{Album,Track,}ReferencingArtworksPage --- src/page/track.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/page/track.js') 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], + }, + }, ]; } -- cgit 1.3.0-6-gf8a5