diff options
-rw-r--r-- | src/page/homepage.js | 3 |
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> ` |