« get me outta code hell

content: rename generateAlbumNavLinks -> generateAlbumNavAccent - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-02 10:08:33 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-02 10:08:33 -0300
commit596484cb663484ca41ae650ee2ece9d15f722f74 (patch)
tree48b41ae9ed2e8c92c1930407453598456399ad73 /src/content/dependencies
parent3bf7d77dcfec5f8904ce71f1d16b88cbcfbba596 (diff)
content: rename generateAlbumNavLinks -> generateAlbumNavAccent
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateAlbumInfoPage.js6
-rw-r--r--src/content/dependencies/generateAlbumNavAccent.js (renamed from src/content/dependencies/generateAlbumNavLinks.js)2
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/content/dependencies/generateAlbumInfoPage.js b/src/content/dependencies/generateAlbumInfoPage.js
index 3257b139..1894ce4e 100644
--- a/src/content/dependencies/generateAlbumInfoPage.js
+++ b/src/content/dependencies/generateAlbumInfoPage.js
@@ -4,7 +4,7 @@ import {sortAlbumsTracksChronologically} from '../../util/wiki-data.js';
 export default {
   contentDependencies: [
     'generateAlbumInfoPageContent',
-    'generateAlbumNavLinks',
+    'generateAlbumNavAccent',
     'generateAlbumSidebar',
     'generateAlbumSocialEmbed',
     'generateAlbumStyleRules',
@@ -36,7 +36,7 @@ export default {
           ]),
       }),
 
-      albumNavLinks: relation('generateAlbumNavLinks', album, null),
+      albumNavAccent: relation('generateAlbumNavAccent', album, null),
       chronologyLinks: relation('generateChronologyLinks'),
 
       content: relation('generateAlbumInfoPageContent', album),
@@ -73,7 +73,7 @@ export default {
           {
             auto: 'current',
             accent:
-              relations.albumNavLinks.slots({
+              relations.albumNavAccent.slots({
                 showTrackNavigation: true,
                 showExtraLinks: true,
               }),
diff --git a/src/content/dependencies/generateAlbumNavLinks.js b/src/content/dependencies/generateAlbumNavAccent.js
index e4eb6c54..9d1d87c3 100644
--- a/src/content/dependencies/generateAlbumNavLinks.js
+++ b/src/content/dependencies/generateAlbumNavAccent.js
@@ -55,7 +55,7 @@ export default {
 
   generate(data, relations, {html, language}) {
     return html.template({
-      annotation: `generateAlbumNavLinks`,
+      annotation: `generateAlbumNavAccent`,
 
       slots: {
         showTrackNavigation: {type: 'boolean', default: false},
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 5900b27e..197d6312 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -4,7 +4,7 @@ import {sortAlbumsTracksChronologically} from '../../util/wiki-data.js';
 export default {
   contentDependencies: [
     'generateTrackInfoPageContent',
-    'generateAlbumNavLinks',
+    'generateAlbumNavAccent',
     'generateAlbumSidebar',
     'generateAlbumStyleRules',
     'generateChronologyLinks',
@@ -54,7 +54,7 @@ export default {
 
       albumLink: relation('linkAlbum', track.album),
       trackLink: relation('linkTrack', track),
-      albumNavLinks: relation('generateAlbumNavLinks', track.album, track),
+      albumNavAccent: relation('generateAlbumNavAccent', track.album, track),
       chronologyLinks: relation('generateChronologyLinks'),
 
       content: relation('generateTrackInfoPageContent', track),
@@ -107,7 +107,7 @@ export default {
         ],
 
         navBottomRowContent:
-          relations.albumNavLinks.slots({
+          relations.albumNavAccent.slots({
             showTrackNavigation: true,
             showExtraLinks: false,
           }),