T002 create page actions

Display items list. Diplay menu and static pages
Pleas move all common stuff to base layout.
Why you call this common function in each template instead of just calling this function only in base layout?