Wrote default pagination template