diff --git a/docs/index.html b/docs/index.html
index 56cad609..54795833 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -31,7 +31,7 @@
-
+
diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html
index 07498a1d..baa68836 100644
--- a/docs/ja-JP/index.html
+++ b/docs/ja-JP/index.html
@@ -32,7 +32,7 @@
-
+
@@ -155,8 +155,8 @@
目次
Preamble
- - まえがき
- - What's new
+ - まえがき
+ - What's new
Main content
diff --git a/docs/news/2020-09-20.html b/docs/news/2020-09-20.html
index 1bcf8836..040046a5 100644
--- a/docs/news/2020-09-20.html
+++ b/docs/news/2020-09-20.html
@@ -26,7 +26,7 @@
-
+
diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html
index 3b56d445..162491a5 100644
--- a/docs/zh-CN/index.html
+++ b/docs/zh-CN/index.html
@@ -32,7 +32,7 @@
-
+
@@ -155,8 +155,8 @@
目录
Preamble
- - 序言
- - What's new
+ - 序言
+ - What's new
Main content
diff --git a/src/build/create-index-pages.js b/src/build/create-index-pages.js
index 237d9cf2..7bf2d67b 100644
--- a/src/build/create-index-pages.js
+++ b/src/build/create-index-pages.js
@@ -17,7 +17,7 @@ async function createIndexPages(locale, localeStrings, chapters) {
const langSwitcher = generateLangSwitcher(localeStrings);
const toclist = {};
- const localePrefix = base ? `${locale}/` : ``;
+ const localePrefix = base ? `${locale}/index.html` : ``;
const preface = `${chapters[sectionOrder[0]]}`;
const sections = formSectionData(chapters, sectionOrder, toclist, locale, base);
const sectionText = finaliseSections(sections);