diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-30 19:33:04 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-30 19:33:04 +0200 |
| commit | 9b0ee130c7408e839ceaa0de97a12c9da35e216f (patch) | |
| tree | ca4d84897b7ae951d1dcea895dae08a0222a5f33 /g2h/page.py | |
| parent | f2c9a0297324c8a6be2cb0b58d0c12c2f3406529 (diff) | |
| download | git2hugo-9b0ee130c7408e839ceaa0de97a12c9da35e216f.tar.gz | |
g2h: Link subdir names in tree page
Files are also clickable already but no file page yet
Diffstat (limited to 'g2h/page.py')
| -rw-r--r-- | g2h/page.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g2h/page.py b/g2h/page.py index a708f2b..b829a88 100644 --- a/g2h/page.py +++ b/g2h/page.py @@ -10,6 +10,8 @@ class Page: self.template = Environment(loader=FileSystemLoader(template_dir)).get_template(template_file) def context(self): + # TODO: Probably better to delegate to a method here so name and subdir don't have to be + # passed around as much. raise NotImplementedError("Must override context") def render(self): |