Automattic/_s — pull request #38 by kovshenin (2012-08-15 13:08:43+00:00)
Title: Don't print markup in _s_content_nav() when it is not needed. Fixes #28.

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.