<mt:Pages>

A container tag which iterates over a list of pages--which pages depends on the context the tag is being used in. Within each iteration, you can use any of the page variable tags.

Because pages are basically non-date-based entries, the the Pages tag is very similar to Entries.

Attributes unique to the Pages tag:

  • folder

    Use folder label, not basename.

  • include_subfolders

    Specify '1' to cause all pages that may exist within subfolders to the folder in context to be included.

This page was last updated on 2008-04-24, 20:55. [Edit]

1 Note

You can feed <mt:Pages> an id to create context for a specific page, something that is useful for creating permalinks, for instance, that won't be broken by renaming specific pages, like contact forms or about pages.

<mt:Pages id="####"><mt:PagePermalink></mt:pages>

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.