Don't output list if no related posts

Always output the <div> but don't output the <ul> if there are no
related posts to display. An empty <ul> with no items  will throw a
validation error.

Fingers crossed that this isn't another crazy line ending commit.