summaryrefslogtreecommitdiff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorAndy Green <[email protected]>2018-06-23 18:25:53 +0800
committerJason A. Donenfeld <[email protected]>2022-12-19 16:50:21 +0100
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 <[email protected]> Reviewed-by: John Keeping <[email protected]> Signed-off-by: Christian Hesse <[email protected]>
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".