jekyll-theme-pirati 3.1.2 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/articles/vertical-article.html +1 -1
- data/_includes/candidate-badge.html +6 -5
- data/_includes/footer.html +1 -1
- data/_includes/head.html +2 -2
- data/_includes/menu.html +1 -1
- data/_includes/people/profile-badge.html +1 -1
- data/_layouts/komunalni-volby.html +1 -0
- data/_sass/pirati.scss +44 -0
- data/assets/css/main.scss +1 -44
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f0ab8f7c947cf63b39bae182ac4450e0533e63cba866e766f1260f29d2e5f2
|
4
|
+
data.tar.gz: 7c2506702ddc7ecec286cf43b2066470d0c573f739c0c9204a10690c076975fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538e8fc4c363726dca353d7bed26046349c7768cc2b94c1428b035a8c8ce4f8cace9d05a9d095b3e39b791be776be2ca08a4ac8f1c948d2c732106964c0a84fc
|
7
|
+
data.tar.gz: 433d4adac5441e08c735a69cb404053238c83712bba0328d992473d0107d52a062c840466b3d950b10e86760640a74845b4f50ee3d22c5ce18ab70348736de64
|
@@ -44,7 +44,7 @@
|
|
44
44
|
<!-- Publisher -->
|
45
45
|
<div itemprop="publisher" itemtype="http://schema.org/Organization" class="u-hidden" itemscope="">
|
46
46
|
<div itemprop="logo" itemtype="http://schema.org/ImageObject" itemscope="">
|
47
|
-
<meta itemprop="url" content="{
|
47
|
+
<meta itemprop="url" content="{{ 'assets/img/brand/logo.svg' | relative_url }}">
|
48
48
|
</div>
|
49
49
|
<meta itemprop="name" content="Česká pirátská strana">
|
50
50
|
</div>
|
@@ -1,14 +1,15 @@
|
|
1
1
|
<div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}">
|
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
|
-
|
5
|
-
|
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>
|
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 %}
|
6
7
|
<img src="{{ img }}" alt="{{ include.candidate.fullname }}" class="c-program-candidate-badge__avatar-image">
|
7
8
|
</div>
|
8
9
|
<div class="c-program-candidate-badge__description">
|
9
|
-
<h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{
|
10
|
-
<strong class="c-program-candidate-badge__profession">{{
|
11
|
-
<p class="c-program-candidate-badge__bio">{{
|
10
|
+
<h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ person.fullname }}</span></h4>
|
11
|
+
<strong class="c-program-candidate-badge__profession">{{ person.profession }}</strong>
|
12
|
+
<p class="c-program-candidate-badge__bio">{{ person.candidateDescription }}</p>
|
12
13
|
</div>
|
13
14
|
</a>
|
14
15
|
</div>
|
data/_includes/footer.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<div class="o-section-inner">
|
10
10
|
<div class="row">
|
11
11
|
<div class="medium-12 large-3 u-stacked--medium-down u-center--medium-down columns">
|
12
|
-
|
12
|
+
<img src="/assets/img/brand/logo_napis_white.svg" alt='Česká pirátská strana' class="logo u-center-medium-down u-stacked">
|
13
13
|
<p class="u-noWrap u-stacked u-smaller-line-height show-for-large">
|
14
14
|
<span class="u-mirror-horizontally">©</span> Piráti, {{ site.time | date: '%Y' }}. Všechna práva vyhlazena.
|
15
15
|
<br>Sdílejte a nechte ostatní sdílet za stejných
|
data/_includes/head.html
CHANGED
@@ -37,9 +37,9 @@
|
|
37
37
|
<meta property="og:title" content="{{ title }}" />
|
38
38
|
<meta property="og:description" content="{{ description }}" />
|
39
39
|
{% if page.layout == 'post' %}
|
40
|
-
<meta property="og:image" content="{{ page.image
|
40
|
+
<meta property="og:image" content="{% asset '{{ page.image }}' @path %}" />
|
41
41
|
{% elsif page.img %}
|
42
|
-
<meta property="og:image" content="{
|
42
|
+
<meta property="og:image" content="{% asset '{{ page.img }}' @path %}'" />
|
43
43
|
{% else %}
|
44
44
|
<meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | relative_url }}" />
|
45
45
|
{% endif %}
|
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
|
-
|
6
|
+
<img src="/assets/img/brand/logo_napis_white.svg" alt='Česká pirátská strana' class="logo u-center-medium-down u-stacked">
|
7
7
|
</a>
|
8
8
|
</div>
|
9
9
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
{% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' @path %}
|
22
22
|
{%- endif -%}
|
23
23
|
{%- else -%}
|
24
|
-
{
|
24
|
+
{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}
|
25
25
|
{%- endif -%}
|
26
26
|
{%- endcapture -%}
|
27
27
|
<a href="{{ url }}"><img src="{{ img }}" alt="{{ label }}" class="{% if include.imgStyle == 'round' %}o-media__image--round{% endif %}" {% if include.imgSize != 'big' %}style="width: 100px"{% endif %}></a>
|
@@ -14,6 +14,7 @@ layout: page
|
|
14
14
|
</div>
|
15
15
|
<div class="c-program-candidates">
|
16
16
|
{% assign team = site.people | where_exp:"item","item.categories contains 'kandidat-obec'" | sort:"cityCandidatePosition" %}
|
17
|
+
{% assign team = page.candidates %}
|
17
18
|
{% assign leader_candidate = team | first %}
|
18
19
|
{% assign other_candidates = team | slice:1,team.size %}
|
19
20
|
|
data/_sass/pirati.scss
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
@import 'settings';
|
2
|
+
@import 'fonts';
|
3
|
+
|
4
|
+
@import "foundation-sites/scss/foundation";
|
5
|
+
@include foundation-everything;
|
6
|
+
|
7
|
+
@import 'base';
|
8
|
+
@import 'utilities/utilities';
|
9
|
+
|
10
|
+
// Import Components
|
11
|
+
@import 'components/typography';
|
12
|
+
|
13
|
+
@import 'components/program';
|
14
|
+
@import 'components/article-listing';
|
15
|
+
@import 'components/Person';
|
16
|
+
@import 'components/footer';
|
17
|
+
@import 'components/vertical-navigation';
|
18
|
+
@import 'components/icon';
|
19
|
+
@import 'components/contact-bar';
|
20
|
+
@import 'components/header-bar';
|
21
|
+
@import 'components/top-bar';
|
22
|
+
@import 'components/banner';
|
23
|
+
@import 'components/top-sub-nav';
|
24
|
+
@import 'components/widget-accordion';
|
25
|
+
@import 'components/content-card';
|
26
|
+
@import 'components/metadata-block';
|
27
|
+
@import 'components/headline-image';
|
28
|
+
@import 'components/hp-banner';
|
29
|
+
@import 'components/card';
|
30
|
+
@import 'components/tag';
|
31
|
+
@import 'components/widget-share-box';
|
32
|
+
@import 'components/widget-simple-text';
|
33
|
+
@import 'components/pagination';
|
34
|
+
@import 'components/Slider';
|
35
|
+
@import 'components/simple-accordion';
|
36
|
+
@import 'components/hero';
|
37
|
+
@import 'components/blockquote';
|
38
|
+
@import 'components/cta-button';
|
39
|
+
@import 'components/content-block';
|
40
|
+
|
41
|
+
// Import Objects
|
42
|
+
@import 'objects/section';
|
43
|
+
@import 'objects/media';
|
44
|
+
@import 'objects/space';
|
data/assets/css/main.scss
CHANGED
@@ -1,46 +1,3 @@
|
|
1
1
|
@charset "utf-8";
|
2
2
|
|
3
|
-
@import '
|
4
|
-
@import 'fonts';
|
5
|
-
|
6
|
-
@import "foundation-sites/scss/foundation";
|
7
|
-
@include foundation-everything;
|
8
|
-
|
9
|
-
@import 'base';
|
10
|
-
@import 'utilities/utilities';
|
11
|
-
|
12
|
-
// Import Components
|
13
|
-
@import 'components/typography';
|
14
|
-
|
15
|
-
@import 'components/program';
|
16
|
-
@import 'components/article-listing';
|
17
|
-
@import 'components/Person';
|
18
|
-
@import 'components/footer';
|
19
|
-
@import 'components/vertical-navigation';
|
20
|
-
@import 'components/icon';
|
21
|
-
@import 'components/contact-bar';
|
22
|
-
@import 'components/header-bar';
|
23
|
-
@import 'components/top-bar';
|
24
|
-
@import 'components/banner';
|
25
|
-
@import 'components/top-sub-nav';
|
26
|
-
@import 'components/widget-accordion';
|
27
|
-
@import 'components/content-card';
|
28
|
-
@import 'components/metadata-block';
|
29
|
-
@import 'components/headline-image';
|
30
|
-
@import 'components/hp-banner';
|
31
|
-
@import 'components/card';
|
32
|
-
@import 'components/tag';
|
33
|
-
@import 'components/widget-share-box';
|
34
|
-
@import 'components/widget-simple-text';
|
35
|
-
@import 'components/pagination';
|
36
|
-
@import 'components/Slider';
|
37
|
-
@import 'components/simple-accordion';
|
38
|
-
@import 'components/hero';
|
39
|
-
@import 'components/blockquote';
|
40
|
-
@import 'components/cta-button';
|
41
|
-
@import 'components/content-block';
|
42
|
-
|
43
|
-
// Import Objects
|
44
|
-
@import 'objects/section';
|
45
|
-
@import 'objects/media';
|
46
|
-
@import 'objects/space';
|
3
|
+
@import 'pirati';
|
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.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jitka Novotná
|
@@ -667,6 +667,7 @@ files:
|
|
667
667
|
- _sass/objects/media.scss
|
668
668
|
- _sass/objects/section.scss
|
669
669
|
- _sass/objects/space.scss
|
670
|
+
- _sass/pirati.scss
|
670
671
|
- _sass/utilities/utilities.scss
|
671
672
|
- assets/css/main.scss
|
672
673
|
- assets/fonts/BebasNeue-Thin.ttf
|