dreverri / gollum-site

Static Site Generator for Gollum Wikis
254 stars 28 forks source link

base_path without slash #4

Closed vladdu closed 13 years ago

vladdu commented 13 years ago

I think this change fixes the problem in issue #3. In the code, base_path is used with File.join and a slash is added automatically.

If for some reason you don't want to do this change, please consider adding a note to README.md.

Thanks!

dreverri commented 13 years ago

This causes the layout to generate with two slashes when using the default base path: <link rel="stylesheet" href="//css/screen.css" type="text/css" charset="utf-8">

dreverri commented 13 years ago

I've added a note in the README regarding this issue advising users to specify "./" for relative URLs.