Open RezMike opened 4 years ago
I think it is not possible with Jekyll in a reasonable way
@soywiz but maybe it can be done with Liquid? Like it's done with site's table of contents.
Mmm maybe it is possible. It seems that there are previous
and next
properties in the post object. Check: https://talk.jekyllrb.com/t/previous-and-next-links-with-a-collections/3171
If you investigated that already and you want to do that, please, go ahead
@soywiz I just tried to implement it using toc.html
as an example, but I failed. It turned out to be not as simple as I thought. In order to implement this feature, we need to sort all the pages (and their children) in the special order via liquid, but I don't know if it's possible (liquid may be not powerful enough for that).
Uhm. That would require an extra effort assigning a numeric value to each page. Maybe not worth. Still let's keep this issue in the case we figure out a way at some point
Add buttons pointing to previous and next articles in the current article (at the end and maybe at the beginning).
Something like that: