From 545dbdca0f5eb31fb747fcab469aa28d6ecca385 Mon Sep 17 00:00:00 2001 From: Ed Preston Date: Thu, 28 Sep 2023 09:00:17 +1000 Subject: [PATCH] Update index.mjs --- lib/tutorials/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tutorials/index.mjs b/lib/tutorials/index.mjs index b1a3ae8215..0480871293 100644 --- a/lib/tutorials/index.mjs +++ b/lib/tutorials/index.mjs @@ -152,7 +152,7 @@ export default function makePlugin(dir) { tutorialsIndex[lang][filepath] = { title: file.title, - url: url.replace(lang, '').replace('index.html', ''), + url: url.replace(lang, '').replace('index.html', '').replace('.html', '/'), tags: file.tags, thumbUrl: file.thumb };