From 953f09124c4cddeac78ffa57cfc6dc88d7720d74 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 11 Jan 2026 11:32:40 -0400 Subject: content: gAIPChunkItem: new annotations look --- src/content/dependencies/generateArtistInfoPageChunkItem.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/content/dependencies/generateArtistInfoPageChunkItem.js') diff --git a/src/content/dependencies/generateArtistInfoPageChunkItem.js b/src/content/dependencies/generateArtistInfoPageChunkItem.js index 45a39d46..cf45a37c 100644 --- a/src/content/dependencies/generateArtistInfoPageChunkItem.js +++ b/src/content/dependencies/generateArtistInfoPageChunkItem.js @@ -17,6 +17,11 @@ export default { mutable: false, }, + citation: { + type: 'html', + mutable: false, + }, + otherArtistLinks: { validate: v => v.strictArrayOf(v.isHTML), }, @@ -71,6 +76,9 @@ export default { if (!html.isBlank(slots.annotation)) { workingCapsule += '.withAnnotation'; workingOptions.annotation = slots.annotation; + } else if (!html.isBlank(slots.citation)) { + workingCapsule += '.withCitation'; + workingOptions.citation = slots.citation; } if (workingCapsule === entryCapsule) { -- cgit 1.3.0-6-gf8a5