« get me outta code hell

content: generateCommentaryIndexPage - 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-08-08 11:21:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-08 11:21:46 -0300
commit4236b4f348e14be2b78496c8d1c1c60942aa3515 (patch)
tree85ea9b3d517889df14cf620b2a0a0e2b92adc768 /src/page
parent8f39a21ef27f8b66cd49c01e38937d133f13859d (diff)
content: generateCommentaryIndexPage
Diffstat (limited to 'src/page')
-rw-r--r--src/page/album.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/page/album.js b/src/page/album.js
index 1d5c7c0..edde73a 100644
--- a/src/page/album.js
+++ b/src/page/album.js
@@ -57,6 +57,12 @@ export function pathsForTarget(album) {
 
 export function pathsTargetless({wikiData: {wikiInfo}}) {
   return [
+    {
+      type: 'page',
+      path: ['commentaryIndex'],
+      contentFunction: {name: 'generateCommentaryIndexPage'},
+    },
+
     wikiInfo.canonicalBase === 'https://hsmusic.wiki/' &&
       {
         type: 'redirect',