You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't appear that EXPOSE_BLOCKS is documented anywhere on the http://www.template-toolkit.org/ site. The only place to find out about it is in the O'Reilly book.
The text was updated successfully, but these errors were encountered:
Normally a block is only processed as part of the template in which it's contained. The expose_blocks option allows you to process a block in isolation, using the following syntax:
[% PROCESS <templatename>/<blockname> %]
For example if you had a navbar block defined in your header.tt and wanted to render the same navbar in some other context without the surrounding header code, you could use expose_blocks and then
It doesn't appear that
EXPOSE_BLOCKS
is documented anywhere on the http://www.template-toolkit.org/ site. The only place to find out about it is in the O'Reilly book.The text was updated successfully, but these errors were encountered: