Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3881

Closed
Open
Created May 08, 2013 by Administrator@rootOwner

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!)

Assignee
Assign to
Time tracking