i only added the public hugo folder to the gh-pages branch because i couldnt get it to work with this guide “github-pages” tutorial from the hugo site (can only post two links thats why i dont linke to it here)
Hmm… strange… I couldn’t reproduce your error with Hugo v0.12 even without the trailing slash. Oh, wait, #793 and #799 I referred to in my previous message only applies when running hugo server, which obviously isn’t what you are doing here. My apologies.
And you have canonifyurls = true defined in config.toml too. Either canonifyurls = true or {{ .Site.BaseUrl }} (or both) would result in full URLs that I see generated when I tested your code, e.g. in public/post/2014-12-13-devlxqttoo/index.html:
Hello @anthonyfok !Thanks for your reply!
Yes, that’s exactly what’s confusing me too. I use .Site.BaseUrl but see ./css/syntax.css.
I have no idea how this happens. It’s my first time with hugo, so I figured it’s a mistake on my end, but I just can’t find it :-/
Going to add the trailing slash and see if it changes anything anyways. Would be glad to hear other ideas if it doesn’t.
Which version and which OS are you using? If Hugo v0.12, I highly recommend that you try to compile the latest Hugo v0.13-DEV from source, especially if you are running Windows.
@anthonyfok actually I am using v0.13-DEV BuildDate: 2015-02-03T21:18:03+01:00 on OSX. Gonna try on Linux later, so far no luck sigh I hope I can find a solution to be done with the basics of the blog and start actually writing articles
I still couldnt solve this Tried it on Linux too, same thing.
Well. Actually CSS/JS works now, no reason why, didnt change anything, pictures work too, but when i try to use pictures in the posts like this: