From 2db6ae3236fba513e33a2f594dcc1aa405881f02 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 2 Jan 2022 10:55:38 -0400 Subject: quick kinda hack to show short names in nav bar --- src/page/homepage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => `${link}`).join('\n')} ` -- cgit 1.3.0-6-gf8a5