Hi,
I have a template that has both handlebars and jinja2 tags, I use the {%
raw %} tag to mark the areas where jinja2 should stop processing and let
handlebar take care of the rest.
This causes a very long and complicated template that could be easily
shorten if I only had the include_raw tag (or ssi).
I'm aware that there are
workarounds<http://stackoverflow.com/questions/9767585/insert-static-files-literally-into-jinja-templates-without-parsing-them>for
that but I really think it should come out of the box.
The tag should be fairly easy:
{% incldue_raw 'template1.hb' %} (or maybe just extend the existing {%
include %} ?)
{% incldue_raw '{{ app }}/template1.hb' %} (support parameter expansion)
I looked into Extension, but as far as I can see one line tags are not
supported by Extension.
Regards,
-Shay Erlichmen.
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/groups/opt_out.