summaryrefslogtreecommitdiff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorElis Eriksson <spelis.tech@gmail.com>2026-03-26 19:08:03 +0100
committerElis Eriksson <spelis.tech@gmail.com>2026-03-26 19:08:03 +0100
commita2a39cb2287a29767fa3bc98d05f01430c668362 (patch)
tree5428225706ae55714227f330e4f8503a96d9cee2 /ui-shared.c
parent0d8e5fbc31e1082063bfb5155c35b7869721152b (diff)
downloadcgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.gz
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.bz2
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.lz
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.xz
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.zst
cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.zip
slight changes, idk how to write proper commit messages hehe
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/ui-shared.c b/ui-shared.c
index df52a9b..dffa206 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -877,8 +877,7 @@ void cgit_print_docend(void)
if (ctx.cfg.footer)
html_include(ctx.cfg.footer);
else {
- htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> "
- "(<a href='https://git-scm.com/'>git %s</a>) at ", cgit_version, git_version_string);
+ htmlf("<div class='footer'>generated by <a href='https://git.spelis.projnull.eu/spelis/cgit'>cgit</a> (<a href='https://git.zx2c4.com/cgit/about/'>orig</a>) ");
html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601)));
html("</div>\n");
}
@@ -1078,6 +1077,7 @@ static void print_header(void)
html("</td></tr></table>\n");
}
+
void cgit_print_pageheader(void)
{
html("<div id='cgit'>");
@@ -1138,11 +1138,6 @@ void cgit_print_pageheader(void)
html("</form>\n");
} else if (ctx.env.authenticated) {
char *currenturl = cgit_currenturl();
- site_link(NULL, "index", NULL, hc("repolist"), NULL, NULL, 0, 1);
- if (ctx.cfg.root_readme)
- site_link("about", "about", NULL, hc("about"),
- NULL, NULL, 0, 1);
- html("</td><td class='form'>");
html("<form method='get' action='");
html_attr(currenturl);
html("'>\n");