Skip to content

Commit

Permalink
Asset referencing: compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Paul-Elliot <[email protected]>
  • Loading branch information
panglesd committed Jan 8, 2024
1 parent d9911e3 commit 367601a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xref2/env.ml
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ let rec collect_assets env (page : Lang.Page.t) =
let id = Identifier.Mk.asset_file (page.name, new_asset) in
add_asset id env)
env
(List.filter_map
(Utils.filter_map []
(function Lang.Page.Asset_child c -> Some c | _ -> None)
page.children)
in
Expand Down

0 comments on commit 367601a

Please sign in to comment.