summaryrefslogtreecommitdiffstats
path: root/g2h/commit_page.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-31 01:09:37 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-31 15:53:33 +0200
commit284f3972844ea124c0cd9ee5500e99440bb96aac (patch)
treeb8dee22222c38b12cc00daf98280e1b2060bcca7 /g2h/commit_page.py
parentb06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (diff)
downloadgit2hugo-284f3972844ea124c0cd9ee5500e99440bb96aac.tar.gz
g2h: Add file page
Also move helpers to dedicated files.
Diffstat (limited to 'g2h/commit_page.py')
-rw-r--r--g2h/commit_page.py2
1 files changed, 1 insertions, 1 deletions
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):