python - How to include another template with Chameleon? -
i'm using latest chameleon in latest pyramid. want let template include template. php, may use such '@include('_partials.assets')', how use chameleon?
in question how use template inheritance chameleon?, know how inherit, can't include yet.
thank you!
if understand question correctly can put line of code in first template.
<tal metal:use-macro='load:partial_assests.pt'></tal> "tal" replaced html tag.
Comments
Post a Comment