The -%} means to trim whitespace.
See the Whitespace Control section of the docs.
http://twig.sensiolabs.org/doc/templates.html#whitespace-control
Reference:
http://stackoverflow.com/questions/17298902/what-does-the-hyphen-mean-for-a-block-in-twig-like-in-block-body
Thursday, September 3, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment