https://ellislab.com/codeigniter/user-guide/tutorial/static_pages.html

so just add pages to the views > pages without the body tag. it will
automatically add that and the header menu ( see views> templates)