Rich Folders

Rich Folders is a Movable Type Plugin I wrote to aid in the process of creating the Contents pane that adorns these pages. It contains a set of functions.

Conditional Blocks

  • FolderHasIndex - Used within Folder Context. Returns true if the current folder has an page within it that is with a basename of “index”
  • PageIsIndex - Used in Page Context. Returns true if the current page’s basename is “index”.

Example

The following is the Widget Template used to create the Contents pane. It’s based on the already existing “Pages” Widget Template.