WebMake
WebMake Documentation (version 2.1)

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.

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>


                                                  

WebMake Documentation (version 2.1)
Built With WebMake