1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 11:40:27 +02:00
This commit is contained in:
Pomax
2020-09-18 16:10:56 -07:00
parent 984a2c852a
commit 82ce6b2b52
6 changed files with 12 additions and 14 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-18T23:05:12+00:00" />
<meta property="og:updated_time" content="2020-09-18T23:10:21+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" />
@@ -307,8 +307,8 @@
<h1>What's new?</h1>
<p>
This primer is a living document, and so depending on when you last look at it, there may be new content. Click the following link to expand
this section to have a look at what got added, when, or click through to the <a href="news">News posts</a> for more detailed updates. (<a
href="news/rss.xml"
this section to have a look at what got added, when, or click through to the <a href="./news">News posts</a> for more detailed updates. (<a
href="./news/rss.xml"
>RSS feed</a
>
available)

View File

@@ -33,7 +33,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-18T23:05:12+00:00" />
<meta property="og:updated_time" content="2020-09-18T23:10:21+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" />
@@ -284,8 +284,8 @@
<h1>What's new?</h1>
<p>
This primer is a living document, and so depending on when you last look at it, there may be new content. Click the following link to expand
this section to have a look at what got added, when, or click through to the <a href="../news">News posts</a> for more detailed updates. (<a
href="../news/rss.xml"
this section to have a look at what got added, when, or click through to the <a href="./news">News posts</a> for more detailed updates. (<a
href="./news/rss.xml"
>RSS feed</a
>
available)

View File

@@ -27,7 +27,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-18T23:05:12+00:00" />
<meta property="og:updated_time" content="2020-09-18T23:10:21+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

@@ -33,7 +33,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-18T23:05:12+00:00" />
<meta property="og:updated_time" content="2020-09-18T23:10:21+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" />
@@ -267,8 +267,8 @@
<h1>What's new?</h1>
<p>
This primer is a living document, and so depending on when you last look at it, there may be new content. Click the following link to expand
this section to have a look at what got added, when, or click through to the <a href="../news">News posts</a> for more detailed updates. (<a
href="../news/rss.xml"
this section to have a look at what got added, when, or click through to the <a href="./news">News posts</a> for more detailed updates. (<a
href="./news/rss.xml"
>RSS feed</a
>
available)

View File

@@ -37,9 +37,7 @@ async function createIndexPages(locale, localeStrings, chapters) {
currentTime: new Date().toISOString().substring(0, 19) + "+00:00",
};
localeStrings.extendContext(renderContext, {
relurl: base === `` ? `` : `../`,
});
localeStrings.extendContext(renderContext);
const index = nunjucks.render(`index.template.html`, renderContext);
const writeDir = locale === defaultLocale ? paths.public : path.join(paths.public, locale);

View File

@@ -58,7 +58,7 @@ const localeStringData = {
"en-GB": `What's new`,
},
changelogDescription: {
"en-GB": `This primer is a living document, and so depending on when you last look at it, there may be new content. Click the following link to expand this section to have a look at what got added, when, or click through to the <a href="{{ relurl }}news">News posts</a> for more detailed updates. (<a href="{{ relurl }}news/rss.xml">RSS feed</a> available)`,
"en-GB": `This primer is a living document, and so depending on when you last look at it, there may be new content. Click the following link to expand this section to have a look at what got added, when, or click through to the <a href="./news">News posts</a> for more detailed updates. (<a href="./news/rss.xml">RSS feed</a> available)`,
},
};