full title function
Finish layout and routes