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

Flip ahead browsing via rel="next" and rel="prev" #253

Closed
wilsonmar opened this issue Mar 27, 2016 · 1 comment
Closed

Flip ahead browsing via rel="next" and rel="prev" #253

wilsonmar opened this issue Mar 27, 2016 · 1 comment

Comments

@wilsonmar
Copy link
Contributor

wilsonmar commented Mar 27, 2016

How do I add Next/Previous functionality to this theme?

Microsoft's new tool at:
https://dev.windows.com/en-us/microsoft-edge/tools/staticscan/?url=http%3A%2F%2Fmmistakes.github.io%2Fminimal-mistakes%2F

Also, in the Windows Features > Flip Ahead Browsing section, it says
To enable pagination and Flip Ahead browsing, add the following to your page's element

<link rel="next" href="/next"/>
<link rel="prev" href="/prev"/>
@mmistakes
Copy link
Owner

You can add it using Jekyll's page.next and page.previous variables. https://jekyllrb.com/docs/variables/

It only really works for posts. If you're trying to paginate Collections you'll have to roll your own custom Liquid to do it.

@mmistakes mmistakes changed the title Next/Prev functionality Flip ahead browsing via rel="next" and rel="prev" Apr 25, 2016
@mmistakes mmistakes added this to the 3.1.3 milestone Apr 25, 2016
@mmistakes mmistakes self-assigned this Apr 25, 2016
@mmistakes mmistakes removed this from the 3.1.3 milestone Apr 27, 2016
mmistakes added a commit that referenced this issue Jul 11, 2016
sobkowiak pushed a commit to sobkowiak/sobkowiak.github.io-new that referenced this issue Jul 18, 2016
sobkowiak pushed a commit to sobkowiak/sobkowiak.github.io-new that referenced this issue Jul 18, 2016
cjmadsen pushed a commit to cjmadsen/cjmadsen.github.io that referenced this issue Dec 7, 2016
jluccisano added a commit to jluccisano/jluccisano.github.io that referenced this issue May 6, 2017
theRealSuperMario pushed a commit to theRealSuperMario/therealsupermario.github.io that referenced this issue Jul 18, 2020
makaroniame added a commit to makaroniame/makaroniame-old.github.io that referenced this issue May 18, 2022
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