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

Add Previous/Next Links to Post #3

Open
TheYorkshireDev opened this issue Jan 3, 2021 · 0 comments
Open

Add Previous/Next Links to Post #3

TheYorkshireDev opened this issue Jan 3, 2021 · 0 comments

Comments

@TheYorkshireDev
Copy link
Owner

Now that I have more than one post I should really link to previous and next articles. I have already put the foundations in place for this, so should be trivial to hook up then a bit of styling.

It would be cool if the previous/next related to the page the user came from. For example, when navigating from the /blog/ page then the previous/next will be dictated by the date amongst all posts, whereas, navigating from a tag listing (tags/blog) will link to other tag related posts before falling back to "all" if there are no other related posts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant