{% from theme('macros/certified.html') import badge_if_certified %} {% macro organization_name_with_certificate(org, size="sm", show_icon=true) %} {% set org_type = organization_type(org) %} {% if show_icon and org_type %} {% endif %} {{org.name}}{{badge_if_certified(org, size)}} {% endmacro %}