{% macro target_attribute(new_tab) %}
 
{%- set blank_target = "" -%}

{%- if new_tab -%}
    {%- set blank_target = "target=_blank" -%}
{%- endif -%}

{{ blank_target }}

{% endmacro target_attribute %}
