Added including and excluding specific content types to template tag.