Switched index page to rendering from partials