--- layout: default --- {% if page.img %} {% if site.mediaStorage %} {% capture imgPath %}https://a.pirati.cz/{{ site.mediaStorage }}/img/{{ page.img }}{% endcapture %} {% else %} {% capture imgPath %}{% asset '{{ page.img }}' @path %}{% endcapture %} {% assign imgPath = imgPath | absolute_url %} {% endif %} {% endif %} {% include hero/simple.html headline=page.heroHeadline description=page.heroDescription bgImg=imgPath %}
{% if page.shorthand %} {% endif %} {% if page.openingHoursSEO %} {% endif %} {% if page.mapIframeLink %} {% endif %} {% if site.facebook.profilePage %} {% endif %}
{{ content }}
{% if page.calendarId or page.calendarPage %}

{{ page.calendarTitle | default: "Kalendář akcí" }}

{% include calendar.html calendarId=page.calendarId title=page.calendarTitle calendarPage=page.calendarPage hideBanner=true classes="mb-4" %} {% endif %}

Kde to najdu?

{% if page.mapIframeLink %} {% endif %} {% if page.address %}

{{ page.address | newline_to_br }}

{% endif %} {% if page.addressNote %}

{{ page.addressNote }}

{% endif %}
{% if page.contactPersons %}

Kontakt

{% for contact in page.contactPersons %} {% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %} {% if forloop.first %} {% capture badgeClass %}badge--condensed{% endcapture %} {% else %} {% capture badgeClass %}badge--condensed mt-4{% endcapture %} {% endif %} {% include people/profile-badge.html description=contact.description item=person class=badgeClass avatarClass="avatar--md" %} {% endfor %} {% endif %}
{% if site.facebook.profilePage or site.forum.page %}
{% if site.facebook.profilePage %} {% include buttons/super.html href=site.facebook.profilePage cta="Sledujte nás na Facebooku" icon="ico--facebook" class="bg-brands-facebook text-white container-padding--zero lg:container-padding--auto lg:w-full" %} {% endif %} {% if site.forum.page %} {% include buttons/super.html href=site.forum.page cta="Sledujte naše fórum" icon="ico--bubbles" class="bg-black text-white container-padding--zero lg:container-padding--auto lg:w-full" %} {% endif %}
{% endif %}