jekyll-theme-pirati 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/candidate-badge.html +1 -1
- data/_includes/menu.html +1 -1
- data/_layouts/komunalni-volby.html +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d04e3459a680ddb661e591f9740b78f358028c9547dc3ee3a09d028a65094634
|
|
4
|
+
data.tar.gz: 757496d91793c07802ce565ac2b39aeaf6893cf280727a0447221e72db5cf218
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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>{{
|
|
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>
|
data/_includes/menu.html
CHANGED
|
@@ -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="
|
|
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
|
-
{%
|
|
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>
|