From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Sat, 23 Jun 2018 11:20:19 +0100 Subject: [PATCH v2 1/5] config: add js In-Reply-To: <152957368964.21285.17402274172973616296.stgit@mail.warmcat.com> References: <152957329993.21285.2517119299142660486.stgit@mail.warmcat.com> <152957368964.21285.17402274172973616296.stgit@mail.warmcat.com> Message-ID: <20180623102019.GC6584@john.keeping.me.uk> On Thu, Jun 21, 2018 at 05:34:49PM +0800, Andy Green wrote: > Just like the config allows setting css URL path, > add a config for setting the js URL path > > Signed-off-by: Andy Green > --- > diff --git a/cgitrc.5.txt b/cgitrc.5.txt > index 99fc799..a692aa5 100644 > --- a/cgitrc.5.txt > +++ b/cgitrc.5.txt > @@ -248,6 +248,10 @@ inline-readme:: > individually also choose to ignore this global list, and create a > repo-specific list by using 'repo.inline-readme'. > > +js:: > + Url which specifies the javascript script document to include in all cgit > + pages. Default value: "/cgit.js". Should we allow the empty string to disable this option? > local-time:: > Flag which, if set to "1", makes cgit print commit and tag times in the > servers timezone. Default value: "0". >