mdror/codebenimble — pull request #1 by bswinnerton (2014-08-05 14:15:56+00:00)
Title: Prepends all links to public with the site's basepath

Hey Michael!

Alrighty, so here's what was up. Everywhere that you were referencing `public`, you were doing so with a forwardslash `/public`, which literally means, find the `public` folder from the base path of my site. What's tricky is when you're looking at the site from http://mdror.github.io/codebenimble/, the base path of the site would be http://mdror.github.io/, and so it's looking for http://mdror.github.io/public/, but we know that it actually lives in http://mdror.github.io/public/codebenimble/, so this pull request is a proposal to change all instances where you're linking to `public` to remove the trailing slash, and instead change it with Jekyll's dynamically created baseurl (using that special `{ }` syntax that is [Liquid](http://docs.shopify.com/themes/liquid-documentation/basics). Now, in our case, baseurl will always be empty because we aren't specifying it in `_config.yml`. This means that all links look like this: `` once Jekyll is done compiling everything to HTML and CSS.

You can see the working code here: http://brooks.swinnerton.me/codebenimble/.

The way pull requests work is all you have to do is click merge pull request, and then it should automatically update your site.