summaryrefslogtreecommitdiffstats
path: root/g2h/file_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/file_page.py
parent2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff)
downloadgit2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz
g2h: Add navbar
Diffstat (limited to 'g2h/file_page.py')
-rw-r--r--g2h/file_page.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g2h/file_page.py b/g2h/file_page.py
index 67ddf6d..a558254 100644
--- a/g2h/file_page.py
+++ b/g2h/file_page.py
@@ -42,5 +42,6 @@ class FilePage(Page):
'content_subdir': self.content_subdir,
'file_extension': os.path.splitext(self.file_name)[1].lstrip('.'),
'title': self.name + ': ' + self.file_name,
+ 'this_commit': self.commit,
'type': file_type
}