about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2018-07-03 11:33:59 +0800
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-19 16:49:09 +0100
commit093ac9697068833a15cae2dbbd5ffbc0203741c0 (patch)
tree32653fc7b87d4f91abad02dc11f6afc07f3fab28 /cgit.h
parentcgitrc: handle value "0" for max-repo-count (diff)
downloadcgit-magenta-093ac9697068833a15cae2dbbd5ffbc0203741c0.tar.xz
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;