Closed sanman1k98 closed 11 months ago
Instead of transforming the array of photos to get a page number, we can use paginate() in the getStaticPaths() function to do that for us.
paginate()
getStaticPaths()
Actually I think it is better to do the transformation because I would be able to create links to specific photos from anywhere I have access to that collection entry.
Closing this issue.
Instead of transforming the array of photos to get a page number, we can use
paginate()
in thegetStaticPaths()
function to do that for us.