Show More
@@ -147,6 +147,9 b' def gettemplate(exp, context):' | |||
|
147 | 147 | if exp[0] == 'template': |
|
148 | 148 | return compiletemplate(exp[1], context) |
|
149 | 149 | if exp[0] == 'symbol': |
|
150 | # unlike runsymbol(), here 'symbol' is always taken as template name | |
|
151 | # even if it exists in mapping. this allows us to override mapping | |
|
152 | # by web templates, e.g. 'changelogtag' is redefined in map file. | |
|
150 | 153 | return context._load(exp[1]) |
|
151 | 154 | raise error.ParseError(_("expected template specifier")) |
|
152 | 155 |
General Comments 0
You need to be logged in to leave comments.
Login now