diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-09 16:53:20 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-09 17:53:29 -0300 |
commit | 29d8349f87fc7d812e7efecb1aa49ada2e44742e (patch) | |
tree | 06943b67e1bff9cb407b8c8a796442f22a25e4eb /src/content | |
parent | bd561e1d74b373818fcf2e2f8b53aa568c6be454 (diff) |
content: generateAlbumTrackList: no duration in sticky heading
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateAlbumTrackList.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumTrackList.js b/src/content/dependencies/generateAlbumTrackList.js index ee06b9e6..dd3e85e3 100644 --- a/src/content/dependencies/generateAlbumTrackList.js +++ b/src/content/dependencies/generateAlbumTrackList.js @@ -149,6 +149,7 @@ export default { }) => [ heading.slots({ tag: 'dt', + title: (duration === 0 ? language.$('trackList.section', { @@ -161,6 +162,11 @@ export default { approximate: durationApproximate, }), })), + + stickyTitle: + language.$('trackList.section.sticky', { + section: name, + }), }), html.tag('dd', |