Hugo

Get First Page of Home

Hi,

For my blog the home page is a list, and I have pagination at the bottom, set to show 5 posts per page.

How do I make an item show only on the first page of home, but not /page/2/ …?

Your question isn’t complete enough for us to help yet. Please review Requesting Help and then explain what you’ve done and what you need help with. :slight_smile:

I want to do something like
(if on Home page 1) - - the main page is a list page

Show this header

(end)

I have tried using .Paginator.PageNumber but keep getting an error saying it has already been made.

That means what it says. You need to fix that.