From aee39b4e9a45e1ba507c0017de50bb9dbbae7af8 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 23 Jun 2018 18:25:53 +0800 Subject: 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 Reviewed-by: John Keeping Signed-off-by: Christian Hesse --- cgitrc.5.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cgitrc.5.txt') 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". -- cgit v1.2.3