Files
benji0x3c/themes/tabi/templates/macros/target_attribute.html
2026-03-13 10:12:44 +01:00

12 lines
204 B
HTML

{% macro target_attribute(new_tab) %}
{%- set blank_target = "" -%}
{%- if new_tab -%}
{%- set blank_target = "target=_blank" -%}
{%- endif -%}
{{ blank_target }}
{% endmacro target_attribute %}