* Opening each logo-link in a separate browser tab
@ 2020-09-10 9:36 jean-christophe manciot
2020-09-10 10:55 ` John Keeping
0 siblings, 1 reply; 2+ messages in thread
From: jean-christophe manciot @ 2020-09-10 9:36 UTC (permalink / raw)
To: cgit
Is there a special format for that cgitrc keyword to open each
logo-link in a different tab/window?
It could be for instance something like :
logo-link="url" target="_blank"
where url is a valid Uniform Resource Locator.
--
Jean-Christophe
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Opening each logo-link in a separate browser tab
2020-09-10 9:36 Opening each logo-link in a separate browser tab jean-christophe manciot
@ 2020-09-10 10:55 ` John Keeping
0 siblings, 0 replies; 2+ messages in thread
From: John Keeping @ 2020-09-10 10:55 UTC (permalink / raw)
To: jean-christophe manciot; +Cc: cgit
On Thu, Sep 10, 2020 at 11:36:10AM +0200, jean-christophe manciot wrote:
> Is there a special format for that cgitrc keyword to open each
> logo-link in a different tab/window?
>
> It could be for instance something like :
> logo-link="url" target="_blank"
>
> where url is a valid Uniform Resource Locator.
There's no way to do this without patching the code in print_header() at
the moment.
You could inject a script via head-include to modify the page or
intercept the link, but of course that won't work for users with scripts
disabled.
John
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-10 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 9:36 Opening each logo-link in a separate browser tab jean-christophe manciot
2020-09-10 10:55 ` John Keeping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).