algoo / jfmengine

A soft fork of JSSG for algoo websites use case
Other
0 stars 0 forks source link

Priority of search in content directories #56

Open ClmntBcqt opened 2 months ago

ClmntBcqt commented 2 months ago

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.