« get me outta code hell

content: artwork chronology links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkAnythingMan.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-03-31 17:45:29 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-10 16:02:37 -0300
commitec8c79787ab330986e9da590fd500c7ceda893f2 (patch)
tree311920108f22fcf1f8de178f4f7efd654e0f6abc /src/content/dependencies/linkAnythingMan.js
parent963c84f1bb9fd88cc0873dd6da77da1896c6b5ea (diff)
content: artwork chronology links
Diffstat (limited to 'src/content/dependencies/linkAnythingMan.js')
-rw-r--r--src/content/dependencies/linkAnythingMan.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/dependencies/linkAnythingMan.js b/src/content/dependencies/linkAnythingMan.js
index d4697403..e408c1b2 100644
--- a/src/content/dependencies/linkAnythingMan.js
+++ b/src/content/dependencies/linkAnythingMan.js
@@ -1,6 +1,7 @@
 export default {
   contentDependencies: [
     'linkAlbum',
+    'linkArtwork',
     'linkFlash',
     'linkTrack',
   ],
@@ -13,6 +14,8 @@ export default {
     link:
       (query.referenceType === 'album'
         ? relation('linkAlbum', thing)
+     : query.referenceType === 'artwork'
+        ? relation('linkArtwork', thing)
      : query.referenceType === 'flash'
         ? relation('linkFlash', thing)
      : query.referenceType === 'track'