X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/093ac9697068833a15cae2dbbd5ffbc0203741c0..aee39b4e9a45e1ba507c0017de50bb9dbbae7af8:/cgit.c?ds=sidebyside diff --git a/cgit.c b/cgit.c index 75d9926..57d7097 100644 --- a/cgit.c +++ b/cgit.c @@ -143,6 +143,8 @@ static void config_cb(const char *name, const char *value) ctx.cfg.root_readme = xstrdup(value); else if (!strcmp(name, "css")) string_list_append(&ctx.cfg.css, xstrdup(value)); + else if (!strcmp(name, "js")) + string_list_append(&ctx.cfg.js, xstrdup(value)); else if (!strcmp(name, "favicon")) ctx.cfg.favicon = xstrdup(value); else if (!strcmp(name, "footer"))