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

Add the ability to extend the template collection from another folder #57

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

grego
Copy link
Contributor

@grego grego commented Dec 4, 2021

Adds functions extend_from_folder and extend_from_folder_with_extension to include templates from another folder in the collection.
If there is a file with the same name as a previously loaded template or partial, it will not be loaded.
Also, this should fix the issue #53 (the name of the partial which was not found should always be returned).

Adds functions `extend_from_folder` and `extend_from_folder_with_extension`
to include templates from another folder in the collection.
If there is a file with the same name as a previously loaded template or partial,
it will not be loaded.
Also, this should fix the issue maciejhirsz#53 (the name of the partial which was not found
should always be returned).
@maciejhirsz maciejhirsz merged commit 41cd4ca into maciejhirsz:master Dec 13, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants