aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-07-03 11:33:59 +0800
committerChristian Hesse <mail@eworm.de>2019-06-04 13:35:43 +0200
commit7d14fff9353709c5edd31f0d9b08d7783ccace57 (patch)
tree2142e08926769d803af1d8b44abf26a0962bb706 /cgit.h
parentui-shared: restrict to 15 levels (diff)
downloadcgit-7d14fff9353709c5edd31f0d9b08d7783ccace57.tar.xz
cgit-7d14fff9353709c5edd31f0d9b08d7783ccace57.zip
css: change to be a list
Without changing the default behaviour of including /cgit.css if nothing declared, allow the "css" config to be given multiple times listing one or more alternative URL paths to be included in the document head area. Signed-off-by: Andy Green <andy@warmcat.com> Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index bcc4fce..8cf09ed 100644
--- a/cgit.h
+++ b/cgit.h
@@ -194,7 +194,6 @@ struct cgit_config {
char *cache_root;
char *clone_prefix;
char *clone_url;
- char *css;
char *favicon;
char *footer;
char *head_include;
@@ -205,6 +204,7 @@ struct cgit_config {
char *module_link;
char *project_list;
struct string_list readme;
+ struct string_list css;
char *robots;
char *root_title;
char *root_desc;