From 284f3972844ea124c0cd9ee5500e99440bb96aac Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sun, 31 Aug 2025 01:09:37 +0200 Subject: g2h: Add file page Also move helpers to dedicated files. --- g2h/commit_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g2h/commit_page.py') diff --git a/g2h/commit_page.py b/g2h/commit_page.py index 6111013..a998417 100644 --- a/g2h/commit_page.py +++ b/g2h/commit_page.py @@ -17,7 +17,7 @@ def redact_email(email): class CommitPage(Page): def __init__(self, out_dir, name, commit, content_subdir): - super(CommitPage, self).__init__('commit.md', out_dir, os.path.join(commit.hexsha, 'index.md'), name, content_subdir) + super(CommitPage, self).__init__('commit.md', out_dir, os.path.join(commit.hexsha, '_index.md'), name, content_subdir) self.commit = commit def context(self): -- cgit v1.2.3