jekyll-theme-pirati 3.2.0 → 3.2.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: 04f0ab8f7c947cf63b39bae182ac4450e0533e63cba866e766f1260f29d2e5f2
4
- data.tar.gz: 7c2506702ddc7ecec286cf43b2066470d0c573f739c0c9204a10690c076975fe
3
+ metadata.gz: d04e3459a680ddb661e591f9740b78f358028c9547dc3ee3a09d028a65094634
4
+ data.tar.gz: 757496d91793c07802ce565ac2b39aeaf6893cf280727a0447221e72db5cf218
5
5
  SHA512:
6
- metadata.gz: 538e8fc4c363726dca353d7bed26046349c7768cc2b94c1428b035a8c8ce4f8cace9d05a9d095b3e39b791be776be2ca08a4ac8f1c948d2c732106964c0a84fc
7
- data.tar.gz: 433d4adac5441e08c735a69cb404053238c83712bba0328d992473d0107d52a062c840466b3d950b10e86760640a74845b4f50ee3d22c5ce18ab70348736de64
6
+ metadata.gz: 775f9c901e08f46351c29f0d2e3447f336319861d1a4d415f273ad59511e49d82c1feb5da79836d27ec0755f4101c4b19a3bff8ea6a85c0cb1529abf59b34f00
7
+ data.tar.gz: cac1e3e54979b1a2307650da2741b84d6f02bd56d37baca7252ca78f300ce95c4c4847768ea66858e266f9e7494494e618ac58cfbe278bd5bc409eefba02b95f
@@ -2,7 +2,7 @@
2
2
  <a class="c-program-candidate-badge__body" href="{{ include.candidate.url | relative_url }}">
3
3
  <div class="c-program-candidate-badge__avatar">
4
4
  {% assign person = site.people | where_exp:"item","item.uid contains include.candidate" | first %}
5
- <span class="c-program-candidate-badge__rank"><span>{{ person.cityCandidatePosition}}.</span></span>
5
+ <span class="c-program-candidate-badge__rank"><span>{{ include.position }}.</span></span>
6
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 %}
7
7
  <img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image">
8
8
  </div>
@@ -3,7 +3,7 @@
3
3
  <div class="c-top-bar">
4
4
  <div class="c-top-bar__brand">
5
5
  <a href="{{ '/' | relative_url }}">
6
- <img src="/assets/img/brand/logo_napis_white.svg" alt='Česká pirátská strana' class="logo u-center-medium-down u-stacked">
6
+ <img src="{{ 'assets/img/brand/logo_napis.svg' | relative_url }}" alt='Česká pirátská strana' class="logo u-center-medium-down u-stacked">
7
7
  </a>
8
8
  </div>
9
9
 
@@ -18,13 +18,14 @@ layout: page
18
18
  {% assign leader_candidate = team | first %}
19
19
  {% assign other_candidates = team | slice:1,team.size %}
20
20
 
21
- {% include candidate-badge.html candidate=leader_candidate leader=true %}
21
+ {% include candidate-badge.html candidate=leader_candidate leader=true position="1" %}
22
22
 
23
23
  <div class="c-program-candidates__others">
24
24
  {% for candidate in other_candidates %}
25
25
  {% assign loopindex = forloop.index | modulo: 3 %}
26
26
  {% if loopindex == 1 %}<div class="c-program-candidates__row">{% endif %}
27
- {% include candidate-badge.html candidate=candidate leader=false %}
27
+ {% assign position = forloop.index | plus: 1 %}
28
+ {% include candidate-badge.html candidate=candidate leader=false position=position %}
28
29
  {% if loopindex == 0 or forloop.last %}</div>{% endif %}
29
30
  {% endfor %}
30
31
  </div>
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.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná