<%def name="greeting(name)">

Hello, ${name | h}!

<%include file="header.html"/> ${greeting(user)} ${greeting('me')} ${greeting('world')}

Loop

% if items: % endif <%include file="footer.html"/>