How to access the last (most recent) page?

I would need to know if you’re talking about in a section, taxonomy, or just the site overall. But first look at ordering by the lastmod field:

https://hugodocs.info/templates/lists/#by-last-modified-date

And then use the first func.

1 Like