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

Priority of search in content directories #56

Open
ClmntBcqt opened this issue Aug 9, 2024 · 0 comments
Open

Priority of search in content directories #56

ClmntBcqt opened this issue Aug 9, 2024 · 0 comments

Comments

@ClmntBcqt
Copy link
Contributor

When setting JFME_CONTENT_DIR, the first directory of the list is check first for looking content, if the content is found, the others content directories are not checked.
This behavior implies that the content in the first directory of JFME_CONTENT_DIR overwrite the others.

Example : for a directory my-content/ and the file base.html, if JFME_CONTENT_DIR is set to [BASE_DIR / "content"] + [BASE_DIR / "my-content"], the my-content/base.html will NOT overwrite content/base.html

Expected : the opposite behavior would be clearer for the user, the last content directory should override others.

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