« get me outta code hell

content: creditList.entry.withContribution -> withAnnotation - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateArtistInfoPageChunkItem.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-06 10:11:11 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-06 10:11:11 -0400
commitc687af21ffbc1fcb4e12d26e4c68af8faf9ce0e8 (patch)
treeba12e0512828c5e667df555e861c203739e16a7e /src/content/dependencies/generateArtistInfoPageChunkItem.js
parenta51a129626653d6376d3afb1404e3bbc84ee2cfd (diff)
content: creditList.entry.withContribution -> withAnnotation
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageChunkItem.js')
-rw-r--r--src/content/dependencies/generateArtistInfoPageChunkItem.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js
index 4347df1..b6f4072 100644
--- a/src/content/dependencies/generateArtistInfoPageChunkItem.js
+++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js
@@ -7,7 +7,7 @@ export default {
       mutable: false,
     },
 
-    contribution: {
+    annotation: {
       type: 'html',
       mutable: false,
     },
@@ -40,9 +40,9 @@ export default {
         options.artists = language.formatConjunctionList(slots.otherArtistLinks);
       }
 
-      if (!html.isBlank(slots.contribution)) {
-        parts.push('withContribution');
-        options.contribution = slots.contribution;
+      if (!html.isBlank(slots.annotation)) {
+        parts.push('withAnnotation');
+        options.annotation = slots.annotation;
       }
 
       if (parts.length === 1) {