From: Andrew Gerrand {{"{{"}}block}}<
combined with allowing redefinition of named templates,
provides a simple way to define pieces of a template that
can be replaced in different instantiations.
-For example, the template
-
-<title>{{"{{"}}block "title"}}Page Title{{"{{"}}end}}</title> -<body> -<h1>{{"{{"}}template "title"}}</h1> -{{"{{"}}block "page"}}Main text{{"{{"}}end}} -- -
-defines the basic formatting of a web page. A program can then
-overlay that template with new definitions for the "title"
-and "page"
blocks to reuse the formatting for another page.
+There is an example
+in the text/template
package that demonstrates this new feature.