Performance improvement

Check existence of post format, before calling get_template_part('inc/post-formats');