on the homepage, how the pagination numbering (as in the image)
Can someone guide me?
That’s not a concept Discourse employs.
See What is “Infinite Scrolling”? - howto / faq - Discourse Meta