I have a git repository with a bunch of code at https://github.com/ozzyogkush/solitaire-webapp, and a GitHub pages branch (at https://github.com/ozzyogkush/solitaire-webapp/tree/gh-pages) all set up for that repository. The question is, does GitHub pages (when rendered at http://ozzyogkush.github.io/solitaire-webapp/) 'see' the main repository in any way? Meaning if I want to include a stylesheet (say, stored in {repository}/somedir/css/somecss.css
), is there a shortcut way of doing it (that also sends the correct MIME type) or do I have to link to the full raw data URL?
If you look at the source of the GH Pages you'll see I'm grabbing some CSS and JS from the repo, using the full path to the raw source, and both of them are returned in plain text rather than text/css
and application/javascript
as expected.