redVi / voyager

Just another jekyll theme.
MIT License
45 stars 63 forks source link

post.html computes next/previous post incorrectly #1

Closed ehcloninger closed 7 years ago

ehcloninger commented 7 years ago

_layouts/post.html uses an if/elsif when putting the next/previous post links into the output. This is incorrect logic because both page.next and page.previous can exist. This should be two separate statements that create both links at the bottom of the page if both variables have values.

redVi commented 7 years ago

Thank you for your comment. I will correct this problem.