grav icon indicating copy to clipboard operation
grav copied to clipboard

Prev/next navigation buttons have wrong URLs

Open Sulpher opened this issue 3 years ago • 1 comments

Hi, Next or prev arrow icon buttons have the same URL of existing page where I am standing at. So, the problem is in generation of URLs in these buttons.

What way to go to investigate the issue? Thank you.

Grav - latest version Learn2 theme - latest version PHP 8.1 / 7.4 (tested both versions)

Sulpher avatar Nov 08 '22 10:11 Sulpher

Hi I figure this is a little late, but for anyone else looking at this:

If I understand you correctly, the issue is that the next/prev buttons are loading the same page that you're clicking them from. I had the same issue, but it can be resolved by using the following in the frontmatter of the pages you want to navigate between:

category: [ docs ]

IHash223 avatar Jan 17 '25 14:01 IHash223