[PATCH v2 1/5] config: add js
Andy Green
andy at warmcat.com
Sat Jun 23 12:34:49 CEST 2018
On 06/23/2018 06:20 PM, John Keeping wrote:
> 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 <andy at warmcat.com>
>> ---
>> 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?
OK. It will additionally disable any feature then that wants to use
functions from cgit.js.
-Andy
>> local-time::
>> Flag which, if set to "1", makes cgit print commit and tag times in the
>> servers timezone. Default value: "0".
>>
More information about the CGit
mailing list