Convert index to html
Break out index into partials