jekyll-theme-pirati 7.4.0 → 7.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/menu.yml +6 -0
- data/_includes/404.html +20 -0
- data/_includes/contacts/residence.html +36 -7
- data/_includes/footer.html +31 -1
- data/_includes/head.html +7 -1
- data/_includes/people/profile-badge.html +1 -1
- data/_includes/regions/crossroad.html +26 -0
- data/_includes/right-bar/bar_person_contact.html +2 -1
- data/_includes/tables/zebra.html +25 -0
- data/_layouts/contacts.html +36 -5
- data/_layouts/person.html +22 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97247b3668abacdb51a90cff3eaf1268122562ea146a4c5966ca7c6c58f4b788
|
4
|
+
data.tar.gz: 71798e11550c1fab3988285778e6ea5068bd4232f42e3fb92ce456ba51f9fabb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dead30db801267e3def6ee2f0a7f798586aa717a675292de4f7fbe0ff872eddecf0d855e4045008822f907c1b01d924f0e75a70ae7b7217b6a1cb0eb8d85e1d5
|
7
|
+
data.tar.gz: dde8cc2ae1618f9d7792f1ac837ad0e240f80feb1cd85818da479611cce4ce252e783a55fe9fa4f6a99a4ec603682c7497db2176cd80d9ef6ad94bc2cb38a6f2
|
data/_data/menu.yml
CHANGED
data/_includes/404.html
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
<style type="text/css" media="screen">
|
2
|
+
.container {
|
3
|
+
margin: 10px auto;
|
4
|
+
max-width: 600px;
|
5
|
+
text-align: center;
|
6
|
+
}
|
7
|
+
h1 {
|
8
|
+
margin: 30px 0;
|
9
|
+
font-size: 4em;
|
10
|
+
line-height: 1;
|
11
|
+
letter-spacing: -1px;
|
12
|
+
}
|
13
|
+
</style>
|
14
|
+
|
15
|
+
<div class="container">
|
16
|
+
<h1>404</h1>
|
17
|
+
|
18
|
+
<p><strong>404 Stránka nebyla nalezena :(</strong></p>
|
19
|
+
<p>Litujeme, ale požadovaná stránka nebyla na našem serveru nalezena.</p>
|
20
|
+
</div>
|
@@ -1,13 +1,42 @@
|
|
1
|
+
|
2
|
+
{% if include.residence %}
|
3
|
+
{% assign residence = include.residence %}
|
4
|
+
{% else %}
|
5
|
+
{% assign residence = site.organization %}
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
|
1
9
|
<div class="o-media">
|
2
|
-
{% if
|
3
|
-
|
4
|
-
|
5
|
-
|
10
|
+
{% if residence.residenceImg %}
|
11
|
+
<div class="o-media__section">
|
12
|
+
{% asset '{{ residence.residenceImg }}' magick:resize='200x' alt='Sídlo' %}
|
13
|
+
</div>
|
6
14
|
{% endif %}
|
7
15
|
<div class="o-media__section">
|
8
|
-
|
9
|
-
|
10
|
-
|
16
|
+
{% if residence.url %}
|
17
|
+
<a href="{{residence.url}}">
|
18
|
+
<h3 class="t-h5-super">{{ residence.name }}</h3>
|
19
|
+
</a>
|
20
|
+
{% else %}
|
21
|
+
<h3 class="t-h5-super">{{ residence.name }}</h3>
|
22
|
+
{% endif %}
|
23
|
+
<p>
|
24
|
+
{{ residence.address | newline_to_br }}
|
25
|
+
</p>
|
26
|
+
{% if residence.spravce %}
|
27
|
+
{% assign spravce = site.people | where_exp: "item","item.uid contains residence.spravce" | first %}
|
28
|
+
<p>
|
29
|
+
<div>
|
30
|
+
Kontakt:
|
31
|
+
{{ spravce.name }},
|
32
|
+
<i class="fa fa-envelope-o"></i>
|
33
|
+
<a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">
|
34
|
+
{{ spravce.mail }}
|
35
|
+
</a>
|
36
|
+
</div>
|
37
|
+
</p>
|
38
|
+
{% endif %}
|
39
|
+
{% if residence.mapLink %}
|
11
40
|
<p>
|
12
41
|
<a class="c-emphasized-anchor" href="{{ site.organization.mapLink }}">Zobrazit mapu ›</a>
|
13
42
|
</p>
|
data/_includes/footer.html
CHANGED
@@ -75,6 +75,35 @@
|
|
75
75
|
</div>
|
76
76
|
</footer>
|
77
77
|
|
78
|
+
{% if site.data.menu.contact %}
|
79
|
+
<aside class="o-section o-section--bigger c-contact-bar u-inverted u-center--medium-down show-for-medium">
|
80
|
+
<div class="o-section-inner">
|
81
|
+
<div class="row">
|
82
|
+
<div class="small-12 columns">
|
83
|
+
<header class="c-contact-bar-header u-stacked--medium-down">
|
84
|
+
<h3 class="c-contact-bar__heading"> <a href="{{ '/kontakt/' | relative_url }}">Kontakt</a> </h3>
|
85
|
+
</header>
|
86
|
+
|
87
|
+
{% for contact in site.data.menu.contact %}
|
88
|
+
{% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %}
|
89
|
+
<ul class="c-contact-bar-items u-stacked--medium-down">
|
90
|
+
<li class="c-contact-bar__item u-stacked--medium-down">
|
91
|
+
{% if contact.position %}
|
92
|
+
<div class="c-contact-bar__section"> {{ contact.position }} </div>
|
93
|
+
{% endif %}
|
94
|
+
<div class="c-contact-bar__description">
|
95
|
+
<a href="{{ person.url }}">{{ person.name }}</a>,
|
96
|
+
<a href="mailto:{{ person.mail }}">{{ person.mail }}</a>
|
97
|
+
</div>
|
98
|
+
</li>
|
99
|
+
</ul>
|
100
|
+
{% endfor %}
|
101
|
+
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
</aside>
|
106
|
+
{% else %}
|
78
107
|
{% assign contactPerson = site.people | where_exp: "item","item.uid contains site.organization.contactUid" | first %}
|
79
108
|
{% assign contactPersons = site.people | where_exp: "item","item.category contains 'kontaktni_osoba'" | sort:"ordpak" %}
|
80
109
|
{% unless contactPersons == empty or contactPersons == blank or contactPersons == nil %}
|
@@ -90,7 +119,7 @@
|
|
90
119
|
<ul class="c-contact-bar-items u-stacked--medium-down">
|
91
120
|
<li class="c-contact-bar__item u-stacked--medium-down">
|
92
121
|
{% if person.contactType %}
|
93
|
-
|
122
|
+
<div class="c-contact-bar__section"> {{ person.contactType }} </div>
|
94
123
|
{% endif %}
|
95
124
|
<div class="c-contact-bar__description">
|
96
125
|
<a href="{{ person.url }}">{{ person.name }}</a>,
|
@@ -105,5 +134,6 @@
|
|
105
134
|
</div>
|
106
135
|
</aside>
|
107
136
|
{% endunless %}
|
137
|
+
{% endif %}
|
108
138
|
|
109
139
|
<div class="__vue-root" data-app="ScrollTop"></div>
|
data/_includes/head.html
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
<head>
|
2
2
|
{% capture title %}{% if page.ogtitle %}{{page.ogtitle}} | {% elsif page.title %}{{ page.title | escape }} | {% endif %}{{ site.title | escape }}{% endcapture %}
|
3
3
|
{% capture description %}{% if page.description %}{{ page.description }}{% elsif page.desc %}{{ page.desc }}{% elsif page.excerpt %}Pirátská strana: {{ page.excerpt | strip_html | strip_newlines | truncate: 330 }}{% else %}{{ site.description }}{% endif %}{% endcapture %}
|
4
|
-
{% capture keywords %}
|
4
|
+
{% capture keywords %}
|
5
|
+
{{ site.keywords }}
|
6
|
+
{% if page.title %}, {{ page.title }}{% endif %}
|
7
|
+
{% if page.name %}, {{ page.name }}{% endif %}
|
8
|
+
{% if page.keywords %}, {{ page.keywords }}{% endif %}
|
9
|
+
{% if page.tags %}, {{ page.tags }}{% endif %}
|
10
|
+
{% endcapture %}
|
5
11
|
<meta charset="utf-8">
|
6
12
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
13
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
@@ -23,7 +23,7 @@
|
|
23
23
|
</div>
|
24
24
|
|
25
25
|
<div class="c-profile-badge__body">
|
26
|
-
<h2 class="c-profile-badge__headline"><a href="{{ url }}" class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}t-h5-super{% endif %}">{{ label }}</a></h2>
|
26
|
+
<h2 class="c-profile-badge__headline"><a href="{{ url }}" style="text-decoration: none" class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}t-h5-super{% endif %}">{{ label }}</a></h2>
|
27
27
|
{% unless include.showDescription == false %}
|
28
28
|
<p class="c-profile-badge__desc">
|
29
29
|
{% if include.description %}
|
@@ -17,6 +17,32 @@
|
|
17
17
|
<span class="fa fa-globe"></span> <a href="{{ place.link }}" class="c-emphasized-anchor" target="_blank" rel="noopener">Web</a>
|
18
18
|
</div>
|
19
19
|
{% endif %}
|
20
|
+
{% if place.fb %}
|
21
|
+
<div class="pk-election-crossroad__link">
|
22
|
+
<span class="fa fa-facebook"></span>
|
23
|
+
<a href="{{ place.fb }}" class="c-emphasized-anchor" target="_blank" rel="noopener">
|
24
|
+
{{ place.fb | remove: "https://www.facebook.com/" }}
|
25
|
+
</a>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
28
|
+
<br/>
|
29
|
+
{% if place.kontakt %}
|
30
|
+
<div class="pk-election-crossroad__link">
|
31
|
+
{% assign contactPerson = site.people | where: "uid", place.kontakt | first %}
|
32
|
+
<span class="fa fa-user"></span>
|
33
|
+
<a href="{{ contactPerson.url }}" class="c-emphasized-anchor" target="_blank" rel="noopener">
|
34
|
+
{{ contactPerson.name }}
|
35
|
+
</a>
|
36
|
+
</div>
|
37
|
+
{% endif %}
|
38
|
+
{% if place.mail %}
|
39
|
+
<div class="pk-election-crossroad__link">
|
40
|
+
<span class="fa fa-envelope-o"></span>
|
41
|
+
<a href="mailto:{{ place.mail }}" class="c-emphasized-anchor" target="_blank" rel="noopener">
|
42
|
+
{{ place.mail }}</a>
|
43
|
+
</a>
|
44
|
+
</div>
|
45
|
+
{% endif %}
|
20
46
|
{% if place.programLink %}
|
21
47
|
<div class="pk-election-crossroad__link">
|
22
48
|
<span class="fa fa-book"></span> <a href="{{ place.programLink }}" class="c-emphasized-anchor" target="_blank" rel="noopener">Program</a>
|
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
{% if page.mail or page.mob or page.profiles.wikipedia or page.profiles.facebook or page.profiles.twitter or page.profiles.github or page.profiles.forum or page.profiles.redmine %}
|
2
3
|
<div class="o-section-block">
|
3
4
|
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
@@ -24,7 +25,7 @@
|
|
24
25
|
<p>
|
25
26
|
<i class="fa fa-user-o"></i> {{asistent.name}}<br/>
|
26
27
|
{% if asistent.mail %}<i class="fa fa-envelope-o"></i> <a href="mailto:{{asistent.mail}}">{{asistent.mail}}</a><br/>{% endif %}
|
27
|
-
{% if asistent.tel %}<i class="fa fa-phone"></i> {{
|
28
|
+
{% if asistent.tel %}<i class="fa fa-phone"></i> {{ asistent.tel }}<br/>{% endif %}
|
28
29
|
</p>
|
29
30
|
{% endfor %}
|
30
31
|
{% endif %}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<section class="o-section">
|
2
|
+
{% if include.title %}
|
3
|
+
<div class="o-secion-header o-section-header--bordered">
|
4
|
+
<h3 class="o-section__heading t-h4-super">{{ include.title}}</h3>
|
5
|
+
</div>
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
<table class="u-1margin--top">
|
9
|
+
<thead>
|
10
|
+
{% for column in include.table[0] %}
|
11
|
+
<th>{{ column[0] }}</th>
|
12
|
+
{% endfor %}
|
13
|
+
</thead>
|
14
|
+
<tbody>
|
15
|
+
{% for row in include.table %}
|
16
|
+
<tr>
|
17
|
+
{% for cell in row %}
|
18
|
+
<td>{{ cell[1] }}</td>
|
19
|
+
{% endfor %}
|
20
|
+
</tr>
|
21
|
+
{% endfor %}
|
22
|
+
</tbody>
|
23
|
+
</table>
|
24
|
+
|
25
|
+
</section>
|
data/_layouts/contacts.html
CHANGED
@@ -26,6 +26,9 @@ title: Kontaktní informace
|
|
26
26
|
<h2 class="t-h2-alt">Základní údaje</h2>
|
27
27
|
</div>
|
28
28
|
{% include contacts/summary-table.html %}
|
29
|
+
<hr>
|
30
|
+
<p>Každý člen strany má email ve tvaru: <tt>jmeno.prijmeni@pirati.cz</tt></p>
|
31
|
+
<br>
|
29
32
|
</div>
|
30
33
|
</div>
|
31
34
|
</div>
|
@@ -39,17 +42,39 @@ title: Kontaktní informace
|
|
39
42
|
<div class="row o-section-block">
|
40
43
|
<div class="medium-12 {% if page.contentSize == 'even' %}large-6{% else %}large-8{% endif %} columns">
|
41
44
|
<section class="o-section o-section--spaceBot">
|
45
|
+
|
46
|
+
{% if page.contactPersons %}
|
47
|
+
{% for contact in page.contactPersons %}
|
48
|
+
{% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %}
|
49
|
+
<div class="o-section-header o-section-header--indented">
|
50
|
+
<h2 class="t-h2-alt"> {{contact.position}} </h2>
|
51
|
+
</div>
|
52
|
+
<div class="o-section-inner">
|
53
|
+
<div class="o-section-block">
|
54
|
+
{% include people/profile-badge.html item=person imgSize='big' imgStyle='round' class='c-profile-badge--centered' %}
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
<br/>
|
58
|
+
{% endfor %}
|
59
|
+
{% else %}
|
60
|
+
{% assign contactPersons = site.people | where_exp: "item","item.category contains 'kontaktni_osoba'" | sort:"ordpak" %}
|
42
61
|
<div class="o-section-header o-section-header--indented">
|
43
|
-
|
62
|
+
{% if contactPersons.size > 1 %}
|
63
|
+
<h2 class="t-h2-alt">Kontaktní osoby</h2>
|
64
|
+
{% else %}
|
65
|
+
<h2 class="t-h2-alt">Kontaktní osoba</h2>
|
66
|
+
{% endif %}
|
44
67
|
</div>
|
68
|
+
{% for person in contactPersons %}
|
45
69
|
<div class="o-section-inner">
|
46
70
|
<div class="o-section-block">
|
47
|
-
{% assign contactPersons = site.people | where_exp: "item","item.category contains 'kontaktni_osoba'" | sort:"ordpak" %}
|
48
|
-
{% for person in contactPersons %}
|
49
71
|
{% include people/profile-badge.html item=person imgSize='big' imgStyle='round' class='c-profile-badge--centered' %}
|
50
|
-
{% endfor %}
|
51
72
|
</div>
|
52
73
|
</div>
|
74
|
+
<br/>
|
75
|
+
{% endfor %}
|
76
|
+
{% endif %}
|
77
|
+
|
53
78
|
</section>
|
54
79
|
</div>
|
55
80
|
|
@@ -61,7 +86,13 @@ title: Kontaktní informace
|
|
61
86
|
</div>
|
62
87
|
<div class="o-section-inner">
|
63
88
|
<div class="o-section-block">
|
64
|
-
|
89
|
+
{% if page.residences %}
|
90
|
+
{% for residence in page.residences %}
|
91
|
+
{% include contacts/residence.html residence=residence%}
|
92
|
+
{% endfor %}
|
93
|
+
{% else %}
|
94
|
+
{% include contacts/residence.html %}
|
95
|
+
{% endif %}
|
65
96
|
</div>
|
66
97
|
</div>
|
67
98
|
</div>
|
data/_layouts/person.html
CHANGED
@@ -6,3 +6,25 @@ layout: blank-article
|
|
6
6
|
{% capture headline %}{% include people/fullname.html person=page %}{% endcapture %}
|
7
7
|
{% include page-header.html headline=headline content=content contentClass='c-person__content' %}
|
8
8
|
</div>
|
9
|
+
|
10
|
+
{% if page.calendar %}
|
11
|
+
<div class="row">
|
12
|
+
<div class="medium-12 large-12 columns">
|
13
|
+
<section class="o-section o-section--noSpaceBottom">
|
14
|
+
<div class="o-section-inner">
|
15
|
+
<div class="c-BasicPage">
|
16
|
+
<div class="c-BasicPage">
|
17
|
+
<div class="c-BasicPage-content">
|
18
|
+
<div class="c-BasicPage-header c-BasicPage-header--horizontal c-BasicPage-header--horizontal--mobilestacked">
|
19
|
+
<h1 class="c-BasicPage__title" id="praha"> Kalendář</h1>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<iframe src="https://calendar.google.com/calendar/embed?src={{page.calendar}}&ctz=Europe%2FPrague" style="border: 0" width="770" height="600" frameborder="0" scrolling="no"></iframe>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
</section>
|
27
|
+
<!-- /. o-section -->
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
{% endif %}
|
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: 7.
|
4
|
+
version: 7.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jitka Novotná
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- README.md
|
65
65
|
- _data/campaigns.yml
|
66
66
|
- _data/menu.yml
|
67
|
+
- _includes/404.html
|
67
68
|
- _includes/accordeon/accordeon.html
|
68
69
|
- _includes/article-box/article-box.html
|
69
70
|
- _includes/article-box/three-in-row.html
|
@@ -121,6 +122,7 @@ files:
|
|
121
122
|
- _includes/right-bar/rbar_profiles.html
|
122
123
|
- _includes/social.html
|
123
124
|
- _includes/submenu.html
|
125
|
+
- _includes/tables/zebra.html
|
124
126
|
- _includes/youtube.html
|
125
127
|
- _layouts/blank-article.html
|
126
128
|
- _layouts/blank.html
|