summaryrefslogtreecommitdiffstats
path: root/g2h/commit_page.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-24 17:58:29 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-24 18:17:07 +0200
commitd8d67f6ba38388aecbf66d791432d5cd3aa8db6e (patch)
tree1cf1c79460d80addcc3e7dcf43b6ae2ad42cacca /g2h/commit_page.py
parentb921db2d6504cee332cf54346dd1c81d034d3acf (diff)
downloadgit2hugo-d8d67f6ba38388aecbf66d791432d5cd3aa8db6e.tar.gz
g2h: Add --content-subdir arg
Diffstat (limited to 'g2h/commit_page.py')
-rw-r--r--g2h/commit_page.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g2h/commit_page.py b/g2h/commit_page.py
index 325df85..716a4f8 100644
--- a/g2h/commit_page.py
+++ b/g2h/commit_page.py
@@ -3,8 +3,8 @@ import os
from .page import Page
class CommitPage(Page):
- def __init__(self, out_dir, name, commit):
- super(CommitPage, self).__init__('commit.md', out_dir, os.path.join(commit.hexsha, 'index.md'), name)
+ 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)
self.commit = commit
def context(self):