moving index page from erb to slim