« get me outta code hell

data: ContentEntry.{headingArtists,quotedArtists} - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContentEntry.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-31 13:44:40 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-31 13:44:54 -0300
commitcab396d92152d2c75625dcef099093c136f538b5 (patch)
tree8ad42decdcd33d62a10250f2305d2addfa585651 /src/content/dependencies/generateContentEntry.js
parenta20a34a0b839cc19a89e5f18d75683487f36bfa4 (diff)
data: ContentEntry.{headingArtists,quotedArtists}
Diffstat (limited to 'src/content/dependencies/generateContentEntry.js')
-rw-r--r--src/content/dependencies/generateContentEntry.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/dependencies/generateContentEntry.js b/src/content/dependencies/generateContentEntry.js
index c77f744a..40c637a3 100644
--- a/src/content/dependencies/generateContentEntry.js
+++ b/src/content/dependencies/generateContentEntry.js
@@ -3,14 +3,14 @@ import {empty} from '#sugar';
 export default {
   relations: (relation, entry) => ({
     artistLinks:
-      (!empty(entry.artists) && !entry.artistText
-        ? entry.artists
+      (!empty(entry.headingArtists) && !entry.headingArtistText
+        ? entry.headingArtists
             .map(artist => relation('linkArtist', artist))
         : null),
 
     artistsContent:
-      (entry.artistText
-        ? relation('transformContent', entry.artistText)
+      (entry.headingArtistText
+        ? relation('transformContent', entry.headingArtistText)
         : null),
 
     annotationContent: