Don't print markup in _s_content_nav() when it is not needed. Fixes #28. #38

Merged
merged 1 commit into from Sep 14, 2012
Commits on Aug 15, 2012
  1. @kovshenin

    Don't print markup in _s_content_nav() when it is not needed. Fixes #28.

    kovshenin committed Aug 15, 2012
    Added checks for previous (or parent) and next post in _s_content_nav() before printing any navigation-specific markup. Same approach for when using the function to print pagination links on a posts set for less than two pages.