{% if "display_category" in article and article.display_category.name %}
  {% if article.display_category.name == 'Articles' %}
    Article
  {% elif article.display_category.name == 'Case studies' %}
    Case study
  {% elif article.display_category.name == 'News' %}
    News
  {% elif article.display_category.name == 'Webinars' %}
    Webinar
  {% elif article.display_category.name == 'White papers' %}
    White paper
  {% else %}
    {{ article.display_category.name }}
  {% endif %}
{% else %}
  Article
