Open virresh opened 4 years ago
This is weird. Were the links to actual pages contain .html
from the beginning or did something change?
I suppose it's got to do with the new version of Apache It broke down on update and crippled our dynamic update system due to a stupid renaming of a rule
Probably they also implemented exact matching for URLs
Were we relying on rewrites in the hosting server? We shouldn't be doing that. Let me check if there is a way to configure this in jekyll so that the html page produced is hacknight/index.html
instead of hacknight.html
I think rewrite is the standard way of doing this : https://stackoverflow.com/questions/1992183/how-to-hide-the-html-extension-with-apache-mod-rewrite
Possible some more syntax changed with newer version though
@virresh so another (I believe neater) solution would be to use permalinks in jekyll to direct jekyll about what the page URL should look like.
I added this to front matter of hacknights.md
and am trying to test it on my local system but I'm facing problems with ruby. I've been getting the following error and I'm unable to fix it:
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from http://rubygems.org/
Can you try to see with your jekyll installation if that works? In the meanwhile, let's merge this so links aren't broken on the website.
Actually I'll just test out my edits with netlify instead of my local installation.
Seeing the website in broken state for long...