diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-09-15 22:35:41 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-09-15 22:35:41 -0300 |
commit | 7ebfbb210c25de522868ecb9dafeb484bd7d9be0 (patch) | |
tree | 87900ddfa986f4007bcddb0d6baab25a486fb6e4 /src/content | |
parent | c191171847198a911c63a8342746ff884dd3ed4a (diff) |
content: generateArtTagInfoPage: fix no-annotation related tags
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateArtTagInfoPage.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtTagInfoPage.js b/src/content/dependencies/generateArtTagInfoPage.js index 9df51b77..7a17ee11 100644 --- a/src/content/dependencies/generateArtTagInfoPage.js +++ b/src/content/dependencies/generateArtTagInfoPage.js @@ -182,12 +182,12 @@ export default { artTagLink: relations.relatedArtTagLinks, annotation: data.relatedArtTagAnnotations, }).map(({artTagLink, annotation}) => - (html.isBlank(annotation) - ? artTagLink - : language.$(capsule, 'tagWithAnnotation', { + (annotation + ? language.$(capsule, 'tagWithAnnotation', { tag: artTagLink, annotation, - })))), + }) + : artTagLink))), }))), html.tag('blockquote', |