Baby steps towards launch of my new web site. And new things to learn for each one of them:
When I put the static files from my #11ty build online, on my web server, individual post pages aren't rendered in the browser, but instead downloaded as text files. When I use 11ty's local dev server functionality, all works as expected.
I could need some help debugging what's going on here.
The files doesn't have any file suffix. Should .html be added by 11ty?
Eleventy 🎈 v3.0.0-alpha.10
in reply to Anders Thoresson • • •this is in our common pitfalls guide! https://www.11ty.dev/docs/pitfalls/ “The browser is trying to download my files instead of displaying them.”
cc @jamesdoc
Common Pitfalls
EleventyEleventy 🎈 v3.0.0-alpha.10
in reply to Eleventy 🎈 v3.0.0-alpha.10 • • •@jamesdoc and of course I see https://mas.to/@jamesdoc/112305483939161467 right after posting!
Thanks James!
James Doc
2024-04-20 20:41:29
James Doc
in reply to Eleventy 🎈 v3.0.0-alpha.10 • • •James Doc
in reply to Anders Thoresson • • •Anders Thoresson
in reply to James Doc • • •James Doc
in reply to Anders Thoresson • • •Anders Thoresson
in reply to James Doc • • •James Doc
in reply to Anders Thoresson • • •Anders Thoresson
in reply to James Doc • • •James Doc
in reply to Anders Thoresson • • •https://www.11ty.dev/docs/permalinks/
It might be worth checking what's going on there– make sure that you have that trailing slash in that config file…
Permalinks
Eleventy