From 984a2c852a978b35b8d819e5338639e77ea2d661 Mon Sep 17 00:00:00 2001
From: Pomax
Date: Fri, 18 Sep 2020 16:05:44 -0700
Subject: [PATCH] added locale templating to the locale string content
---
docs/index.html | 16 ++-
docs/ja-JP/index.html | 23 ++---
docs/news/2020-09-20.html | 13 +--
docs/news/index.html | 11 +-
docs/zh-CN/index.html | 23 ++---
src/build/create-index-pages.js | 7 +-
src/html/fragments/toc.html | 10 ++
src/html/index.template.html | 173 +++++++++++++++-----------------
src/locale-strings.js | 21 +++-
9 files changed, 150 insertions(+), 147 deletions(-)
create mode 100644 src/html/fragments/toc.html
diff --git a/docs/index.html b/docs/index.html
index 54795833..8d4d2e0d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -31,7 +31,7 @@
-
+
@@ -51,11 +51,11 @@
+ The part that makes interactive graphics work: an HTML5 custom element.
+ Note that we're not defering this: we just want it to kick in as soon as possible, and
+ given how much HTML there is, that means this can, and thus should, kick in before the
+ document is done even transferring.
+ -->
@@ -127,7 +127,6 @@
diff --git a/docs/ja-JP/index.html b/docs/ja-JP/index.html
index baa68836..bb61fba7 100644
--- a/docs/ja-JP/index.html
+++ b/docs/ja-JP/index.html
@@ -4,6 +4,7 @@
ベジェ曲線入門
+
@@ -32,7 +33,7 @@
-
+
@@ -52,11 +53,11 @@
+ The part that makes interactive graphics work: an HTML5 custom element.
+ Note that we're not defering this: we just want it to kick in as soon as possible, and
+ given how much HTML there is, that means this can, and thus should, kick in before the
+ document is done even transferring.
+ -->
@@ -128,7 +129,6 @@
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 News posts for more detailed updates. (News posts for more detailed updates. (RSS feed
available)
@@ -425,7 +423,6 @@
-
diff --git a/docs/news/2020-09-20.html b/docs/news/2020-09-20.html
index 040046a5..06282ae1 100644
--- a/docs/news/2020-09-20.html
+++ b/docs/news/2020-09-20.html
@@ -4,6 +4,7 @@
A Primer on Bézier Curves - Rewriting the tech stack
+
@@ -26,7 +27,7 @@
-
+
@@ -43,11 +44,11 @@
+ The part that makes interactive graphics work: an HTML5 custom element.
+ Note that we're not defering this: we just want it to kick in as soon as possible, and
+ given how much HTML there is, that means this can, and thus should, kick in before the
+ document is done even transferring.
+ -->
diff --git a/docs/news/index.html b/docs/news/index.html
index f92c78d7..05adf036 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -4,6 +4,7 @@
A Primer on Bézier Curves - News
+
@@ -43,11 +44,11 @@
+ The part that makes interactive graphics work: an HTML5 custom element.
+ Note that we're not defering this: we just want it to kick in as soon as possible, and
+ given how much HTML there is, that means this can, and thus should, kick in before the
+ document is done even transferring.
+ -->
diff --git a/docs/zh-CN/index.html b/docs/zh-CN/index.html
index 162491a5..76605cbe 100644
--- a/docs/zh-CN/index.html
+++ b/docs/zh-CN/index.html
@@ -4,6 +4,7 @@
贝塞尔曲线底漆
+
@@ -32,7 +33,7 @@
-
+
@@ -52,11 +53,11 @@
+ The part that makes interactive graphics work: an HTML5 custom element.
+ Note that we're not defering this: we just want it to kick in as soon as possible, and
+ given how much HTML there is, that means this can, and thus should, kick in before the
+ document is done even transferring.
+ -->
@@ -128,7 +129,6 @@
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 News posts for more detailed updates. (News posts for more detailed updates. (RSS feed
available)
@@ -408,7 +406,6 @@