--- a/src/main.cpp Mon May 19 13:30:18 2025 +0200 +++ b/src/main.cpp Mon May 19 13:58:19 2025 +0200 @@ -271,6 +271,7 @@ html::heading_repo(repo); h1_rendered = true; } + html::chart_begin(repo, author); const auto commits_per_month = heatmap.commits_per_month(repo, author, report_year); const auto total_commits = std::accumulate(commits_per_month.begin(), commits_per_month.end(), 0u); @@ -280,7 +281,7 @@ // initialize counters unsigned column = 0, row = 0; - // initialize first day (which must be a Monday, possibly the year before) + // initialize the first day (which must be a Monday, possibly the year before) sys_days day_to_check = January / Monday[1] / report_year; if (year_month_day{day_to_check}.day() != 1d) { day_to_check -= days{7}; @@ -289,7 +290,7 @@ // remember the starting point auto start = day_to_check; - // now add all entries for Monday, Tuesdays, etc. always starting back in january + // now add all entries for Monday, Tuesdays, etc. always starting back in January while (true) { html::row_begin(row); @@ -330,6 +331,7 @@ } html::table_end(); + html::chart_end(); } } html::close(settings.fragment);