aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-06-23 18:25:53 +0800
committerChristian Hesse <mail@eworm.de>2019-06-04 13:35:43 +0200
commitf38a59a4ffdfc53b2b78d6b8c6a02979f7d04e90 (patch)
treec714615a7c591feb651f47e5b72d62f5c0f61a96 /cgit.h
parentcss: change to be a list (diff)
downloadcgit-f38a59a4ffdfc53b2b78d6b8c6a02979f7d04e90.tar.xz
cgit-f38a59a4ffdfc53b2b78d6b8c6a02979f7d04e90.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.h')
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 8cf09ed..bb5e1f5 100644
--- a/cgit.h
+++ b/cgit.h
@@ -263,6 +263,7 @@ struct cgit_config {
int branch_sort;
int commit_sort;
struct string_list mimetypes;
+ struct string_list js;
struct cgit_filter *about_filter;
struct cgit_filter *commit_filter;
struct cgit_filter *source_filter;