-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Bug report
When plain relative (omitting dot dash notation) urls are given inside of frontmatter prev/next blocks the resulting links are targeting some random pages not the pages user expects
Version
v10.2
Steps to reproduce
Crete page with frontmatter prev/next values like (Im using json syntax):
"prev": "author-info-box",
"next": "breadcrumb"
What is expected?
Resulting prev/next links should point to 'mydomain.com/shortcodes/author-info-box' and 'mydomain.com/shortcodes/breadcrumb' pages.
What is actually happening?
Resulting prev link is some random page ("mydomain.com/shortcodes/author" in my case) and next points to the exact page Im currently on now (which is quite nonsense on its own and certainly not correct).
Modifying the values to:
"prev": "./author-info-box",
"next": "./breadcrumb"
fixes everything and generates correct links and points to mydomain.com/shortcodes/author-info-box
and mydomain.com/shortcodes/breadcrumb