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

Disable Previus and Next button #1592

Closed
1 of 6 tasks
XaBerr opened this issue Mar 19, 2018 · 2 comments
Closed
1 of 6 tasks

Disable Previus and Next button #1592

XaBerr opened this issue Mar 19, 2018 · 2 comments

Comments

@XaBerr
Copy link

XaBerr commented Mar 19, 2018

  • This is a question about using the theme.
  • This is a feature request or enhancement.
  • I believe this to be a bug with the theme.
    • I am using the latest version of the theme.
    • I have updated all gems with bundle update.
    • I have tested locally with bundle exec jekyll build.

How can I disable these two buttons from the theme?
If you can help this is my use of the theme.
Thanks in advance.

cattura

@mmistakes
Copy link
Owner

mmistakes commented Mar 19, 2018

You can't disable them without customizing the theme.
The relevant line is here which brings in an include for the buttons {% include post_pagination.html %}

What you could do is add a blank file /_includes/post_pagination.html to your local repo which would override the one bundled in the theme. It would have the same affect as removing the buttons from the page.

@XaBerr
Copy link
Author

XaBerr commented Mar 19, 2018

Great thanks

@XaBerr XaBerr closed this as completed Mar 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants