Unique class for first page of paginated content

Trying to figure out how to do a slightly different layout for PAGE 1 (using tag.hbs) than PAGE 2, 3, 4, etc.

I’ve tried using {{page}}, but that appears to be only picked up within the context of {{pagination}}. I need to detect which page of paginated results is being used earlier in the template markup.

Anything I can use to do this? Recommendations?

What about {{ pagination.page }} in your tag.hbs file?

1 Like

That’s it! I was missing the context. Thanks :)

1 Like