<$mt:PageExcerpt$>

This tag outputs the contents of the page Excerpt field if one is specified or, if not, an auto-generated excerpt from the page Body field followed by an ellipsis ("...").

The length of the auto-generated output of this tag can be set in the blog's Entry Settings.

Attributes:

no_generate (optional; default "0")

When set to 1, the system will not auto-generate an excerpt if the excerpt field of the page is left blank. Instead it will output nothing.

* convert_breaks (optional; default "0")

When set to 1, the page's specified text formatting filter will be applied. By default, the text formatting is not applied and the excerpt is published either as input or auto-generated by the system.

Example:

    <$mt:PageExcerpt$>
This page was last updated on 2008-04-14, 21:56.

1 Note

Could you provide an example that shows the attributes?

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.