Nesting of all pages is made. Content of main page add static without database.