fabpot/Twig — Issue #605: include should function
Author: mrxotey
Created: 2012-01-19 09:23:08+00:00
State: open

According to documentation (http://twig.sensiolabs.org/doc/advanced.html)

> * `{{ }}`: used to print the result of an expression evaluation;
> * `{% %}`: used to execute statements.

But `{% include %}` tag evaluates and prints code. So I belive that it should function `{{ include("path/to/template/file.twig") }}`