{% macro input(var) -%}
{% if (
       (var is not none) and
       (("<" not in var | string) and (">" not in var | string))
) -%}
{{- caller() }}
{%- endif %}
{%- endmacro -%}

{{ description }}

Para saber mais acesse:
Website: {{ url_ckan }}
Github: https://github.com/basedosdados/mais/

Ajude a manter o projeto :)
Apoia-se: https://apoia.se/basedosdados

Instituição (Quem mantém os dados oficiais?)
-----------
Nome: {{ organization -}}
{% if author is defined %}
{% call input(author.name) %}
Autor: {{ author.name }}
{%- endcall -%}
{% call input(author.name) %}
Email: {{ author.email }}
{%- endcall %}
{% endif %}

{% if website is defined %}
{% call input(website[0]) -%}
Onde encontrar os dados
-----------------------
{% if (website is not none) -%}
{% for partition in website -%}
- {{ partition }}
{% endfor -%}
{%- endif %}
{% endcall -%}
{% endif %}

{% call input(groups[0]) -%}
Grupos
------
{% if (groups is not none) -%}
{% for partition in groups -%}
- {{ partition }}
{% endfor -%}
{%- endif %}
{% endcall -%}

{% if languages is defined %}
{% call input(languages[0]) -%}
Idiomas
------
{% if (languages is not none) -%}
{% for partition in languages -%}
- {{ partition }}
{% endfor -%}
{%- endif %}
{% endcall -%}
{% endif %}


{% if license is defined %}
Licença
-------
Nome: {{ license.name }}
{% call input(license.url) %}
Website: {{ license.url }}
{% endcall %}
{% endif %}