« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/page')
-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 37ec4426..e60256dc 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>
                 `