Skip to content

Instantly share code, notes, and snippets.

@christophercurrie
Created January 18, 2013 22:39
Show Gist options
  • Save christophercurrie/4569300 to your computer and use it in GitHub Desktop.
Save christophercurrie/4569300 to your computer and use it in GitHub Desktop.
<%def name="outer(x)">
<%def name="inner(y)">
values ${x} and ${y}
</%def>
${caller.body()}
</%def>
<%self:outer x="1">
<%self:inner y="${x + 1}" />
</%self:outer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment