List for cgit developers and users
 help / color / mirror / Atom feed
* 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

List for cgit developers and users

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/cgit

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 cgit cgit/ http://inbox.vuxu.org/cgit \
		cgit@lists.zx2c4.com
	public-inbox-index cgit

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git