summaryrefslogtreecommitdiffstats
path: root/g2h/page_factory.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-18 23:17:24 +0200
committerChristoph Schlosser <christoph@linux.com>2025-09-18 23:17:24 +0200
commitbd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1 (patch)
treed9abea372078840e69e38401bce663b00dfbe07e /g2h/page_factory.py
parent2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff)
downloadgit2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz
g2h: Add navbar
Diffstat (limited to 'g2h/page_factory.py')
-rw-r--r--g2h/page_factory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g2h/page_factory.py b/g2h/page_factory.py
index 82e2b0f..4a46f14 100644
--- a/g2h/page_factory.py
+++ b/g2h/page_factory.py
@@ -23,8 +23,8 @@ class PageFactory:
def new_overview(self, branches, tags, head):
return OverviewPage(self.out_dir, self.name, branches, tags, self.content_subdir, head)
- def new_log(self, commits, branches, tags):
- return LogPage(self.out_dir, self.name, commits, branches, tags, self.content_subdir)
+ def new_log(self, commits, branches, tags, head):
+ return LogPage(self.out_dir, self.name, commits, branches, tags, self.content_subdir, head)
def new_tree(self, commit, tree_segment, repo):
return TreePage(self.out_dir, self.name, commit, tree_segment, repo, self.content_subdir)