Merge pull request #661 from simonista/custom-js

Add option for custom js (like custom css)
This commit is contained in:
bootstraponline
2013-03-19 17:06:38 -07:00
7 changed files with 38 additions and 1 deletions
+3 -1
View File
@@ -554,10 +554,12 @@ Note that filenames on windows must not contain any of the following characters
Gollum optionally takes a `--config file`. See [config.rb](https://github.com/gollum/gollum/blob/master/config.rb) for an example.
## CUSTOM CSS
## CUSTOM CSS/JS
The `--css` flag will inject `custom.css` from the root of your git repository into each page. `custom.css` must be commited to git or you will get a 302 redirect to the create page.
The `--js` flag will inject `custom.js` from the root of your git repository into each page. `custom.js` must be commited to git or you will get a 302 redirect to the create page.
## CONTRIBUTE
If you'd like to hack on Gollum, start by forking the repo on GitHub: