mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Fix schema path in event-fields shortcode
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
5aa67086b5
commit
765ca6100a
|
|
@ -13,7 +13,7 @@
|
|||
*/}}
|
||||
|
||||
{{ $event := index .Site.Data "event-schemas" "schema" "core-event-schema" .Params.event_type }}
|
||||
{{ $path := "event-schemas/schema/core-event-schema" }}
|
||||
{{ $path := delimit (slice "event-schemas/schema/core-event-schema" .Params.event_type) "/" }}
|
||||
|
||||
{{ $event = partial "json-schema/resolve-refs" (dict "schema" $event "path" $path) }}
|
||||
{{ $event := partial "json-schema/resolve-allof" $event }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue