-
Notifications
You must be signed in to change notification settings - Fork 15
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
Next/Previous post #21
Comments
If I get some time this month I will work on a PR for this functionality. In my mind I see it implemented by modifying getMdFiles to return a double linked list (struct) that can then be used by the worker to enable the template to know the previous/next items. e.g: type mdFile struct {
current os.FileInfo
previous *mdFile
next *mdFile
} Then rather than returning |
This makes perfect sense and seems like an elegant solution. |
Having seen the discussion on categories(#19), the aforementioned |
Hmm... To be honest, I think this is getting a bit too complicated, as to seemingly defeat the purpose of underblog. I believe prev/next links should not take categories into account, but rather navigate globally, between all posts. |
It would be nice to have the ability to link to the next/previous post from each post.
The text was updated successfully, but these errors were encountered: