Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-06-23 13:25:53 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-19 18:50:21 +0300
commitaee39b4e9a45e1ba507c0017de50bb9dbbae7af8 (patch)
tree7c6328c363a06f12143e4d15b09c6d7158f8adfc /cgitrc.5.txt
parent093ac9697068833a15cae2dbbd5ffbc0203741c0 (diff)
config: add js
Just like the config allows setting css URL path, add a config for setting the js URL path Signed-off-by: Andy Green <andy@warmcat.com> Reviewed-by: John Keeping <john@keeping.me.uk> Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 45288bc..6f3e952 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -239,6 +239,11 @@ include::
Name of a configfile to include before the rest of the current config-
file is parsed. Default value: none. See also: "MACRO EXPANSION".
+js::
+ Url which specifies the javascript script document to include in all cgit
+ pages. Default value: "/cgit.js". Setting this to an empty string will
+ disable generation of the link to this file in the head section.
+
local-time::
Flag which, if set to "1", makes cgit print commit and tag times in the
servers timezone. Default value: "0".