twig.js icon indicating copy to clipboard operation
twig.js copied to clipboard

include only parser issue

Open ghost opened this issue 8 years ago • 3 comments

As described in #453, this throws an error although it should work according to the Twig documentation : {% include "header.html" only %}

These work but are unintuitive: {% include "header.html"  only %} {% include "header.html" with {} only %}

ghost avatar Jul 27 '17 08:07 ghost

Good luck...for some reason I can't get a simple include working...

BeKnowDo avatar May 25 '18 18:05 BeKnowDo

@ScoutsOut we would need more details about your template and how you setup your env to help you.

ericmorand avatar May 25 '18 19:05 ericmorand

I can confirm this is not working as expected: https://codepen.io/willrowe/pen/VwXeQQj.

willrowe avatar Jul 06 '22 19:07 willrowe