Not a developer? Go to MovableType.com

Documentation

HasNoSubfolders

This template tag was added in version 6.0.4.

This conditional tag detects when the current folder has no subfolders.

Examples

<mt:Folders>
  <mt:HasNoSubFolder>
    <mt:FolderLabel> <!-- no sub-folders exist here -->
  <mt:else>
    <mt:FolderLabel> <!-- sub-folders exist here -->
  </mt:HasNoSubFolder>
</mt:Folders>
Back

Leave a Comment