« get me outta code hell

content: generateContentEntry: try some different strings - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-01-31 23:54:06 -0400
committer(quasar) nebula <qznebula@protonmail.com>2026-01-31 23:54:06 -0400
commitf1bc25f38f8103885f22d461b930d3afef64bfe2 (patch)
treeeda5f640d3e6bf4424fa0a33b37123573c516dcd /src
parent1b27f152a302ba0d2e66ad08d35f88aab0aafa7a (diff)
content: generateContentEntry: try some different strings
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateContentEntry.js4
-rw-r--r--src/strings-default.yaml7
2 files changed, 8 insertions, 3 deletions
diff --git a/src/content/dependencies/generateContentEntry.js b/src/content/dependencies/generateContentEntry.js
index 95c8f4b8..7712d9f6 100644
--- a/src/content/dependencies/generateContentEntry.js
+++ b/src/content/dependencies/generateContentEntry.js
@@ -88,6 +88,10 @@ export default {
                     workingOptions.accent =
                       html.tag('span', {class: 'content-entry-accent'},
                         language.$(titleCapsule, 'accent.withAnnotation', {annotation}));
+
+                    if (data.isWikiEditorCommentary) {
+                      workingCapsule += '.wikiEditor';
+                    }
                   }
                 }
 
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 68222f59..5bf2223b 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -517,9 +517,10 @@ misc:
 
     entry:
       title:
-        withArtists: "{ARTISTS}"
-        withArtists.withAccent: "{ARTISTS}: {ACCENT}"
-        accent.withAnnotation: "({ANNOTATION})"
+        withArtists: "{ARTISTS} ✑"
+        withArtists.withAccent: "{ARTISTS} ✑ {ACCENT}"
+        withArtists.withAccent.wikiEditor: "{ARTISTS} ({ACCENT})"
+        accent.withAnnotation: "{ANNOTATION}"
         withAnnotation: "{ANNOTATION}"
 
         date: "{DATE}"