Fix ToC of spec proposals (#1885)
* Fix ToC of spec proposals Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
3af77f0cb4
commit
e2cb3a739a
2 changed files with 2 additions and 1 deletions
1
changelogs/internal/newsfragments/1885.clarification
Normal file
1
changelogs/internal/newsfragments/1885.clarification
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Generate the Table of Contents with Hugo rather than JavaScript.
|
|
@ -33,7 +33,7 @@
|
||||||
{{ $states := .Site.Data.msc.proposals }}
|
{{ $states := .Site.Data.msc.proposals }}
|
||||||
|
|
||||||
{{ range $states }}
|
{{ range $states }}
|
||||||
<h3 id="{{.label}}" class="proposal-table-title">{{ .title }}</h3>
|
### {{ .title }} {.proposal-table-title}
|
||||||
{{ if .proposals }}
|
{{ if .proposals }}
|
||||||
<table class="msc-table table">
|
<table class="msc-table table">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue