Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: nunjucks not respecting filename case #44

Closed
probins opened this issue Apr 3, 2021 · 2 comments
Closed

Bug: nunjucks not respecting filename case #44

probins opened this issue Apr 3, 2021 · 2 comments

Comments

@probins
Copy link
Contributor

probins commented Apr 3, 2021

0.16.0 introduced a file-naming bug. Up until 0.15.4, a file called myFile.js.njk would be correctly transformed into myFile.js, but since 0.16.0 is transformed into myfile.js. I assume this is linked to the 'slugifier' introduced in 0.16.0

@oscarotero
Copy link
Member

mmm, ok.
I don't recoment to use upper case filenames for the web, but I guess this should be optional, so I'm going to include a option to disable this behaviour, like we have for prettyUrls.
Thanks!

@oscarotero
Copy link
Member

New version released, you can disable it with slugifyUrls: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants