syrusakbary / pyjade

Jade template system for Django, Jinja2 and Mako
MIT License
699 stars 122 forks source link

Jinja jade includes do not work. #231

Open smaudet opened 8 years ago

smaudet commented 8 years ago

Syntax should be

include somefolder/somefile

However this produces a jinja2 file which directly references the jade file.

{% include 'somefolder/somefile.jade' %}

PyJade doensn't proceed to intercept the jinja2 call at all, and there is no attempt to raw include the files, so the result is that include are completely broken.

smaudet commented 8 years ago

Potential workaround: https://github.com/syrusakbary/pyjade/pull/233