converted index.html to a view with the same page() constructs