From c49e42ad6280dc51beb17f6f2e20836900d3abc3 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 20 Nov 2022 13:39:01 +0100 Subject: [PATCH 1/5] wg: Fix title hierarchy and duplicate ids Page content starts at

on both posts and the WG page which includes them; but the WG page uses

for post titles, so we should bump down post titles from

to

(and lower level ones as well). This also prepends a prefix to title ids, in order to avoid conflicts when two posts have titles with the same text (eg. consecutive spec round-ups). --- wg.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wg.html b/wg.html index 26c0989b..9d36fa6e 100644 --- a/wg.html +++ b/wg.html @@ -78,10 +78,18 @@

Roadmap< {% for post in site.posts limit:10 %} + {% comment %} turn h3 into h4, and add a prefix to ids to avoid duplicates within the same page {% endcomment %} + {% assign h4_prefix = '

{{ post.title | xml_escape }} {{ post.date | date_to_string }}

- {{ post.content }} + {{ post.content + | replace: '
', '
' + | replace: '

Working Group Updates
-

Roadmap

+

Roadmap

Our roadmap [link] always contains info on our direction moving forward, the sort of features we have planned and our priorities.

{% for post in site.posts limit:10 %} - {% comment %} turn h3 into h4, and add a prefix to ids to avoid duplicates within the same page {% endcomment %} + {% comment %} add a prefix to ids to avoid duplicates within the same page {% endcomment %} + {% assign h3_prefix = '

Roadmap<

{{ post.title | xml_escape }} {{ post.date | date_to_string }}

{{ post.content - | replace: '
', '
' - | replace: '

Roadmap< {% for post in site.posts limit:10 %} {% comment %} add a prefix to ids to avoid duplicates within the same page {% endcomment %} - {% assign h3_prefix = '

{{ post.title | xml_escape }} {{ post.date | date_to_string }}

From 93a6d124d3ea01be2e90b6043621fca99b1e0606 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 20 Nov 2022 14:13:16 +0100 Subject: [PATCH 4/5] wg: Undo change to the 'Roadmap' header --- wg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wg.html b/wg.html index 5bcc6040..76423ea3 100644 --- a/wg.html +++ b/wg.html @@ -71,7 +71,7 @@

Working Group Updates
-

Roadmap

+

Roadmap

Our roadmap [link] always contains info on our direction moving forward, the sort of features we have planned and our priorities.

From c25d5dbe8025e5861ce4368d0510ed7015110afb Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 20 Nov 2022 14:18:22 +0100 Subject: [PATCH 5/5] wg: Add final dash to the prefix --- wg.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wg.html b/wg.html index 76423ea3..f7489e76 100644 --- a/wg.html +++ b/wg.html @@ -79,10 +79,10 @@

Roadmap< {% for post in site.posts limit:10 %} {% comment %} add a prefix to ids to avoid duplicates within the same page {% endcomment %} - {% assign h3_prefix = '

{{ post.title | xml_escape }} {{ post.date | date_to_string }}