don't display unpublished posts in related posts sidebar

fixes #6