List for cgit developers and users
 help / color / mirror / Atom feed
* Question Regarding How To Get A "Downloads" Section On My 'cgit' Instance
@ 2021-03-09  2:57 Samuel Banya
  2021-03-09  3:01 ` Paul W. Rankin
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Banya @ 2021-03-09  2:57 UTC (permalink / raw)
  To: cgit

Hey there,

I've been tweaking my cgit instance a bit, and added a dark theme via the CSS sheet.

I would like to add a similar section on how you have a releases section on the main cgit instance, aka the Downloads section that allows you to download an entire zip of a given project:
- https://git.zx2c4.com/cgit/

Would love to have this for a utility I made on my public cgit repo.

Thanks,

Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question Regarding How To Get A "Downloads" Section On My 'cgit' Instance
  2021-03-09  2:57 Question Regarding How To Get A "Downloads" Section On My 'cgit' Instance Samuel Banya
@ 2021-03-09  3:01 ` Paul W. Rankin
  0 siblings, 0 replies; 2+ messages in thread
From: Paul W. Rankin @ 2021-03-09  3:01 UTC (permalink / raw)
  To: Samuel Banya; +Cc: cgit


> On 9 Mar 2021, at 12:57 pm, Samuel Banya <sbanya@fastmail.com> wrote:
> 
> I would like to add a similar section on how you have a releases section on the main cgit instance, aka the Downloads section that allows you to download an entire zip of a given project:
> - https://git.zx2c4.com/cgit/

Add snapshots to your cgitrc, e.g.

	snapshots=tar.gz zip

See: https://git.zx2c4.com/cgit/tree/cgitrc.5.txt#n407

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-09  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  2:57 Question Regarding How To Get A "Downloads" Section On My 'cgit' Instance Samuel Banya
2021-03-09  3:01 ` Paul W. Rankin

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).