« get me outta code hell

content: misc. changes, groups divided by tracks, relation sections - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-18 21:09:10 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-18 21:09:10 -0300
commit7eda6868381e9e145d503294837f6f60de7e38e0 (patch)
treed7b5b03557549066562a95f5422a1b9251f2513f /src/page
parentc504e1dd0497edc694bd594052728ffb39af70a8 (diff)
content: misc. changes, groups divided by tracks, relation sections
Diffstat (limited to 'src/page')
-rw-r--r--src/page/track.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/page/track.js b/src/page/track.js
index e75b6958..9b3867c9 100644
--- a/src/page/track.js
+++ b/src/page/track.js
@@ -6,7 +6,7 @@ export function targets({wikiData}) {
   return wikiData.trackData;
 }
 
-export function pathsForTarget(track) {
+export function pathsForTarget(track, {wikiInfo}) {
   return [
     {
       type: 'page',
@@ -14,7 +14,9 @@ export function pathsForTarget(track) {
 
       contentFunction: {
         name: 'generateTrackInfoPage',
-        args: [track],
+        args: [track, {
+          topLevelGroups: wikiInfo.divideTrackListsByGroups,
+        }],
       },
     },
   ];