Switch to side-by-side view
--- a/ForgeSCM/forgescm/main.py +++ b/ForgeSCM/forgescm/main.py @@ -48,10 +48,11 @@ SitemapEntry(menu_id, '.')[self.sidebar_menu()] ] def sidebar_menu(self): + base = self.repo.url() result = [ - SitemapEntry('Home', '.'), - SitemapEntry('Search', 'search'), - SitemapEntry('Init Repo', 'reinit'), + SitemapEntry('Home', base), + SitemapEntry('Search', base + 'search'), + SitemapEntry('Init Repo', base + 'reinit'), ] repo = self.repo if self.config.options.type == 'hg':