Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Globally disable Prev/Next links #1727

Closed
chris-79 opened this issue Jul 29, 2019 · 1 comment · Fixed by #1761
Closed

Globally disable Prev/Next links #1727

chris-79 opened this issue Jul 29, 2019 · 1 comment · Fixed by #1761
Assignees
Labels
has PR Has a related PR type: feature request Request to add a new feature

Comments

@chris-79
Copy link

Feature request

Add option to globally disable Previous and Next links

What problem does this feature solve?

Not having to add code to each-and-every file/page

What does the proposed API look like?

¯\_(ツ)_/¯ Dunno

How should this be implemented in your opinion?

Options in themeConfig

Are you willing to work on this yourself?

Can't :(

@chris-dura
Copy link

chris-dura commented Aug 2, 2019

These are added via a plugin in the default theme, so you could just remove that plugin in your config, I believe. Or, if you want to go nuclear, add this one line of CSS...

.page-nav {
  display: none;
}

@ulivz ulivz added the type: feature request Request to add a new feature label Aug 7, 2019
@kefranabg kefranabg self-assigned this Aug 8, 2019
@kefranabg kefranabg added the has PR Has a related PR label Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has PR Has a related PR type: feature request Request to add a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants