Mercurial > genshi > genshi-test
view examples/bench/myghty/template.myt @ 661:c7dcd4dc240d experimental-sandboxed
loader raises an SecurityException in restricted mode if absolute paths are used
author | aronacher |
---|---|
date | Thu, 29 Nov 2007 18:51:48 +0000 |
parents | 1f4e66680f9f |
children |
line wrap: on
line source
<%args> title items user </%args> <head> <title><% title %></title> </head> <&|base.myt:wrap &> <div><& base.myt:greeting, name=user &></div> <div><& base.myt:greeting, name="me"&></div> <div><& base.myt:greeting, name="world" &></div> <h2>Loop</h2> %if items: <ul> % for item in items: <li><% item %></li> % </ul> % </&>