3 ms·
I've seen some static site generators sidestep this issue by always putting HTML files into its own directory and relying on `index.html` being correctly handle
by lifthrasiir 3y ago
I've seen some static site generators sidestep this issue by always putting HTML files into its own directory and relying on `index.html` being correctly handled. That hindered my attempt to use HTTP content negotiation for multilingual sites (e.g. `foo.en.html`), unfortunately.
- Symbiote 3y agoIn that case index.en.html, index.fr.html etc would typically do the negotiation.
- lifthrasiir 3y agoIf I manually put those files, yes. But those generators wouldn't know that part of the file name and put `foo.en.md` to `foo.en/index.html` for example. Can be fixed later, sure, but still annoying and often breaks other features in the generator.