[Template] add numbered pagination