IIIT-Delhi / byld-website

Static Website for IIIT-Delhi's Software Dev Club Byld
https://iiit-delhi.github.io/byld-website/
8 stars 29 forks source link

Add permalinks to pages to avoid .html extension #90

Open peey opened 4 years ago

peey commented 4 years ago

Closes https://github.com/IIIT-Delhi/byld-website/pull/89

peey commented 4 years ago

@virresh seems to work. Have a look.

virresh commented 4 years ago

Actually if I look back at netlify deploys, it works regardless: Deploy from last merged PR: https://deploy-preview-88--brave-nightingale-ea2673.netlify.com/hackathons

This is probably because netlify already uses nginx to serve pages and nginx handles url re-writes much more cleanly than latest apache version So unless we merge it, I don't think we'll be able to test it out (or we sideload directly this branch on server rather than polluting the commit history)

virresh commented 4 years ago

(And same goes for gh-page deployment as well): https://iiit-delhi.github.io/byld-website/hackathons

peey commented 4 years ago

I'm confused about why netlify is working prior to this fix. We don't have a htaccess file committed.

Where exactly are we directing nginx/apache server to rewrite a.html to a?