updateMaxPage
Updates the maximum number of pages based on the total amount of content.
Parameters
totalContent
the total number of content items that need to be paginated
Updates the maximum number of pages based on the total amount of content.
the total number of content items that need to be paginated