Movable Type Documentation > Appendices > Appendix: Template Tags

Pages

Type: block

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 MTPage variable tags.

Because pages are basically non-date-based entries, the the <mt:Pages> tag is very similar to <mt:Entries>. See <mt:Entries> for more details.

Contexts supported

  • Weblog
  • System

Attributes

See <mt:Entries> for a full list of attributes.

Attributes in addition to those from are:

  • folder - use folder label, not basename
  • include_subfolders - 0 | 1

Example

<mt:Pages folder="About Us" lastn="10">
  <!-- do something -->
</mt:Pages>
This page was last updated on 2008-04-24, 20:55.  

Submit a User Contributed Note

User contributed notes are a great way to share the knowledge you have gained in using Movable Type.

If you have a technical question or problem, please visit Movable Type Support.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)