{% capture label %} {% if include.item.name %}{{ include.item.name }}{% else %}{{ include.item.title }}{% endif %} {% endcapture %} {% if include.item.url contains 'http' %} {% assign url = include.item.url %} {% else %} {% assign url = include.item.url | relative_url %} {% endif %}
{%- capture img -%} {%- if include.item.img -%} {%- if include.imgSize != 'big' -%} {% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' @path %} {%- else -%} {% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' @path %} {%- endif -%} {%- else -%} {{ 'assets/img/people/unknown-pirate.svg' | relative_url }} {%- endif -%} {%- endcapture -%} {{ label }}

{{ label }}

{% unless include.showDescription == false %}

{% if include.description %} {{ include.description }} {% else %} {{ include.item.description }} {% endif %}

{% endunless %} {% unless include.showContactInfo == false %} {% if include.item.mob or include.item.mail %}
{% if include.item.mob %}
{{ include.item.mob }}
{% endif %} {% if include.item.mail %}
{{ include.item.mail }}
{% endif %}
{% endif %} {% endunless %}