From 2a592ecd951f758a62b1c4907e5da212cf1ba264 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Thu, 18 Sep 2025 22:38:36 +0200 Subject: g2h: Set `date` frontmatter in overview page to HEAD commit --- g2h/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g2h/cli.py') diff --git a/g2h/cli.py b/g2h/cli.py index fbc456e..6ffabb0 100644 --- a/g2h/cli.py +++ b/g2h/cli.py @@ -27,7 +27,7 @@ def main(): tags = sorted(git.get_tags(), key=lambda t: t.commit.committed_date, reverse=True) factory = PageFactory(args.out_dir, project_name, args.content_subdir) - factory.new_overview(branches, tags).render() + factory.new_overview(branches, tags, git.get_head()).render() factory.new_log(commits, branches, tags).render() for commit in commits: factory.new_commit(commit).render() -- cgit v1.2.3