{% macro render_field(f) %} {% if f.type == "BooleanField" %}
{{user|orcid if full_url else config.ORCID_BASE_URL.split('/', 2)[2] + user.orcid}}
{%- else %} {% endif -%}
{%- endmacro %}
{% macro image(filename) -%}{{url_for('static', filename='images/' + filename)}}{%- endmacro -%}