AngeloStavrow / indigo

An IndieWeb-friendly custom theme for Hugo
MIT License
57 stars 32 forks source link

"Newer" / "Older" links in article footer are backward #54

Closed AngeloStavrow closed 5 years ago

AngeloStavrow commented 5 years ago

⚠️ BREAKING CHANGE ⚠️

This will break sites built with Hugo v0.49 and earlier. Please be sure to upgrade Hugo to the latest version.

Describe the bug With Hugo 0.50 and later, the "Newer" link at the bottom of an article goes to an older article, and vice versa. The theme uses .Next and .Prev, which were deprecated in favour of .PrevPage and .NextPage respectively.

Expected behavior Clicking on the "Newer" link should take the reader to a newer article, and vice versa.

Additional context See the discussion in this issue.

AngeloStavrow commented 5 years ago

Closed by #55