| 146 puts("</div>"); |
146 puts("</div>"); |
| 147 } |
147 } |
| 148 |
148 |
| 149 void html::heading_repo(const std::string& repo) { |
149 void html::heading_repo(const std::string& repo) { |
| 150 indent(); |
150 indent(); |
| 151 printf("<h1 data-repo=\"%s\">%1$s</h1>\n", encode(repo).c_str()); |
151 printf("<h1 data-repo=\"%1$s\">%1$s</h1>\n", encode(repo).c_str()); |
| 152 } |
152 } |
| 153 |
153 |
| 154 void html::heading_author(const std::string& author, unsigned int total_commits) { |
154 void html::heading_author(const std::string& author, unsigned int total_commits) { |
| 155 indent(); |
155 indent(); |
| 156 printf("<h2 title=\"Total commits: %u\">%s</h2>\n", |
156 printf("<h2 title=\"Total commits: %u\">%s</h2>\n", |