1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 20:11:59 +02:00
This commit is contained in:
Pomax
2020-09-18 15:30:26 -07:00
parent 088c978785
commit 8cb725aac1
5 changed files with 9 additions and 9 deletions

View File

@@ -31,7 +31,7 @@
<meta property="og:locale" content="en-GB" />
<meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:25:05+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:28:34+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" />

View File

@@ -32,7 +32,7 @@
<meta property="og:locale" content="ja-JP" />
<meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:25:05+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:28:34+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" />
@@ -155,8 +155,8 @@
<h1 id="toc">目次</h1>
<h4>Preamble</h4>
<ol class="preamble">
<li><a href="ja-JP/#preface">まえがき </a></li>
<li><a href="ja-JP/#changelog">What's new</a></li>
<li><a href="ja-JP/index.html#preface">まえがき </a></li>
<li><a href="ja-JP/index.html#changelog">What's new</a></li>
</ol>
<h4>Main content</h4>
<ol>

View File

@@ -26,7 +26,7 @@
<meta property="og:locale" content="en-GB" />
<meta property="og:type" content="article" />
<meta property="og:published_time" content="2020-09-20T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:25:05+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:28:34+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" />

View File

@@ -32,7 +32,7 @@
<meta property="og:locale" content="zh-CN" />
<meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:25:05+00:00" />
<meta property="og:updated_time" content="2020-09-18T22:28:34+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" />
@@ -155,8 +155,8 @@
<h1 id="toc">目录</h1>
<h4>Preamble</h4>
<ol class="preamble">
<li><a href="zh-CN/#preface">序言 </a></li>
<li><a href="zh-CN/#changelog">What's new</a></li>
<li><a href="zh-CN/index.html#preface">序言 </a></li>
<li><a href="zh-CN/index.html#changelog">What's new</a></li>
</ol>
<h4>Main content</h4>
<ol>

View File

@@ -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 = `<section id="preface">${chapters[sectionOrder[0]]}</section>`;
const sections = formSectionData(chapters, sectionOrder, toclist, locale, base);
const sectionText = finaliseSections(sections);