{% macro email_tag(email, text) -%} {{ text | default(email) }} {%- endmacro %} {% macro referrer_email_tag(referrer_email, referrer_name) -%} {{ referrer_name }} ({{ referrer_email }}) {%- endmacro %} {% macro link_tag(url, text) -%} {{ text | default(url) }} {%- endmacro %}