Adding support for linking post thumbnails in category view to post permalink.