-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(theme): custom prev/next labels and text (#897)
- Loading branch information
Showing
5 changed files
with
84 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
# Prev Next Link | ||
|
||
Documentation coming soon... | ||
You can customize the text of previous and next links. This is helpful if you want to show different text on previous/next links than what you have on your sidebar. | ||
|
||
## prev | ||
|
||
- Type: `string` | ||
|
||
- Details: | ||
|
||
Specify the text to show on the link to the previous page. | ||
|
||
If you don't set this in frontmatter, the text will be inferred from the sidebar config. | ||
|
||
- Example: | ||
|
||
```yaml | ||
--- | ||
prev: 'Get Started | Markdown' | ||
--- | ||
``` | ||
|
||
## next | ||
|
||
- Type: `string` | ||
|
||
- Details: | ||
|
||
Same as `prev` but for the next page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters