{% interface PageImpl { Title() Stylesheets() Scripts() Body() } %} {% func Page(p PageImpl) %} {%= p.Title() %} {%= p.Stylesheets() %} {%= p.Scripts() %} {%= p.Body() %} {% endfunc %} {% func GetDoneButton(done bool) %} {% if done %} {% else %} {% endif %} {% endfunc %}