disable logo-link ?

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jun 18 17:03:35 CEST 2015


On 18 June 2015 at 16:48, John Keeping <john at keeping.me.uk> wrote:
> On Thu, Jun 18, 2015 at 04:38:32PM +0200, Bernhard Reutner-Fischer wrote:
>> A colleague asked if it's possible to disable the logo-link, but that
>> doesn't seem to work right now?
>
> No, if there isn't a logo-link specified then the CGit root URL is used;
> see ui-shared.c:
>
>         if (logo_link && *logo_link)
>                 html_attr(logo_link);
>         else
>                 html_attr(cgit_rooturl());

yes, anyone got an idea on a token to disable it?

maybe:
logo-link=

As a second "issue", what about a logo-alt instead of the hardcoded
                html("'><img src='");
                html_attr(logo);
                html("' alt='cgit logo'/></a></td>\n");

in print_header() ?


More information about the CGit mailing list