r-Techsupport / hyde

A web editor and CMS for Jekyll/git static sites.
GNU General Public License v3.0
6 stars 3 forks source link

Write a middleware for the file router that supports accessing files without including `.html`? #7

Open zleyyij opened 4 months ago

zleyyij commented 4 months ago

Right now, pages are accessible at page.html on the release build. So what's /editor in the dev build is /editor.html in the production build. I think this could be solved by writing a tower middleware that accounts for that, possibly using the file serve dir as a reference/baseline.

zleyyij commented 2 months ago

https://discord.com/channels/749314018837135390/1240828670986162247/1260431753454030858 relevant discussion