Add way to append CSS & JS files without modifying templates.
Created by: fbender
I'd like to overwrite some styles (e. g. modify Markdown style) and add some scripts (mostly some private magic) on a few pages. However, I'd need to modify quite a few template files to do that (which may cause trouble with later versions of GITlab).
What I'd like to see are simply two string config (gitlab.yml?) variables where I can enter plain HTML. The two spots to insert those strings are just before the closing HEAD tag (mostly for styles, var insert_html_head
?) and the closing BODY tag (for scripts, var insert_html_body
?). Plain HTML allows for the greatest flexibility compared to some magical-provide-CSS-path-and-create-link-tag which only allows for one application each.
Thank you for your consideration.
(I'm no Ruby dev, otherwise I'd have sent a PR … sorry!)