Sha256: 89bc83fdfbf5cd18bd759ed4bff009b5e41c9720722529f2397d51ee7815ec68

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 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"
  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 %}
        <!-- Mobile divider -->
        <hr class="block lg:hidden" />
      </section>
    </div>
  </main>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-pirati-8.1.0 _layouts/person.html
jekyll-theme-pirati-8.0.0 _layouts/person.html
jekyll-theme-pirati-8.0.0.pre.beta2 _layouts/person.html