Difference between revisions of "Jinja2"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Stackoverflow Questions == | == Stackoverflow Questions == | ||
* [https://stackoverflow.com/questions/38642557/how-to-load-jinja-template-directly-from-filesystem How to load jinja template directly from filesystem - 83 K Views] | * [https://stackoverflow.com/questions/38642557/how-to-load-jinja-template-directly-from-filesystem How to load jinja template directly from filesystem - 83 K Views] | ||
− | * https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work | + | * [https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work Jinja2 {% include file %} outside of search path doesn't work - 2 K Views] |
* https://stackoverflow.com/questions/30958118/flask-template-in-blueprint-inherit-from-template-in-app | * https://stackoverflow.com/questions/30958118/flask-template-in-blueprint-inherit-from-template-in-app | ||
* https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work | * https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work | ||
* https://stackoverflow.com/questions/14276829/html-templating-using-jinja2-lost/14276993#14276993 | * https://stackoverflow.com/questions/14276829/html-templating-using-jinja2-lost/14276993#14276993 | ||
+ | |||
= Loaders = | = Loaders = | ||
*https://jinja.palletsprojects.com/en/master/api/#loaders | *https://jinja.palletsprojects.com/en/master/api/#loaders |
Revision as of 13:21, 8 April 2021
Template Handling
Stackoverflow Questions
- How to load jinja template directly from filesystem - 83 K Views
- Jinja2 {% include file %} outside of search path doesn't work - 2 K Views
- https://stackoverflow.com/questions/30958118/flask-template-in-blueprint-inherit-from-template-in-app
- https://stackoverflow.com/questions/50058873/jinja2-include-file-outside-of-search-path-doesnt-work
- https://stackoverflow.com/questions/14276829/html-templating-using-jinja2-lost/14276993#14276993
Loaders
- http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.BaseLoader.html
- http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.FileSystemLoader.html
- http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.ModuleLoader.html
- http://code.nabla.net/doc/jinja2/api/jinja2/loaders/jinja2.loaders.PackageLoader.html
- https://www.kite.com/python/docs/flask.templating.DispatchingJinjaLoader source code