Skip to content

Commit

Permalink
fix: breadcrumbs in a /-/commit/ uses filepath not pagepath
Browse files Browse the repository at this point in the history
  • Loading branch information
redimp committed Oct 6, 2024
1 parent 561ed88 commit 6726412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otterwiki/wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def show_commit(self, revision):

url_map=patchset2urlmap(patchset, revision)
if len(url_map) == 1:
pagepath = get_pagepath(list(url_map.keys())[0])
pagepath = get_pagepath(get_pagename(list(url_map.keys())[0]))

menutree = SidebarPageIndex(get_page_directoryname(pagepath or "/"))

Expand Down

0 comments on commit 6726412

Please sign in to comment.