Topic: Pagination

Hello, how can I do the pagination like this --> 1 2 ... 25 26. Thanks to anyone who can help.