Skip to content

Commit

Permalink
Fix backward home-breadcrumb logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Jan 17, 2025
1 parent 065dc72 commit b16eff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html/generator.ml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ module Breadcrumbs = struct
| true, Some { node; _ } -> (
match page_parent node.url.page with
| None -> []
| Some parent -> [ home_breadcrumb config parent current_url ])
| Some parent -> [ home_breadcrumb config current_url parent ])
| _ -> []
in
extract escape sidebar
Expand Down

0 comments on commit b16eff1

Please sign in to comment.