diff options
Diffstat (limited to 'g2h/gen.py')
| -rw-r--r-- | g2h/gen.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,8 +15,10 @@ class Generator: with open(out_file, 'w', encoding='utf-8') as f: f.write(content) - def render_overview(self, commits): + def render_overview(self, name, branches, tags): context = { - 'commits': commits + 'branches': branches, + 'tags': tags, + 'title': name } self._render('overview.md', context, '_index.md') |