hoodiehq / hood.ie

:dog: Hoodie Website
http://hood.ie
Apache License 2.0
78 stars 61 forks source link

replaced links to bookmarks in intro #337

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

as I started to play with Hoodie and browse the (really great :) docs, I bumped into some links which should lead to a bookmark on the intro page, but instead they led to the top of the intro page.

Unfortunately, I wasn't able to fix this issue, so let me share my findings and suggest a workaround.

It seems that this format (as used in the footer) doesn't lead to the bookmark: http://hood.ie/intro#get-started But if you add a / before the # (as used in the header), it works as expected: http://hood.ie/intro/#get-started You can observe the same behaviour, if you type these two addresses into a browser.

I guess it has something to do with configured redirect_from. On pages where no redirect_from is configured, there is no difference between the two formats. E.g. these 2 links both lead to the bookmark: http://hood.ie/contribute#design http://hood.ie/contribute/#design

Unfortunately, I couldn't find out the reason for this behaviour. And I also didn't manage to reproduce the issue in a local environment. So for the moment, I can only suggest to use the /# format consistently. Please let me know, if you have more info on this topic.

Cheers