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.