From ec129ac9ce0b143ca4c325108ea66c2d0e7352ff Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 17 Nov 2024 18:16:18 -0400 Subject: content: generate{Album,}ReferencedArtworksPage --- src/page/track.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/page/track.js') diff --git a/src/page/track.js b/src/page/track.js index beb804f8..ea5d0dce 100644 --- a/src/page/track.js +++ b/src/page/track.js @@ -20,15 +20,14 @@ export function pathsForTarget(track) { }, }, - !empty(track.referencedArtworks) && - { - type: 'page', - path: ['trackReferencedArtworks', track.directory], + !empty(track.referencedArtworks) && { + type: 'page', + path: ['trackReferencedArtworks', track.directory], - contentFunction: { - name: 'generateTrackReferencedArtworksPage', - args: [track], - }, + contentFunction: { + name: 'generateTrackReferencedArtworksPage', + args: [track], }, + }, ]; } -- cgit 1.3.0-6-gf8a5