aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgit.js
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-06-23 18:25:53 +0800
committerChristian Hesse <mail@eworm.de>2021-03-14 23:18:22 +0100
commit72904bbd1a2f471d17f43c2c84d31a840e7e4ae7 (patch)
treea66035022779178ca850d3717dc286973107a5eb /cgit.js
parent21c36836b16c225d335aa562fd42c74bbd8b4f8a (diff)
downloadcgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.tar.gz
cgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.tar.zst
cgit-72904bbd1a2f471d17f43c2c84d31a840e7e4ae7.zip
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 'cgit.js')
-rw-r--r--cgit.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit.js b/cgit.js
new file mode 100644
index 0000000..b35e0bc
--- /dev/null
+++ b/cgit.js
@@ -0,0 +1,7 @@
+/* cgit.js: javacript functions for cgit
+ *
+ * Copyright (C) 2006-2018 cgit Development Team <cgit@lists.zx2c4.com>
+ *
+ * Licensed under GNU General Public License v2
+ * (see COPYING for full license text)
+ */