Refactor index.html with layout and includes