defnull/bottle — pull request #373 by ritave (2012-09-05 17:32:09+00:00)
Title: Added abillity to use variables in %include statements

Now you can use {{variable}} and {{!variable}} markup in %include statements.

Simple example:
main.py
```python
import bottle

@bottle.route("/")
def index():
return bottle.template("test", {
"what": "template"
})

bottle.run(host='localhost', port=8080)
```

test.tpl
```
Template 1
%include cool_{{what}}
````

cool_template.tpl
```
Template 2
```