-
|
Does anybody know how I can use the pagination_next and pagination_prev front matter variables to link to a specific document id. I have tried setting a specific document as follows: `--- title: some document and then linking that from another document as follows: `--- pagination_next: null pagination_prev: 1 (original code does not contain blank lines) when building the project, it errors out that the id cannot be found. What should I be doing differently? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi! It's a bit confusing, but currently the See #6018 where we also plan to make the |
Beta Was this translation helpful? Give feedback.
Hi! It's a bit confusing, but currently the
idfront matter only changes the last part of a doc's ID. For example, if your doc is at/docs/tutorial/basic/intro.md, addingid: 1can only make its ID becometutorial/basic/1. You still need to use the full ID when usingpagination_prev.See #6018 where we also plan to make the
idfront matter declare the full ID instead of the last part.