jekyll-theme-pirati 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91be0dfa5a3df33ea4f16d0a7bf41a8feda4001b7e5ccc67027d00f35e4fbdff
4
- data.tar.gz: 91eb74d6a8aac8d98bd30391e3bc261ea9656df5582b60f25e7f3734448890bd
3
+ metadata.gz: aaa4387fe36c020abdd615e1ebbb19543e0676347c959c264f07dacf81cbf567
4
+ data.tar.gz: 2db1f431671b56142bacc21943ae0ee3e6715f1884441dbc32ed200e0e4fb7a3
5
5
  SHA512:
6
- metadata.gz: 37e3ac3f25b5e5cee8ecab49f06f9934b29fc447c8cea89f4f59aac07c1f307cc954afa2fa95971a6a216fb820899a551a4d6d0d3d547977d3c711e86c6edb05
7
- data.tar.gz: 5264881dd5a785dc614d33033d144085cef8e53e560255cc0804ef2e9879a70ee60323527192d8d07cb8484e11cd683f5307fd4f42e83728a1647e0643b49cfb
6
+ metadata.gz: b1b0768a01ec8439f2127f7eb8d74e5e3c72b626be4fd3a1c7019f813f930914b9fa2c10d7427f7b502fe90a85c769af32a90ef21bec75cac4f1401b2498be17
7
+ data.tar.gz: 5bb9f9debd11fd21ad2b26805f4792349d98fccc782a9ce4e1234b876cf775a5e0e78b386699ec6e941d3072638dda127609ac868ea5c4c301392812aae0e66a
@@ -1,9 +1,8 @@
1
1
  <div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}">
2
- {% assign person = site.people | where_exp:"item","item.uid contains include.candidate" | first %}
3
- <a class="c-program-candidate-badge__body" href="{{ person.url | relative_url }}">
2
+ <a class="c-program-candidate-badge__body" href="{{ include.candidate.url | relative_url }}">
4
3
  <div class="c-program-candidate-badge__avatar">
5
- <span class="c-program-candidate-badge__rank"><span>{{ include.position }}.</span></span>
6
- {% capture img %}{% if person.img %}{% asset '{{ person.img }}' magick:resize='240x240^' magick:gravity='center' magick:crop='240x240+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
4
+ <span class="c-program-candidate-badge__rank"><span>{{ include.rank }}.</span></span>
5
+ {% capture img %}{% if include.candidate.img %}{% asset '{{ include.candidate.img }}' magick:resize='240x240^' magick:gravity='center' magick:crop='240x240+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
7
6
  <img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image">
8
7
  </div>
9
8
  <div class="c-program-candidate-badge__description">
@@ -8,8 +8,8 @@
8
8
  <i class="fa fa-address-card-o fa-lg u-rotate-15"></i>
9
9
  </span>
10
10
  </a>
11
- <div class="c-widget-accordion-content text-center" data-tab-content="">
12
- {% asset '{{ page.img }}' alt='{{ page.name }}' %}
11
+ <div class="c-widget-accordion-content c-widget-accordion-content--nopad text-center" data-tab-content="">
12
+ {% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" %}
13
13
  </div>
14
14
  </li>
15
15
  </ul>
@@ -13,7 +13,8 @@
13
13
  {% include people/profile-badge.html item=person style='card' headlineClass='t-h3' showContactInfo=false %}
14
14
  {% endfor %}
15
15
  <div class="c-widget-accordion-content__cta">
16
- <a class="expanded button large u-0margin" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
16
+ {% assign peopleCol = site.collections | where: "label", "people" | first %}
17
+ <a class="expanded button large u-0margin" href="{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/lide/' | relative_url }}{% endif %}"> Poznejte celý náš tým! </a>
17
18
  </div>
18
19
  </div>
19
20
  </li>
@@ -108,6 +108,10 @@
108
108
  padding: 1rem;
109
109
  background: $white;
110
110
  border: 3px $primary-color solid;
111
+
112
+ &.c-widget-accordion-content--nopad {
113
+ padding: 0;
114
+ }
111
115
  }
112
116
 
113
117
  .c-widget-accordion .c-widget-accordion-link {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná