jnordberg / wintersmith

A flexible static site generator
http://wintersmith.io/
MIT License
3.5k stars 335 forks source link

Asset urls not affected by baseUrl in config.json #242

Closed sonicoder86 closed 9 years ago

sonicoder86 commented 10 years ago

On localhost everything was just fine, but when i uploaded the generated blog to github, the links translated correctly with baseUrl, but the css is still starting from /css/main.css Here is the site: http://blacksonic.github.io/blog/

devbyray commented 10 years ago

I've got the same issue with images from the markdown files. I need to delete the first '/' from the url. The baseUrl is ignored by the config.json file. This is also for the CSS and Javascript btw @blacksonic ;-)

morenoh149 commented 9 years ago

I had this issue. What wasn't obvious is that you can specify the baseUrl twice, once as normal and once within the locals group.

jnordberg commented 9 years ago

Yeah the naming of that option isn't the best..