Closed mlinksva closed 8 years ago
Don't use Javascript: let the server do it and keep track of URLs.
https://help.github.com/articles/redirects-on-github-pages/
It's not a nice nginx rewrite one-liner, but we can degrade gracefully without having to resort to javascript in this case.
hk
We are free to share code and we code to share freedom (X)yne Foundation, Free Culture Foundry * https://www.dyne.org/donate/
That uses javascript and only works within one jekyll site.
Structure is similar on both meaning that for instance http://costoffreedom.cc/book/opening:freedom/ is now http://book.costoffreedom.cc/book/opening:freedom/
This should be done in 990484524cd5071f34d49f5fad67f9ed16361898 and fa9dd7456d2c294baf8be33861be7892509f56ee with a note added in 07b6ab73dda8a5716fce562c0d844849ada29722
I didn't notice til now 35d5e0b and #50 ... I like the 404 handler as a backup. I'd rather not completely remove the initial book URLs, especially the PDF.
That said I don't care that much. @clemsos feel free to just switch gh-pages to the 'clean' branch if that's what you think is best.
I added the 404 as well, so we have both :) I think we can close this now.
Two obvious approaches:
As mentioned in #34