{% for endpoint, title in [ ('index', 'Home'), ('friends', 'Friends'), ('list_events', 'Events'), ('community', 'Community'), ('ladder', 'Ladder'), ] %}