From e2cb3a739af068c30600371058b164643ecdf6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Thu, 20 Jun 2024 18:20:16 +0200 Subject: [PATCH] Fix ToC of spec proposals (#1885) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix ToC of spec proposals Signed-off-by: Kévin Commaille * Add changelog Signed-off-by: Kévin Commaille --------- Signed-off-by: Kévin Commaille --- changelogs/internal/newsfragments/1885.clarification | 1 + layouts/shortcodes/proposal-tables.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/internal/newsfragments/1885.clarification diff --git a/changelogs/internal/newsfragments/1885.clarification b/changelogs/internal/newsfragments/1885.clarification new file mode 100644 index 00000000..af7c653e --- /dev/null +++ b/changelogs/internal/newsfragments/1885.clarification @@ -0,0 +1 @@ +Generate the Table of Contents with Hugo rather than JavaScript. diff --git a/layouts/shortcodes/proposal-tables.html b/layouts/shortcodes/proposal-tables.html index f61f168b..06443909 100644 --- a/layouts/shortcodes/proposal-tables.html +++ b/layouts/shortcodes/proposal-tables.html @@ -33,7 +33,7 @@ {{ $states := .Site.Data.msc.proposals }} {{ range $states }} -

{{ .title }}

+### {{ .title }} {.proposal-table-title} {{ if .proposals }}