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

Support for next and previous pages #14

Open
WilliamJns opened this issue May 7, 2020 · 2 comments
Open

Support for next and previous pages #14

WilliamJns opened this issue May 7, 2020 · 2 comments
Labels
enhancement New feature request status: consideration Feature request or bug fix is being considered

Comments

@WilliamJns
Copy link

WilliamJns commented May 7, 2020

I think it would be great if we add a section at the end of the main content in created pages and then provided two links to move on the previous and the next page on the custom pages. Something like the following example probably helps to list the related content better and make this library better than it is.

Screen Shot 2020-05-07 at 12 59 32 PM

Live demo

@mipatterson
Copy link
Owner

I toyed around with this idea in the early stages of development on the plugin. My only hesitance is that this starts to learn more towards a theme than functionality. (Although, certainly there would need to be some behavior here to define which pages show this and which page is "next" in scenarios where there are child pages or page sections.)

My hope was to really limit the amount of changes required to a theme to make it compatible with this plugin. I'd need to give it some more thought though.

@mipatterson mipatterson added enhancement New feature request status: consideration Feature request or bug fix is being considered labels Nov 24, 2020
@StoneCypher
Copy link

StoneCypher commented Jun 12, 2022

You can just add some custom CSS to achieve the appearance, then

{@page foobar.md | Previous } 
{@page corge.md | Next } 

to get the link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request status: consideration Feature request or bug fix is being considered
Projects
None yet
Development

No branches or pull requests

3 participants