« get me outta code hell

content: generateGroupInfoPage: tidy album list implementation - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/strings-default.yaml
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-29 16:53:31 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-11-29 17:33:00 -0400
commite156e337c29558b44e75e2d63494221823c5a9f9 (patch)
treefaa44bb534e6dfc8e0fdcb8a80b22eb084b4ac67 /src/strings-default.yaml
parent7ad62ef4a6908a550d5b48ae93877446088d4d82 (diff)
content: generateGroupInfoPage: tidy album list implementation
Diffstat (limited to 'src/strings-default.yaml')
-rw-r--r--src/strings-default.yaml18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index f02a10a..af2ddc4 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -1023,10 +1023,20 @@ groupInfoPage:
     title: "Albums"
 
     item:
-      _: "({YEAR}) {ALBUM}"
-      withoutYear: "{ALBUM}"
-      withAccent: "{ITEM} {ACCENT}"
-      otherGroupAccent: "(from {GROUP})"
+      _: >-
+        {ALBUM}
+
+      withYear: >-
+        {YEAR_ACCENT} {ALBUM}
+
+      withOtherGroup: >-
+        {ALBUM} {OTHER_GROUP_ACCENT}
+
+      withYear.withOtherGroup: >-
+        {YEAR_ACCENT} {ALBUM} {OTHER_GROUP_ACCENT}
+
+      yearAccent: "({YEAR})"
+      otherGroupAccent:  "(from {GROUP})"
 
 #
 # groupGalleryPage: