Working logic for index to display posts with links differently than posts with bodies.