216 html::open(); |
216 html::open(); |
217 for (const auto &[repo, authors] : heatmap.data()) { |
217 for (const auto &[repo, authors] : heatmap.data()) { |
218 html::h1(repo); |
218 html::h1(repo); |
219 for (const auto &[author, entries] : authors) { |
219 for (const auto &[author, entries] : authors) { |
220 html::h2(author); |
220 html::h2(author); |
221 html::table_begin(); |
221 html::table_begin(year); |
222 |
222 |
223 // initialize counters |
223 // initialize counters |
224 unsigned column = 0, row = 0; |
224 unsigned column = 0, row = 0; |
225 |
225 |
226 // initialize first day (which must be a Monday, possibly the year before) |
226 // initialize first day (which must be a Monday, possibly the year before) |