aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-04-06 18:00:20 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-04-06 18:00:20 -0400
commit4a19e4d9d9b2f952e9afd93311ef19dc395ac46a (patch)
tree5b8892d2ad46c2827ac16e5052f11d1abb207c70 /CHANGES
parent266abebaf9aad33e139f5f2ebd50ad604d6f3f86 (diff)
downloadexternal_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.tar.gz
external_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.tar.bz2
external_python_mako-4a19e4d9d9b2f952e9afd93311ef19dc395ac46a.zip
- New tag: <%block>. A variant on <%def> that
evaluates its contents in-place. Can be named or anonymous, the named version is intended for inheritance layouts where any given section can be surrounded by the <%block> tag in order for it to become overrideable by inheriting templates, without the need to specify a top-level <%def> plus explicit call. Modified scoping and argument rules as well as a more strictly enforced usage scheme make it ideal for this purpose without at all replacing most other things that defs are still good for. Lots of new docs. [ticket:164]
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES15
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 76a023b..b99ff1d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,19 @@
0.4.1
+- New tag: <%block>. A variant on <%def> that
+ evaluates its contents in-place.
+ Can be named or anonymous,
+ the named version is intended for inheritance
+ layouts where any given section can be
+ surrounded by the <%block> tag in order for
+ it to become overrideable by inheriting
+ templates, without the need to specify a
+ top-level <%def> plus explicit call.
+ Modified scoping and argument rules as well as a
+ more strictly enforced usage scheme make it ideal
+ for this purpose without at all replacing most
+ other things that defs are still good for.
+ Lots of new docs. [ticket:164]
+
- a slight adjustment to the "highlight" logic
for generating template bound stacktraces.
Will stick to known template source lines