-
Notifications
You must be signed in to change notification settings - Fork 180
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
Ability to specify multiple include directories, not only the one containing the template #75
Comments
georgespalding
pushed a commit
to videoplaza/jinja2-cli
that referenced
this issue
Mar 25, 2019
…arch for jinja templates This is useful for reuse when a set of shared templates are maintained in another directory by using {% include 'lib/header.j2' %} style includes.
georgespalding
added a commit
to videoplaza/jinja2-cli
that referenced
this issue
Mar 25, 2019
Add -i --includes option extending the paths to search for jinja templates (mattrobenolt#75)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Somewhat related to #37 and #55 I want to give jinja2-cli ability to search other directories for {% include 'othertemplate.j2' %} that exists in another directory outside of the root path for the current template.
The suggestion for doing this is adding commandline option
-I/--include
to indicate which directories should be searched for templates.The text was updated successfully, but these errors were encountered: