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

hello ${name}!

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

Loop

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