Upgrade main page to HAML