Skip to content

Priority of search in content directories #56

@ClmntBcqt

Description

@ClmntBcqt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions