From f6bd91ea9beef64e0ff0865560219a64a367bb5b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 22 May 2022 12:00:01 -0300 Subject: divide referenced-by lists by configurable groups ...instead of hard-coding 'em --- src/page/album.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/page/album.js') diff --git a/src/page/album.js b/src/page/album.js index ec994eb..70cb536 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -205,7 +205,7 @@ export function write(album, {wikiData}) {
${album.trackGroups.map(({ name, color, startIndex, tracks }) => fixWS`
${ - language.$('trackList.group', { + language.$('trackList.section.withDuration', { duration: language.formatDuration(getTotalDuration(tracks), {approximate: tracks.length > 1}), group: name }) -- cgit 1.3.0-6-gf8a5