mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
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
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 }}
|
||||
|
||||
{{ range $states }}
|
||||
<h3 id="{{.label}}" class="proposal-table-title">{{ .title }}</h3>
|
||||
### {{ .title }} {.proposal-table-title}
|
||||
{{ if .proposals }}
|
||||
<table class="msc-table table">
|
||||
<thead>
|
||||
|
|
|
|||
Loading…
Reference in a new issue