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

Multiple template files with the same file name #205

Open
Jand42 opened this issue Nov 9, 2018 · 0 comments
Open

Multiple template files with the same file name #205

Jand42 opened this issue Nov 9, 2018 · 0 comments

Comments

@Jand42
Copy link
Member

Jand42 commented Nov 9, 2018

If there are multiple files with the same name passed to the TP (from different folders), the last one hides all the others. It is better to keep only file names as keys (so you can move files for organizing and templates still link to each other the same), but then this is a hidden cause of other errors (not finding the template in the "shadowed" file). Raise an error instead in the TP with the message "Template file names should be unique. Conflict found: filename.html".

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

1 participant