diff options
Diffstat (limited to 'docs/index.txt')
-rw-r--r-- | docs/index.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/index.txt b/docs/index.txt index f976ce9..42b269e 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -457,19 +457,24 @@ Still To Do template. Maybe like:: {{call expr}} - template code... + template code... {{endcall}} That would mean ``{{expr(result_of_template_code)}}``. But maybe there should be another assignment form too, if you don't want to - immediately put the output in the code. And then you get methods. - Is this going too far? + immediately put the output in the code. Probably defs could be used + for this, like:: + + {{def something}} + template code... + {{enddef}} + {{expr(something)}} News ==== -svn trunk ---------- +0.3 +--- * Added ``{{inherit}}`` and ``{{def}}`` for doing template inheritance. |