summaryrefslogtreecommitdiffstats
path: root/g2h/tree_page.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/tree_page.py
parent2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff)
downloadgit2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz
g2h: Add navbar
Diffstat (limited to 'g2h/tree_page.py')
-rw-r--r--g2h/tree_page.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g2h/tree_page.py b/g2h/tree_page.py
index c36212c..df65a33 100644
--- a/g2h/tree_page.py
+++ b/g2h/tree_page.py
@@ -46,6 +46,7 @@ class TreePage(Page):
'entries': self._get_entries(),
# TODO: Make this fit the rest of the system.
'subdir': '/'.join([self.content_subdir, tree_join(self.commit, self.tree.path)]),
+ 'this_commit': self.commit,
'title': self.name + ': Tree'
}