add layout and paginator partial