implemented partials on index page