path: root/cgitrc.5.txt
diff options
authorAndy Green <andy@warmcat.com>2018-06-23 18:25:53 +0800
committerChristian Hesse <mail@eworm.de>2020-01-13 21:12:37 +0100
commit58bf23c66327bcb5479142ce56c49327bb354678 (patch)
tree7a27d69b82ca8c981a1a43f64e8fbef0e0352401 /cgitrc.5.txt
parentcss: change to be a list (diff)
config: add js
Just like the config allows setting css URL path, add a config for setting the js URL path Setting the js path to an empty string disables emitting the reference to it in the head section. 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')
1 files changed, 5 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 7a3a81c..1262193 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".
+ 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.
Flag which, if set to "1", makes cgit print commit and tag times in the
servers timezone. Default value: "0".