{% macro card_tools(s) %} {% if templates %} {%set edit_template = templates.editor_url(s) | replace('%2F','/') %} {%endif%} {% endmacro %}