A conditional tag used to test for the folder assignment for the page in context, or generically to test for which folder is in context.
- name (or label; optional)
The name of a folder. If given, tests the folder in context (or folder of an entry in context) to see if it matches with the given folder name.
<mt:IfFolder name="News"> (current page in context is in the "News" folder) </mt:IfFolder>