« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page/homepage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/page/homepage.js')
-rw-r--r--src/page/homepage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js
index 37ec442..e60256d 100644
--- a/src/page/homepage.js
+++ b/src/page/homepage.js
@@ -112,7 +112,8 @@ export function writeTargetless({wikiData}) {
                             link.newsIndex('', {text: strings('newsIndex.title'), to}),
                             wikiInfo.features.flashesAndGames &&
                             link.flashIndex('', {text: strings('flashIndex.title'), to}),
-                            ...staticPageData.filter(page => page.listed).map(link.staticPage)
+                            ...staticPageData.filter(page => page.listed).map(page =>
+                                link.staticPage(page, {text: page.shortName}))
                         ].filter(Boolean).map(link => `<span>${link}</span>`).join('\n')}
                     </h2>
                 `