mako loop for index page