Sha256: 03c6abc7cbb69c8065f99458fb3231df3f87f35cc1dbcb351a4e4cc79582e3f2

Contents?: true

Size: 1.5 KB

Versions: 13

Compression:

Stored size: 1.5 KB

Contents

---
layout: default
---

{% if page.heroImg %}
  {% if site.mediaStorage %}
      {% capture imgPath %}https://a.pirati.cz/{{ site.mediaStorage }}/img/{{ page.heroImg }}{% endcapture %}
  {% else %}
      {% capture imgPath %}{% asset '{{ page.heroImg }}' @path %}{% endcapture %}
      {% assign imgPath = imgPath | absolute_url %}
  {% endif %}
{% elsif 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 %}

{% capture personName %}{% include people/fullname.html person=page %}{% endcapture %}

{%
  include hero/simple.html
  headline=personName
  description=page.profession
  headlineClass="text-center lg:text-left mx-auto lg:mx-0"
  descriptionClass="max-w-xl mx-auto text-center lg:text-left"
  heroSpacing="pt-16 pb-24 lg:pt-32 pb-24"
  class="candidate-detail__hero"
  bgImg=imgPath
%}

<div class="container container--default py-8 lg:pb-24">
  <main>
    <div class="flex flex-col lg:flex-row lg:space-x-8 xl:space-x-16">
      <section class="lg:w-3/5 xl:w-2/3">
        <div class="content-block w-full">
          {{ content }}
        </div>
      </section>
      <section class="lg:w-2/5 xl:w-1/3 pt-8 lg:pt-0 order-first lg:order-last candidate-detail__sidebar">
        {% include right-bar/rbar.html %}
      </section>
    </div>
  </main>
</div>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
jekyll-theme-pirati-sk-1.0.3 _layouts/person.html
jekyll-theme-pirati-sk-1.0.0 _layouts/person.html
jekyll-theme-pirati-8.4.7 _layouts/person.html
jekyll-theme-pirati-8.4.6 _layouts/person.html
jekyll-theme-pirati-8.4.5 _layouts/person.html
jekyll-theme-pirati-8.4.4 _layouts/person.html
jekyll-theme-pirati-8.4.3 _layouts/person.html
jekyll-theme-pirati-8.4.1 _layouts/person.html
jekyll-theme-pirati-8.4.0 _layouts/person.html
jekyll-theme-pirati-8.3.0 _layouts/person.html
jekyll-theme-pirati-8.2.2 _layouts/person.html
jekyll-theme-pirati-8.2.1 _layouts/person.html
jekyll-theme-pirati-8.2.0 _layouts/person.html