« get me outta code hell

content, upd8, yaml: adapt to combined artistData - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-30 10:52:20 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-30 14:30:05 -0400
commit7fbc5b87ed05bce433ed959ca18119b72835ee41 (patch)
treea9b96e8e575a927ed2e4a7a16036fce88b9a4a1d /src/write
parentf12bbec38694c30a79655a0be54768cd83f1efb5 (diff)
content, upd8, yaml: adapt to combined artistData
Diffstat (limited to 'src/write')
-rw-r--r--src/write/common-templates.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/write/common-templates.js b/src/write/common-templates.js
index d897a73b..c9824a48 100644
--- a/src/write/common-templates.js
+++ b/src/write/common-templates.js
@@ -46,10 +46,12 @@ export function generateRandomLinkDataJSON({wikiData}) {
 
     artistDirectories:
       artistData
+        .filter(artist => !artist.isAlias)
         .map(artist => artist.directory),
 
     artistNumContributions:
       artistData
+        .filter(artist => !artist.isAlias)
         .map(artist => getArtistNumContributions(artist)),
   });
 }