mirror of
https://git.zx2c4.com/cgit
synced 2025-07-30 23:55:28 +02:00
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>
This commit is contained in:
parent
91f25909b9
commit
093ac96970
4 changed files with 22 additions and 7 deletions
2
cgit.h
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue