summaryrefslogtreecommitdiffstats
path: root/g2h/commit_page.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-30 19:36:51 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-30 19:37:18 +0200
commitb06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (patch)
treebd9ade44dae5a3c838f932d42df9938501251dba /g2h/commit_page.py
parent9b0ee130c7408e839ceaa0de97a12c9da35e216f (diff)
downloadgit2hugo-b06dbf67b9ac9e329922d7911ee7a9b09419c5f0.tar.gz
g2h: Link to tree from commit page
Diffstat (limited to 'g2h/commit_page.py')
-rw-r--r--g2h/commit_page.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g2h/commit_page.py b/g2h/commit_page.py
index 7123c82..6111013 100644
--- a/g2h/commit_page.py
+++ b/g2h/commit_page.py
@@ -24,5 +24,6 @@ class CommitPage(Page):
return {
'commit': self.commit,
'title': self.name + ': ' + self.commit.hexsha,
- 'redacted_email': redact_email(self.commit.author.email)
+ 'redacted_email': redact_email(self.commit.author.email),
+ 'content_subdir': self.content_subdir
}