textpattern/textpattern-default-theme — pull request #50 by petecooper (2014-06-20 10:45:29+00:00)
Title: Check for external links before displaying them

If a user deletes the Textpattern-related links and doesn't populate with any others, the sidebar `h4` still appears regardless, which looks odd.

This PR wraps the `h4` and subsequent list in a variable, checking for the existence of 1 or more links.