{% if site.contactSummaryItems %} {% for line in site.contactSummaryItems %}
{% if line.type == 'organizationEmail' %}

Emailová adresa

{% capture href %}mailto:{{ site.organization.email }}{% endcapture %} {% include contact-line.html href=href icon="ico--envelope" caption=site.organization.email %} {% elsif line.type == 'organizationRedmineLink' %}

Podatelna (Redmine)

{% include contact-line.html href=site.organization.redmineLink icon="ico--envelope" caption=site.organization.email %} {% elsif line.type == 'organizationPhone' %}

Telefonický kontakt

{% capture href %}tel:{{ site.organization.phone }}{% endcapture %} {% include contact-line.html href=href icon="ico--phone" caption=site.organization.phone %} {% elsif line.type == 'organizationTransparentAccount' %}

Transparentní {% if line.includeMoreLink %}účty{% else %}účet{% endif %}

{% capture href %}tel:{{ site.organization.phone }}{% endcapture %} {{ site.organization.transparentAccount }}{% if line.includeMoreLink %} a další účty{% endif %} {% elsif line.type == 'organizationDataBox' %}

Datová schránka

{% include contact-line.html icon="ico--drawer" caption=site.organization.dataBoxId %} {% elsif line.type == 'piratiRootWebsite' %}

Celostátní web

{% include contact-line.html href="https://www.pirati.cz" icon="ico--pirati" caption="www.pirati.cz" %} {% elsif line.type == 'custom' %}

{{ line.body }}

{% if line.iconClass %} {% include contact-line.html icon=line.iconClass caption=line.label %} {% else %} {{ line.label }} {% endif %} {% endif %}
{% endfor %} {% else %} {% comment %}Support legacy configuration where site.contactSummaryItems is undefined{% endcomment %}

Emailová adresa

{% capture href %}mailto:{{ site.organization.email }}{% endcapture %} {% include contact-line.html href=href icon="ico--envelope" caption=site.organization.email %}

Podatelna (Redmine)

{% include contact-line.html href=site.organization.redmineLink icon="ico--envelope" caption=site.organization.email %}

Telefonický kontakt

{% capture href %}tel:{{ site.organization.phone }}{% endcapture %} {% include contact-line.html href=href icon="ico--phone" caption=site.organization.phone %}

Celostátní web

{% include contact-line.html href="https://www.pirati.cz" icon="ico--pirati" caption="www.pirati.cz" %}

Datová schránka

{% include contact-line.html icon="ico--drawer" caption=site.organization.dataBoxId %}

Transparentní {% if line.includeMoreLink %}účty{% else %}účet{% endif %}

{% capture href %}tel:{{ site.organization.phone }}{% endcapture %} {{ site.organization.transparentAccount | default: '2100048174/2010' }}{% if line.includeMoreLink %} a další účty{% endif %}
{% endif %}