Remove extra space after Home link
1 file changed, 1 insertion(+), 0 deletions(-)
jump to
M src/templates.ts → src/templates.ts
@@ -16,6 +16,7 @@ function addMenu( parent: cheerio.Cheerio<cheerio.AnyNode>, child: cheerio.Cheerio<cheerio.AnyNode>, ) { + parent.empty(); for (const link of config.extra.main_menu) { parent.append(child.clone().attr("href", link.url).text(link.name)); }