Closed adamsilver closed 5 years ago
Cracked it! A bit of a weird one, but here it is:
When you set the permalink like this /testing-123
which is the intuitive way to do it, Eleventy appears to render it as a file. The browser then just treats it as a text file.
The solution is to do /testing-123/index.html
instead...
https://lucid-bhabha-061e53.netlify.com/testing-123/
What I’ll do is try to add some helper text in the CMS for that field and remove the required state.
Cheers for uncovering this one, Adam.
Immense, thanks!
On Fri, 20 Sep 2019, 10:40 Andy Bell, notifications@github.com wrote:
Cracked it! A bit of a weird one, but here it is:
When you set the permalink like this /testing-123 which is the intuitive way to do it, Eleventy appears to render it as a file. The browser then just treats it as a text file.
The solution is to do /testing-123.html instead...
https://lucid-bhabha-061e53.netlify.com/testing-123/
What I’ll do is try to add some helper text in the CMS for that field and remove the required state.
Cheers for uncovering this one, Adam.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hankchizljaw/hylia/issues/81?email_source=notifications&email_token=AAAJCK3KLAFZDJCPCMKQNYDQKSLCHA5CNFSM4IYUFYJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GFNIA#issuecomment-533485216, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAJCKYKKBRRYI6HRF6M3NLQKSLCHANCNFSM4IYUFYJA .
What I did:
And it renders the source code which you can see here: