Skip to content

Commit

Permalink
Fix schema path in event-fields shortcode
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh committed Apr 9, 2024
1 parent 5aa6708 commit 765ca61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/event-fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 765ca61

Please sign in to comment.