aboutsummaryrefslogtreecommitdiffstatshomepage
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>2021-03-14 23:18:22 +0100
commit21c36836b16c225d335aa562fd42c74bbd8b4f8a (patch)
tree7d1599e7c511dd4ec88e30b1b5e746ed771a73b3 /cgit.h
parentbd6f5683f6cde4212364354b3139c1d521f40f39 (diff)
downloadcgit-21c36836b16c225d335aa562fd42c74bbd8b4f8a.tar.gz
cgit-21c36836b16c225d335aa562fd42c74bbd8b4f8a.tar.zst
cgit-21c36836b16c225d335aa562fd42c74bbd8b4f8a.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 69b5c13..1d88396 100644
--- a/cgit.h
+++ b/cgit.h
@@ -195,7 +195,6 @@ struct cgit_config {
char *cache_root;
char *clone_prefix;
char *clone_url;
- char *css;
char *favicon;
char *footer;
char *head_include;
@@ -206,6 +205,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;