From 67264121ab51b83b7e4164b49ba89cd380eae4c6 Mon Sep 17 00:00:00 2001 From: Ralph Thesen Date: Mon, 7 Oct 2024 00:41:50 +0200 Subject: [PATCH] fix: breadcrumbs in a /-/commit/ uses filepath not pagepath --- otterwiki/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otterwiki/wiki.py b/otterwiki/wiki.py index a2f5643..00e4c6b 100644 --- a/otterwiki/wiki.py +++ b/otterwiki/wiki.py @@ -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 "/"))