- html_link_open(cgit_pageurl(repo->name, "log", NULL),
- "Log", "button");
- html("L</a>");
- html_link_open(cgit_pageurl(repo->name, "tree", NULL),
- "Files", "button");
- html("F</a>");
+ cgit_log_link("L", "Log", "button", NULL, NULL, NULL);
+ cgit_tree_link("F", "Files", "button", NULL, NULL, NULL);