jekyll-theme-pirati 3.0.0 → 3.1.0
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/_data/members.yml +9 -0
- data/_includes/accordeon/accordeon.html +1 -3
- data/_includes/articles/author.html +8 -0
- data/_includes/articles/horizontal-article.html +48 -0
- data/_includes/articles/list-responsive.html +9 -0
- data/_includes/articles/pagination.html +23 -23
- data/_includes/articles/vertical-article.html +51 -0
- data/_includes/candidate-badge.html +14 -0
- data/_includes/contacts/basic-contacts.html +33 -0
- data/_includes/contacts/{residance.html → residence.html} +4 -4
- data/_includes/footer.html +13 -13
- data/_includes/head.html +22 -22
- data/_includes/header.html +1 -1
- data/_includes/headline-image.html +3 -2
- data/_includes/js/main.html +3 -3
- data/_includes/menu.html +1 -1
- data/_includes/page-header.html +12 -0
- data/_includes/people/list-group.html +7 -9
- data/_includes/people/list-responsive.html +13 -0
- data/_includes/people/profile-badge.html +44 -31
- data/_includes/right-bar/bar_cal.html +2 -3
- data/_includes/right-bar/bar_foto.html +2 -5
- data/_includes/right-bar/bar_garant.html +2 -4
- data/_includes/right-bar/bar_people.html +5 -7
- data/_includes/right-bar/bar_person_contact.html +8 -10
- data/_includes/right-bar/bar_program.html +10 -12
- data/_includes/right-bar/bar_video.html +1 -1
- data/_includes/right-bar/rbar.html +0 -11
- data/_includes/submenu.html +1 -1
- data/_layouts/contacts.html +3 -3
- data/_layouts/default.html +1 -1
- data/_layouts/komunalni-volby.html +47 -51
- data/_layouts/members.html +26 -0
- data/_layouts/page.html +9 -23
- data/_layouts/post.html +33 -42
- data/_layouts/program-post.html +5 -0
- data/_sass/_base.scss +0 -120
- data/_sass/_settings.scss +4 -4
- data/_sass/components/article-listing.scss +51 -0
- data/_sass/components/blockquote.scss +5 -7
- data/_sass/components/hp-banner.scss +11 -0
- data/_sass/components/pagination.scss +28 -7
- data/_sass/components/program.scss +24 -49
- data/_sass/components/simple-accordion.scss +16 -23
- data/_sass/components/top-bar.scss +18 -50
- data/_sass/components/typography.scss +15 -2
- data/_sass/components/vertical-navigation.scss +1 -3
- data/_sass/components/widget-accordion.scss +54 -208
- data/_sass/objects/media.scss +21 -54
- data/_sass/objects/section.scss +1 -5
- data/_sass/utilities/utilities.scss +18 -90
- data/assets/css/main.scss +2 -6
- data/assets/{favicon → img/favicon}/apple-touch-icon-114x114.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-120x120.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-144x144.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-152x152.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-57x57.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-60x60.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-72x72.png +0 -0
- data/assets/{favicon → img/favicon}/apple-touch-icon-76x76.png +0 -0
- data/assets/{favicon/favicon-128.png → img/favicon/favicon-128x128.png} +0 -0
- data/assets/{favicon → img/favicon}/favicon-16x16.png +0 -0
- data/assets/{favicon → img/favicon}/favicon-196x196.png +0 -0
- data/assets/{favicon → img/favicon}/favicon-32x32.png +0 -0
- data/assets/{favicon → img/favicon}/favicon-96x96.png +0 -0
- data/assets/{favicon → img/favicon}/favicon.ico +0 -0
- data/assets/{favicon → img/favicon}/mstile-144x144.png +0 -0
- data/assets/{favicon → img/favicon}/mstile-150x150.png +0 -0
- data/assets/{favicon → img/favicon}/mstile-310x150.png +0 -0
- data/assets/{favicon → img/favicon}/mstile-310x310.png +0 -0
- data/assets/{favicon → img/favicon}/mstile-70x70.png +0 -0
- data/assets/js/{0.main.98ff15822eba72edef32.js → 0.main.e640f60e727337dacf2d.js} +0 -0
- data/assets/js/{0.main.98ff15822eba72edef32.js.map → 0.main.e640f60e727337dacf2d.js.map} +1 -1
- data/assets/js/main.e640f60e727337dacf2d.css +3 -0
- data/assets/js/main.e640f60e727337dacf2d.css.map +1 -0
- data/assets/js/{main.98ff15822eba72edef32.js → main.e640f60e727337dacf2d.js} +0 -0
- data/assets/js/{main.98ff15822eba72edef32.js.map → main.e640f60e727337dacf2d.js.map} +1 -1
- metadata +41 -45
- data/_includes/articles/featured_article.html +0 -56
- data/_includes/articles/hp_article.html +0 -41
- data/_includes/articles/list_3col.html +0 -22
- data/_includes/articles/standard_article.html +0 -47
- data/_includes/candidate_badge.html +0 -16
- data/_includes/contacts/basic_contacts.html +0 -34
- data/_includes/people/list-2col.html +0 -28
- data/_includes/right-bar/bar_list.html +0 -48
- data/_includes/right-bar/bar_otevrenost.html +0 -29
- data/_includes/right-bar/bar_teams_summary.html +0 -30
- data/_includes/right-bar/bar_teams_toc.html +0 -31
- data/_includes/right-bar/bar_toc.html +0 -77
- data/_layouts/team.html +0 -45
- data/_sass/components/BlogPosting.scss +0 -276
- data/_sass/components/pripoj-se.scss +0 -97
- data/assets/js/main.98ff15822eba72edef32.css +0 -3
- data/assets/js/main.98ff15822eba72edef32.css.map +0 -1
- data/assets/people/piratska-strana.png +0 -0
- data/assets/people/ppp.jpg +0 -0
data/_includes/menu.html
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<div class="row o-section">
|
|
2
|
+
<div class="columns large-12">
|
|
3
|
+
<header class="c-page-header">
|
|
4
|
+
<h1 itemprop="headline" class="c-page-title">{{ include.headline }}</h1>
|
|
5
|
+
</header>
|
|
6
|
+
</div>
|
|
7
|
+
{% if include.content %}
|
|
8
|
+
<div class="columns large-12">
|
|
9
|
+
{{ content }}
|
|
10
|
+
</div>
|
|
11
|
+
{% endif %}
|
|
12
|
+
</div>
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
{% if team.size > 0 %}
|
|
1
|
+
{% if include.team.size > 0 %}
|
|
2
2
|
<ul class="c-simple-accordion" data-accordion="" data-options="allowAllClosed: true">
|
|
3
|
-
<li class="c-simple-accordion-item is-active" data-accordion-item="">
|
|
4
|
-
<a href="#{{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
</div>
|
|
10
|
-
</li>
|
|
3
|
+
<li class="c-simple-accordion-item is-active" data-accordion-item="">
|
|
4
|
+
<a href="#{{ include.teamShortcut }}" class="c-simple-accordion-title c-emphasized-anchor"><h2 class="c-simple-accordion__headline">{{ include.teamName }}</h2></a>
|
|
5
|
+
<div id="{{ include.teamShortcut }}" class="c-simple-accordion-content" data-tab-content="">
|
|
6
|
+
{% include people/list-responsive.html team=team %}
|
|
7
|
+
</div>
|
|
8
|
+
</li>
|
|
11
9
|
</ul>
|
|
12
10
|
{% endif %}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
Dvou sloupcové zobrazení:
|
|
3
|
+
týmů v /clenove
|
|
4
|
+
úspěchů v /otevrenost
|
|
5
|
+
{% endcomment %}
|
|
6
|
+
<div class="row u-uniform-size-row">
|
|
7
|
+
{% for item in include.team %}
|
|
8
|
+
{% assign loopindex = forloop.index | modulo: 2 %}
|
|
9
|
+
<div class="large-4 medium-6 small-collapse columns {% if forloop.last %}end{% endif %}">
|
|
10
|
+
{% include people/profile-badge.html item=item imgSize='small' imgStyle='round' %}
|
|
11
|
+
</div>
|
|
12
|
+
{% endfor %}
|
|
13
|
+
</div>
|
|
@@ -6,39 +6,52 @@
|
|
|
6
6
|
{% else %}
|
|
7
7
|
{% assign url = include.item.url | relative_url %}
|
|
8
8
|
{% endif %}
|
|
9
|
-
<div class="o-media o-media-list">
|
|
10
|
-
<div class="o-
|
|
11
|
-
{%
|
|
12
|
-
|
|
9
|
+
<div class="o-media o-media-list {% if include.style == 'card' %}o-media--rpadded o-media--fill{% endif %}">
|
|
10
|
+
<div class="o-media__section">
|
|
11
|
+
{% comment %} {% if include.imgSize != 'big' %}
|
|
12
|
+
<a href="{{ url }}">{% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' alt='{{ label }}' %}</a>
|
|
13
|
+
{% else %}
|
|
14
|
+
<a href="{{ url }}">{% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' alt='{{ label }}' %}</a>
|
|
15
|
+
{% endif %} {% endcomment %}
|
|
16
|
+
{%- capture img -%}
|
|
17
|
+
{%- if include.item.img -%}
|
|
18
|
+
{%- if include.imgSize != 'big' -%}
|
|
19
|
+
{% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' @path %}
|
|
20
|
+
{%- else -%}
|
|
21
|
+
{% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' @path %}
|
|
22
|
+
{%- endif -%}
|
|
23
|
+
{%- else -%}
|
|
24
|
+
{% asset people/unknown-pirate.svg @path %}
|
|
25
|
+
{%- endif -%}
|
|
26
|
+
{%- endcapture -%}
|
|
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>
|
|
13
28
|
</div>
|
|
14
|
-
<div class="o-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</p>
|
|
27
|
-
{% endunless %}
|
|
29
|
+
<div class="o-media__section">
|
|
30
|
+
<div class="o-media__section-inner {% if include.style == 'card' %}o-media__section-inner--vpadded{% endif %}">
|
|
31
|
+
<h2><a href="{{ url }}" class="c-headline-anchor {% if include.headlineClass %}{{ include.headlineClass }}{% else %}t-h2{% endif %}">{{ label }}</a></h2>
|
|
32
|
+
{% unless include.showDescription == false %}
|
|
33
|
+
<p>
|
|
34
|
+
{% if include.description %}
|
|
35
|
+
{{ include.description }}
|
|
36
|
+
{% else %}
|
|
37
|
+
{{ include.item.description }}
|
|
38
|
+
{% endif %}
|
|
39
|
+
</p>
|
|
40
|
+
{% endunless %}
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
{% unless include.showContactInfo == false %}
|
|
43
|
+
{% if include.item.mob or include.item.mail %}
|
|
44
|
+
<p>
|
|
45
|
+
{% if include.item.mob %}
|
|
46
|
+
<i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a>
|
|
47
|
+
<br>
|
|
48
|
+
{% endif %}
|
|
49
|
+
{% if include.item.mail %}
|
|
50
|
+
<i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a>
|
|
51
|
+
{% endif %}
|
|
52
|
+
</p>
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% endunless %}
|
|
42
55
|
</div>
|
|
43
56
|
</div>
|
|
44
57
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="o-section-block">
|
|
2
|
-
<ul class="c-widget-accordion
|
|
2
|
+
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
|
3
3
|
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
|
4
4
|
<a href="#" class="c-widget-accordion-link">
|
|
5
5
|
<span class="c-widget-accordion__title">{{ site.calendar.title }}</span>
|
|
@@ -12,10 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
{% if site.calendar.page %}
|
|
14
14
|
<div class="c-widget-accordion-content__cta">
|
|
15
|
-
<a class="
|
|
15
|
+
<a class="expanded button large u-0margin" href="{{ site.calendar.page | relative_url }}"> Zobrazit všechny akce </a>
|
|
16
16
|
</div>
|
|
17
17
|
{% endif %}
|
|
18
|
-
|
|
19
18
|
</div>
|
|
20
19
|
</li>
|
|
21
20
|
</ul>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% if page.img %}
|
|
2
2
|
<div class="o-section-block">
|
|
3
|
-
<ul class="c-widget-accordion
|
|
3
|
+
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
|
4
4
|
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
|
5
5
|
<a href="#" class="c-widget-accordion-link">
|
|
6
6
|
<span class="c-widget-accordion__title">Foto</span>
|
|
@@ -9,10 +9,7 @@
|
|
|
9
9
|
</span>
|
|
10
10
|
</a>
|
|
11
11
|
<div class="c-widget-accordion-content text-center" data-tab-content="">
|
|
12
|
-
|
|
13
|
-
<div class="c-widget-accordion-content__cta">
|
|
14
|
-
<a class="dark expanded button large" href="{{page.profiles.flickr}}"> Zobrazit více fotografii </a>
|
|
15
|
-
</div>
|
|
12
|
+
{% asset '{{ page.img }}' alt='{{ page.name }}' %}
|
|
16
13
|
</div>
|
|
17
14
|
</li>
|
|
18
15
|
</ul>
|
|
@@ -9,10 +9,8 @@
|
|
|
9
9
|
</span>
|
|
10
10
|
</a>
|
|
11
11
|
<div class="c-widget-accordion-content" data-tab-content="" id="toc">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{% include people/profile-badge.html item=garant style='card' showDescription=false %}
|
|
15
|
-
</div>
|
|
12
|
+
{% assign garant = site.people | where:"uid",page.garant | first %}
|
|
13
|
+
{% include people/profile-badge.html item=garant style='card' showDescription=false %}
|
|
16
14
|
</div>
|
|
17
15
|
</li>
|
|
18
16
|
</ul>
|
|
@@ -8,14 +8,12 @@
|
|
|
8
8
|
</span>
|
|
9
9
|
</a>
|
|
10
10
|
<div class="c-widget-accordion-content" data-tab-content="">
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{%
|
|
14
|
-
|
|
15
|
-
{% endfor %}
|
|
16
|
-
</div>
|
|
11
|
+
{% assign persons = site.people | sample:3 %}
|
|
12
|
+
{% for person in persons %}
|
|
13
|
+
{% include people/profile-badge.html item=person style='card' headlineClass='t-h3' showContactInfo=false %}
|
|
14
|
+
{% endfor %}
|
|
17
15
|
<div class="c-widget-accordion-content__cta">
|
|
18
|
-
<a class="expanded button large" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
|
|
16
|
+
<a class="expanded button large u-0margin" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
|
|
19
17
|
</div>
|
|
20
18
|
</div>
|
|
21
19
|
</li>
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
</span>
|
|
10
10
|
</a>
|
|
11
11
|
<div class="c-widget-accordion-content" data-tab-content="">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{% if page.profiles.redmine %}<i class="fa fa-check-square-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.redmine }}">Úkoly</a>{% endif %}
|
|
21
|
-
</div>
|
|
12
|
+
{% if page.mail %}<i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ page.mail }}">{{ page.mail }}</a><br/>{% endif %}
|
|
13
|
+
{% if page.mob %}<i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ page.mob }}">{{ page.mob }}</a><br/>{% endif %}
|
|
14
|
+
{% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
|
|
15
|
+
{% if page.profiles.facebook %}<i class="fa fa-facebook"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.facebook }}">FB: {{ page.profiles.facebook | remove: "https://www.facebook.com/" }}</a><br/>{% endif %}
|
|
16
|
+
{% if page.profiles.twitter %}<i class="fa fa-twitter"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.twitter }}">TW: {{ page.profiles.twitter | remove: "https://twitter.com/" }}</a><br/>{% endif %}
|
|
17
|
+
{% if page.profiles.github %}<i class="fa fa-github"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.github }}">GH: {{ page.profiles.github | remove: "https://github.com/"}}</a><br/>{% endif %}
|
|
18
|
+
{% if page.profiles.forum %}<i class="fa fa-comments-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.forum }}">Forum: {{ page.profiles.forum | remove: "https://forum.pirati.cz/" }}</a><br/>{% endif %}
|
|
19
|
+
{% if page.profiles.redmine %}<i class="fa fa-check-square-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.redmine }}">Úkoly</a>{% endif %}
|
|
22
20
|
</div>
|
|
23
21
|
</li>
|
|
24
22
|
</ul>
|
|
@@ -8,19 +8,17 @@
|
|
|
8
8
|
</span>
|
|
9
9
|
</a>
|
|
10
10
|
<div class="c-widget-accordion-content" data-tab-content="" id="toc">
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<ul
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{% endfor %}
|
|
20
|
-
</ul>
|
|
11
|
+
{% for campaign in site.data.elections.campaigns %}
|
|
12
|
+
<h4>{{ campaign.title }}</h4>
|
|
13
|
+
<ul class="c-widget-accordion-list">
|
|
14
|
+
<ul>
|
|
15
|
+
{% assign programSections = site.program | where_exp: "item", "item.category contains campaign.category" | sort:"order" %}
|
|
16
|
+
{% for programSection in programSections %}
|
|
17
|
+
<li><a class="c-emphasized-anchor {% if page.uid == programSection.uid %}active{% endif %}" href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li>
|
|
18
|
+
{% endfor %}
|
|
21
19
|
</ul>
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
</ul>
|
|
21
|
+
{% endfor %}
|
|
24
22
|
</div>
|
|
25
23
|
</li>
|
|
26
24
|
</ul>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/pWK515EHyG0?rel=0&controls=0" style="border: 0;" allowfullscreen=""></iframe>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="c-widget-accordion-content__cta">
|
|
16
|
-
<a class="alert expanded button large" href="https://www.youtube.com/user/CeskaPiratskaStrana/videos" target="_blank" rel="noopener noreferrer"> Další videa na našem
|
|
16
|
+
<a class="alert expanded button large u-0margin" href="https://www.youtube.com/user/CeskaPiratskaStrana/videos" target="_blank" rel="noopener noreferrer"> Další videa na našem
|
|
17
17
|
<br> YouTube kanálu </a>
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
@@ -6,14 +6,6 @@
|
|
|
6
6
|
{% if page.rbar contains 'foto' %}
|
|
7
7
|
{% include right-bar/bar_person_contact.html %}
|
|
8
8
|
{% endif %}
|
|
9
|
-
{% if page.rbar contains 'team-summary' %}
|
|
10
|
-
{% include right-bar/bar_teams_summary.html %}
|
|
11
|
-
{% endif %}
|
|
12
|
-
{% if page.rbar contains 'teams-toc' %}
|
|
13
|
-
{% include right-bar/bar_teams_toc.html %}
|
|
14
|
-
{% elsif page.rbar contains 'toc' %}
|
|
15
|
-
{% include right-bar/bar_toc.html %}
|
|
16
|
-
{% endif %}
|
|
17
9
|
{% if page.rbar contains 'garant' %}
|
|
18
10
|
{% include right-bar/bar_garant.html %}
|
|
19
11
|
{% endif %}
|
|
@@ -35,8 +27,5 @@
|
|
|
35
27
|
{% if page.rbar contains 'tw' and site.twitter.profile %}
|
|
36
28
|
{% include right-bar/bar_tw.html %}
|
|
37
29
|
{% endif %}
|
|
38
|
-
{% if page.rbar contains 'otevrenost' %}
|
|
39
|
-
{% include right-bar/bar_otevrenost.html %}
|
|
40
|
-
{% endif %}
|
|
41
30
|
</div>
|
|
42
31
|
</aside>
|
data/_includes/submenu.html
CHANGED
data/_layouts/contacts.html
CHANGED
|
@@ -20,7 +20,7 @@ title: Kontaktní informace
|
|
|
20
20
|
{{ content }}
|
|
21
21
|
</div>
|
|
22
22
|
<div class="medium-12 large-6 columns o-section-mediumdown-divided-small">
|
|
23
|
-
{% include contacts/
|
|
23
|
+
{% include contacts/basic-contacts.html %}
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
@@ -40,7 +40,7 @@ title: Kontaktní informace
|
|
|
40
40
|
<h2>Kontaktní osoba</h2>
|
|
41
41
|
{% assign contactPersons = site.people | where_exp: "item","item.categories contains 'kontaktni_osoba'" | sort:"ordpak" %}
|
|
42
42
|
{% for person in contactPersons %}
|
|
43
|
-
{% include people/profile-badge.html item=person imgSize='big' %}
|
|
43
|
+
{% include people/profile-badge.html item=person imgSize='big' imgStyle='round' headlineClass='t-h3' %}
|
|
44
44
|
{% endfor %}
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
@@ -52,7 +52,7 @@ title: Kontaktní informace
|
|
|
52
52
|
<div class="o-section o-section--spaceBot">
|
|
53
53
|
<div class="o-section-inner">
|
|
54
54
|
<div class="o-section-block">
|
|
55
|
-
{% include contacts/
|
|
55
|
+
{% include contacts/residence.html %}
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
data/_layouts/default.html
CHANGED
|
@@ -3,59 +3,55 @@ layout: page
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
<div class="row">
|
|
6
|
+
<div class="columns">{{ content }}</div>
|
|
7
|
+
</div>
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{%
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
{% include candidate_badge.html candidate=candidate leader=false %}
|
|
28
|
-
{% if loopindex == 0 or forloop.last %}</div>{% endif %}
|
|
29
|
-
{% endfor %}
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
{% if page.note %}
|
|
34
|
-
<p><strong>Pozn.:</strong> {{ page.note }}</p>
|
|
35
|
-
{% endif %}
|
|
36
|
-
|
|
9
|
+
<div class="o-section">
|
|
10
|
+
<div class="row">
|
|
11
|
+
<div class="columns medium-8">
|
|
12
|
+
<div class="o-section-header">
|
|
13
|
+
<h3 class="o-section__heading o-section__heading--small">Kandidátní listina</h3>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="c-program-candidates">
|
|
16
|
+
{% assign team = site.people | where_exp:"item","item.categories contains 'kandidat-obec'" | sort:"cityCandidatePosition" %}
|
|
17
|
+
{% assign leader_candidate = team | first %}
|
|
18
|
+
{% assign other_candidates = team | slice:1,team.size %}
|
|
19
|
+
|
|
20
|
+
{% include candidate-badge.html candidate=leader_candidate leader=true %}
|
|
21
|
+
|
|
22
|
+
<div class="c-program-candidates__others">
|
|
23
|
+
{% for candidate in other_candidates %}
|
|
24
|
+
{% assign loopindex = forloop.index | modulo: 3 %}
|
|
25
|
+
{% if loopindex == 1 %}<div class="c-program-candidates__row">{% endif %}
|
|
26
|
+
{% include candidate-badge.html candidate=candidate leader=false %}
|
|
27
|
+
{% if loopindex == 0 or forloop.last %}</div>{% endif %}
|
|
28
|
+
{% endfor %}
|
|
37
29
|
</div>
|
|
38
|
-
|
|
39
|
-
<div class="o-section-header">
|
|
40
|
-
<h3 class="o-section__heading o-section__heading--small">Program</h3>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="c-program-items">
|
|
43
|
-
{% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
|
|
44
|
-
{% for category in programCategories %}
|
|
45
|
-
<div class="c-program-items__item">
|
|
46
|
-
<div class="c-program-items__item-wrap">
|
|
47
|
-
<div class="c-program-items__item-inner">
|
|
48
|
-
<a href="{{ category.url | relative_url }}">
|
|
49
|
-
<h3 class="c-program-items__item-title">{{ category.title }}</h3>
|
|
50
|
-
<p>{{ category.perex }}</p>
|
|
51
|
-
</a>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
{% endfor %}
|
|
56
|
-
</div>
|
|
30
|
+
</div>
|
|
57
31
|
|
|
58
|
-
|
|
32
|
+
{% if page.note %}
|
|
33
|
+
<p><strong>Pozn.:</strong> {{ page.note }}</p>
|
|
34
|
+
{% endif %}
|
|
59
35
|
</div>
|
|
60
|
-
|
|
36
|
+
<div class="columns medium-4">
|
|
37
|
+
<div class="o-section-header">
|
|
38
|
+
<h3 class="o-section__heading o-section__heading--small">Program</h3>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="c-program-items">
|
|
41
|
+
{% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
|
|
42
|
+
{% for category in programCategories %}
|
|
43
|
+
<div class="c-program-items__item">
|
|
44
|
+
<div class="c-program-items__item-wrap">
|
|
45
|
+
<div class="c-program-items__item-inner">
|
|
46
|
+
<a href="{{ category.url | relative_url }}">
|
|
47
|
+
<h3 class="c-program-items__item-title t-h2 c-headline-anchor">{{ category.title }}</h3>
|
|
48
|
+
<p>{{ category.perex }}</p>
|
|
49
|
+
</a>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
{% endfor %}
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
61
57
|
</div>
|