Skip to content

Conversation

kHarshit
Copy link
Contributor

@kHarshit kHarshit commented Nov 3, 2019

As mentioned on Jekyll 2->3 migration guide, certain URLs with trailing slashes return 404.

For example,
https://pytorch.org/hub works, but https://pytorch.org/hub/ doesn't

I think that one of the solution is add trailing slashes in the permalink, the other is to rename files to index.html e.g. in hub/ folder rename hub.html to index.html.

This PR adds trailing slashes, but doing so will break the link https://pytorch.org/hub.html. I don't think it'll cause any problem as all the URLs in this repo use /hub.

@soumith soumith merged commit efe79ee into pytorch:site Nov 4, 2019
@soumith
Copy link
Member

soumith commented Nov 4, 2019

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants