diff options
Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index e352c33..9d8dfef 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -8,6 +8,7 @@ #include "cgit.h" #include "ui-shared.h" +#include "ui-summary.h" #include "cmd.h" #include "html.h" #include "version.h" @@ -1037,7 +1038,7 @@ void cgit_print_pageheader(void) html("<table class='tabs'><tr><td>\n"); if (ctx.env.authenticated && ctx.repo) { - if (ctx.repo->readme.nr) + if (cgit_has_readme()) reporevlink("about", "about", NULL, hc("about"), ctx.qry.head, NULL, NULL); |
