{#{% if fields.field_article_type.content|striptags|trim == "Article" %}#} {#{{dump(fields.field_article_type.content|striptags|trim)}}#} {% if fields.field_article_type.content|striptags|trim == "Article" %} {% set _icon_ = 'fa-file-text-o' %} {% set _color_ = 'blue' %} {% elseif fields.field_article_type.content|striptags|trim == "Peer-reviewed article" %} {% set _icon_ = 'fa-volume-up' %} {% set _color_ = 'red' %} {% elseif fields.field_article_type.content|striptags|trim == "Audio/visual art" %} {% set _icon_ = 'fa-volume-up' %} {% set _color_ = 'red' %} {% elseif fields.field_article_type.content|striptags|trim == "Blog post" %} {% set _icon_ = 'fa-rss' %} {% set _color_ = 'green' %} {% elseif fields.field_article_type.content|striptags|trim == "Creative writing" %} {% set _icon_ = 'fa-pencil-square-o' %} {% set _color_ = 'teal' %} {% elseif fields.field_article_type.content|striptags|trim == "News" %} {% set _icon_ = 'fa-newspaper-o' %} {% set _color_ = 'purple' %} {% elseif fields.field_article_type.content|striptags|trim == "Note" %} {% set _icon_ = 'fa-envelope-open-o' %} {% set _color_ = 'aqua' %} {% elseif fields.field_article_type.content|striptags|trim == "Notice" %} {% set _icon_ = 'fa-exclamation-circle' %} {% set _color_ = 'teal' %} {% else %} {% set _icon_ = '' %} {% set _color_ = '' %} {% endif %}