diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-26 03:32:03 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-11-26 03:32:03 +0000 |
| commit | 063a9d8f6e6da72c101562d0af286b8c1b7f5eb4 (patch) | |
| tree | cf4e277ebb9842fe6fc38a2efe010cd33be26b57 /examples | |
| parent | a113f140f90564731e45f0325f3ee3b72a3323df (diff) | |
| download | external_python_mako-063a9d8f6e6da72c101562d0af286b8c1b7f5eb4.tar.gz external_python_mako-063a9d8f6e6da72c101562d0af286b8c1b7f5eb4.tar.bz2 external_python_mako-063a9d8f6e6da72c101562d0af286b8c1b7f5eb4.zip | |
changed %component to %def
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/bench/mako/template.html | 4 | ||||
| -rw-r--r-- | examples/bench/mako_inheritance/base.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/bench/mako/template.html b/examples/bench/mako/template.html index d861d54..2bd9fce 100644 --- a/examples/bench/mako/template.html +++ b/examples/bench/mako/template.html @@ -7,9 +7,9 @@ </head> <body> -<%component name="greeting(name)"> +<%def name="greeting(name)"> <p>hello ${name}!</p> -</%component> +</%def> <%include file="header.html"/> diff --git a/examples/bench/mako_inheritance/base.html b/examples/bench/mako_inheritance/base.html index f076e78..87f0f24 100644 --- a/examples/bench/mako_inheritance/base.html +++ b/examples/bench/mako_inheritance/base.html @@ -7,9 +7,9 @@ </head> <body> -<%component name="greeting(name)"> +<%def name="greeting(name)"> <p>hello ${name}!</p> -</%component> +</%def> <div id="header"> <h1>${title}</h1> |
