separated masthead into template part