split index.html into partials