diff -r f58fd8461e10 -r de22ded6d50a src/html.h --- a/src/html.h Tue Feb 25 18:22:55 2025 +0100 +++ b/src/html.h Tue Feb 25 18:46:17 2025 +0100 @@ -27,6 +27,7 @@ #include #include +#include namespace html { @@ -35,9 +36,9 @@ void open(bool fragment); void close(bool fragment); - void h1(const std::string& heading); - void h2(const std::string& heading); - void table_begin(std::chrono::year y); + void heading_repo(const std::string& repo); + void heading_author(const std::string& author, unsigned int total_commits); + void table_begin(std::chrono::year y, const std::array &commits_per_month); void table_end(); void row_begin(unsigned int row); void row_end();