The <template> Tag
The <template> tag is identical in most respects to the
<content> tag.
Typically, one will want to differentiate textual content, such as news
articles, from template content, such as page templates. This tag allows
those semantic differences to be expressed at a high level; use
<content> blocks for textual content, and
<template> blocks for template content.
Note that <template> blocks are never mapped in site maps, and
cannot hold metadata.
It is implemented as a content item with the map attribute set to
false .
Example
<template name="page_header" format="text/html">
<html><head><title> $[this.title] </title></head>
</template>
|