« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/album.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/album.js')
-rw-r--r--src/page/album.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 76f3d6b0..be551ca7 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -50,6 +50,16 @@ export function pathsForTarget(album) {
       },
     },
 
+    !empty(album.referencedByArtworks) && {
+      type: 'page',
+      path: ['albumReferencingArtworks', album.directory],
+
+      contentFunction: {
+        name: 'generateAlbumReferencingArtworksPage',
+        args: [album],
+      },
+    },
+
     /*
     {
       type: 'data',