HaxePunk / haxepunk.com

Website for haxepunk.com
5 stars 10 forks source link

Double slashes on urls #8

Closed fritzvd closed 9 years ago

fritzvd commented 10 years ago

Hi,

The games section behaved erratically. Then I saw the urls have a double slash: http://haxepunk.com//games/haelstrom.html

Maybe that is the problem. In any case, thought you might want to know

h-vishal commented 9 years ago

This issue is because of edit https://github.com/HaxePunk/haxepunk.com/commit/2923ac9ca0f22dc05185b229060e9e3e389f309a A leading slash in the url indicates that it is relative to the base url - adding the site.baseurl variable before the url causes the url to be generated with two slashes as indicated in the previous comment. Reverting the change mentioned here will fix the problem and generate the correct url.

ibilon commented 9 years ago

Indeed, thanks for finding the bug!