Split index into layout and partials
Merge branch 'master' into gh-pages