I created a macro that I want to use (hence import) into a template. I have looked at countless tutorials but none of them seem to help and my macro is not being imported.
I have an integer field that I am trying to get my template to display differently only if it contains "0". Though I cannot get it to output correctly.
{% if content.field_caves__max_level.0 != 0 %}
{{ content.field_caves__max_level.0 }} Max
{% endif %}