Currently, it's possible to add custom scripts/stylesheets to the head of every page by updating head-includes.php
Whilst it's possible to export an overridden version into the docker container, doing that would mean that any upstream changes will get missed during updates.
So, it'd be good if we could add a config section to define scripts and stylesheets to include
Activity
18-Apr-22 17:08
I've added the following to the config file
URLs embedded within the arrays will be added using the appropriate anchor.
Scripts will need to use
onDomReady
or similar as this doesn't provide a way to embed inline javascript (not sure I feel comfortable enabling that).18-Apr-22 17:10
mentioned in commit e32d8384287ea9a1f83a6210b71340b8fb39745c
Message
Implement ability to provide the URL of javascript or stylesheets to embed via config option (websites/Gitlab-Issue-Listing-Script#23)