jekyll-theme-pirati 5.3.1 → 6.0.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/README.md +19 -0
- data/_includes/articles/horizontal-article.html +3 -3
- data/_includes/articles/vertical-article.html +2 -2
- data/_includes/candidate-badge.html +7 -5
- data/_includes/contacts/residence.html +1 -1
- data/_includes/footer.html +6 -6
- data/_includes/header.html +3 -3
- data/_includes/homepage/banner.html +3 -3
- data/_includes/js/main.html +3 -3
- data/_includes/menu.html +32 -34
- data/_includes/page-header.html +3 -1
- data/_includes/people/fullname.html +11 -0
- data/_includes/people/list-group.html +1 -1
- data/_includes/people/list-responsive.html +2 -2
- data/_includes/people/profile-badge.html +27 -34
- data/_includes/right-bar/bar_cal.html +2 -5
- data/_includes/right-bar/bar_fb.html +2 -5
- data/_includes/right-bar/bar_foto.html +1 -15
- data/_includes/right-bar/bar_garant.html +1 -4
- data/_includes/right-bar/bar_people.html +2 -5
- data/_includes/right-bar/bar_person_contact.html +3 -6
- data/_includes/right-bar/bar_program.html +1 -4
- data/_includes/right-bar/bar_textbox.html +0 -3
- data/_includes/right-bar/bar_tw.html +0 -3
- data/_includes/right-bar/bar_video.html +0 -3
- data/_layouts/communal-elections.html +9 -14
- data/_layouts/contacts.html +15 -10
- data/_layouts/members.html +2 -3
- data/_layouts/person.html +4 -3
- data/_layouts/post.html +2 -2
- data/_layouts/program-post.html +1 -1
- data/_sass/_base.scss +5 -0
- data/_sass/_fonts.scss +1 -1
- data/_sass/_settings.scss +147 -29
- data/_sass/components/Person.scss +6 -39
- data/_sass/components/academic-title.scss +7 -0
- data/_sass/components/article-listing.scss +26 -1
- data/_sass/components/blockquote.scss +54 -22
- data/_sass/components/contact-bar.scss +3 -3
- data/_sass/components/content-block.scss +13 -0
- data/_sass/components/corner-ribbon.scss +5 -4
- data/_sass/components/header-bar.scss +9 -5
- data/_sass/components/headline-media.scss +1 -0
- data/_sass/components/hp-banner.scss +11 -1
- data/_sass/components/icon.scss +8 -4
- data/_sass/components/intention-map.scss +18 -0
- data/_sass/components/member-list.scss +7 -0
- data/_sass/components/pagination.scss +5 -0
- data/_sass/components/profile-badge.scss +73 -0
- data/_sass/components/program.scss +74 -100
- data/_sass/components/simple-accordion.scss +2 -0
- data/_sass/components/tile.scss +2 -2
- data/_sass/components/top-bar.scss +51 -57
- data/_sass/components/top-sub-nav.scss +23 -17
- data/_sass/components/typography.scss +41 -20
- data/_sass/components/vertical-navigation.scss +3 -2
- data/_sass/components/widget-accordion.scss +26 -73
- data/_sass/objects/section.scss +19 -29
- data/_sass/pirati.scss +28 -22
- data/_sass/utilities/header-styles.scss +16 -0
- data/_sass/utilities/utilities.scss +11 -6
- data/assets/img/map-marker.svg +136 -0
- data/assets/js/{0.main.f7a234cedfef4096cecb.js → 0.main.44c1ac26aae564173c26.js} +0 -0
- data/assets/js/{0.main.f7a234cedfef4096cecb.js.map → 0.main.44c1ac26aae564173c26.js.map} +1 -1
- data/assets/js/main.44c1ac26aae564173c26.css +5 -0
- data/assets/js/main.44c1ac26aae564173c26.css.map +1 -0
- data/assets/js/main.44c1ac26aae564173c26.js +1 -0
- data/assets/js/main.44c1ac26aae564173c26.js.map +1 -0
- metadata +15 -10
- data/_includes/accordeon/accordeon-column.html +0 -8
- data/_sass/social-palette.scss +0 -9
- data/assets/js/main.f7a234cedfef4096cecb.css +0 -5
- data/assets/js/main.f7a234cedfef4096cecb.css.map +0 -1
- data/assets/js/main.f7a234cedfef4096cecb.js +0 -1
- data/assets/js/main.f7a234cedfef4096cecb.js.map +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41123ec9bdcfca9f8b8e08b0e083f9d60e4c25bcc55dfecc117e97daefffbd72
|
4
|
+
data.tar.gz: 68b1f9957e9740820f87743ddbe5a9456b7612f499de5345eaa85678ac867f76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85cf4453754541bf1a4a6f3fbf3a5682c41d9aa8b71d87119516051f6d59c85a3be619c3122e181ae0c78292d2493c07128985cbde9355ba0f1432ccb888f116
|
7
|
+
data.tar.gz: 46c9cf54688053ba6d5c778216f29bef25d73fd7396a68d72f3131cb511dec09380afce9e40b78e2778d71e9bfc1d69b2bec4e07cfb645bf505f24f57e5f6cab
|
data/README.md
CHANGED
@@ -8,6 +8,25 @@ Theme of Czech Pirate Party.
|
|
8
8
|
|
9
9
|
For usage see readme of https://github.com/pirati-web/example.pirati.cz
|
10
10
|
|
11
|
+
## Updating to 6.x
|
12
|
+
|
13
|
+
To upgrade to v6 which features major visual upgrade, following steps are necessary:
|
14
|
+
|
15
|
+
- For `_people` collection, remove `fullaname` property for every document. Instead, provide `titles` property to keep academic degrees in following format:
|
16
|
+
|
17
|
+
```
|
18
|
+
titles:
|
19
|
+
before: MUDr.
|
20
|
+
after: Ph.D.
|
21
|
+
```
|
22
|
+
- To make your contact page look OK, you will need to wrap it's sub-heading in following fashion:
|
23
|
+
|
24
|
+
```
|
25
|
+
<div class="o-section-header o-section-header--indented">
|
26
|
+
<h1 class="t-h2-alt">Přidejte se</h1>
|
27
|
+
</div>
|
28
|
+
```
|
29
|
+
|
11
30
|
## Contributing
|
12
31
|
|
13
32
|
Bug reports and pull requests are welcome on GitHub at https://github.com/pirati-web/jekyll-theme-pirati/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
@@ -14,10 +14,10 @@
|
|
14
14
|
|
15
15
|
<div class="c-article-listing__content">
|
16
16
|
<!-- Headline -->
|
17
|
-
<
|
17
|
+
<h1 itemprop="headline" class="c-article-listing__headline t-h4">
|
18
18
|
<a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
|
19
|
-
</
|
20
|
-
<p itemprop="description" class="c-article-listing__perex u-stacked">{{ include.article.excerpt | truncatewords: 33 | strip_html }}</p>
|
19
|
+
</h1>
|
20
|
+
<p itemprop="description" class="c-article-listing__perex u-stacked t-font-features">{{ include.article.excerpt | truncatewords: 33 | strip_html }}</p>
|
21
21
|
<a class="c-emphasized-anchor u-stacked" href="{{ include.article.url | relative_url }}">Přečíst celý článek ›</a>
|
22
22
|
</div>
|
23
23
|
<!-- Publisher -->
|
@@ -32,10 +32,10 @@
|
|
32
32
|
|
33
33
|
<div class="c-article-listing__content">
|
34
34
|
<!-- Headline -->
|
35
|
-
<h1 itemprop="headline" class="c-article-listing__headline t-
|
35
|
+
<h1 itemprop="headline" class="c-article-listing__headline t-h4">
|
36
36
|
<a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
|
37
37
|
</h1>
|
38
|
-
<p itemprop="description" class="c-article-listing__perex u-stacked">{{ include.article.excerpt | truncatewords:
|
38
|
+
<p itemprop="description" class="c-article-listing__perex u-stacked t-font-features">{{ include.article.excerpt | truncatewords: 35 | strip_html }}</p>
|
39
39
|
<a class="c-emphasized-anchor u-stacked" href="{{ include.article.url | relative_url }}">Přečíst celý článek ›</a>
|
40
40
|
</div>
|
41
41
|
|
@@ -1,17 +1,19 @@
|
|
1
|
-
<div class="c-program-candidate-badge
|
1
|
+
<div class="c-program-candidate-badge">
|
2
2
|
<a class="c-program-candidate-badge__body" href="{{ include.candidatePage.url | relative_url }}">
|
3
|
+
<span class="c-program-candidate-badge__rank"><span>{{ include.rank }}</span></span>
|
3
4
|
<div class="c-program-candidate-badge__avatar">
|
4
|
-
|
5
|
-
|
6
|
-
<img src="{{ img }}" alt="{{ include.candidatePage.fullname }}" class="c-program-candidate-badge__avatar-image">
|
5
|
+
{% capture img %}{% if include.candidatePage.img %}{% asset '{{ include.candidatePage.img }}' magick:resize='225x225^' magick:gravity='center' magick:crop='225x225+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
|
6
|
+
<img src="{{ img }}" alt="{% include people/fullname.html person=include.candidatePage plain=true %}" class="c-program-candidate-badge__avatar-image">
|
7
7
|
</div>
|
8
8
|
<div class="c-program-candidate-badge__description">
|
9
|
-
<h4 class="c-program-candidate-badge__name
|
9
|
+
<h4 class="c-program-candidate-badge__name"><span class="c-headline-anchor">{% include people/fullname.html person=include.candidatePage %}</span></h4>
|
10
10
|
<strong class="c-program-candidate-badge__profession">
|
11
11
|
{% if include.candidate.age %} {{ include.candidate.age }} let, {% endif %}
|
12
12
|
{{ include.candidate.profession }}{% if include.candidate.party %}, {{ include.candidate.party }} {% endif %}
|
13
13
|
</strong>
|
14
|
+
{% if include.candidate.description %}
|
14
15
|
<p class="c-program-candidate-badge__bio">{{ include.candidate.description }}</p>
|
16
|
+
{% endif %}
|
15
17
|
</div>
|
16
18
|
</a>
|
17
19
|
</div>
|
data/_includes/footer.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<a href="{{ site.github.url }}edit/{{ site.github.branch }}/{{ page.path }}" class="c-suggest-improvement show-for-medium
|
1
|
+
<a href="{{ site.github.url }}edit/{{ site.github.branch }}/{{ page.path }}" class="c-suggest-improvement show-for-medium hide-for-print">
|
2
2
|
<i class="fa fa-pencil"></i>
|
3
3
|
Navrhni úpravu
|
4
4
|
</a>
|
@@ -40,28 +40,28 @@
|
|
40
40
|
{% if site.facebook.profilePage %}
|
41
41
|
<li class="c-vertical-navigation__item">
|
42
42
|
<a href="{{ site.facebook.profilePage }}" rel="noopener noreferrer" title="Facebook - {{ site.organization.shortName }}">
|
43
|
-
<i class="fa fa-facebook c-icon c-icon--
|
43
|
+
<i class="fa fa-facebook c-icon c-icon--big" aria-hidden="true"></i>
|
44
44
|
</a>
|
45
45
|
</li>
|
46
46
|
{% endif %}
|
47
47
|
{% if site.twitter.profile %}
|
48
48
|
<li class="c-vertical-navigation__item">
|
49
49
|
<a href="https://www.twitter.com/{{ site.twitter.profile }}" rel="noopener noreferrer" title="Twitter - {{ site.organization.shortName }}">
|
50
|
-
<i class="fa fa-twitter c-icon c-icon--
|
50
|
+
<i class="fa fa-twitter c-icon c-icon--big" aria-hidden="true"></i>
|
51
51
|
</a>
|
52
52
|
</li>
|
53
53
|
{% endif %}
|
54
54
|
{% if site.instagram.profilePage %}
|
55
55
|
<li class="c-vertical-navigation__item">
|
56
56
|
<a href="{{ site.instagram.profilePage }}" rel="noopener noreferrer" title="Instagram - {{ site.organization.shortName }}">
|
57
|
-
<i class="fa fa-instagram c-icon c-icon--
|
57
|
+
<i class="fa fa-instagram c-icon c-icon--big" aria-hidden="true"></i>
|
58
58
|
</a>
|
59
59
|
</li>
|
60
60
|
{% endif %}
|
61
61
|
{% if site.gplus.profilePage %}
|
62
62
|
<li class="c-vertical-navigation__item">
|
63
63
|
<a href="{{ site.gplus.profilePage }}" rel="noopener noreferrer" title="Google Plus - {{ site.organization.shortName }}">
|
64
|
-
<i class="fa fa-google-plus c-icon c-icon--
|
64
|
+
<i class="fa fa-google-plus c-icon c-icon--big" aria-hidden="true"></i>
|
65
65
|
</a>
|
66
66
|
</li>
|
67
67
|
{% endif %}
|
@@ -87,7 +87,7 @@
|
|
87
87
|
</header>
|
88
88
|
<ul class="c-contact-bar-items u-stacked--medium-down">
|
89
89
|
<li class="c-contact-bar__item u-stacked--medium-down">
|
90
|
-
<div class="c-contact-bar__description"> {{ contactPerson.
|
90
|
+
<div class="c-contact-bar__description"> {{ contactPerson.name }},
|
91
91
|
<a href="mailto:{{ contactPerson.mail }}">{{ contactPerson.mail }}</a>
|
92
92
|
</div>
|
93
93
|
</li>
|
data/_includes/header.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<aside class="o-section o-section--smaller c-header-bar u-
|
1
|
+
<aside class="o-section o-section--smaller c-header-bar u-center--medium-down">
|
2
2
|
<div class="row">
|
3
3
|
<div class="o-section-inner" style="padding: 3px;">
|
4
4
|
<div class="medium-12 columns">
|
@@ -45,9 +45,9 @@
|
|
45
45
|
</li>
|
46
46
|
{% endif %}
|
47
47
|
</ul>
|
48
|
-
<div class="c-header-bar-divider"></div>
|
48
|
+
<div class="c-header-bar-divider show-for-medium"></div>
|
49
49
|
|
50
|
-
<ul class="c-header-bar-items
|
50
|
+
<ul class="c-header-bar-items show-for-medium">
|
51
51
|
{% for item in site.data.menu.top %}
|
52
52
|
<li class="c-header-bar__item">
|
53
53
|
<a href="{{ item.url }}" rel="noopener noreferrer" target="_blank">
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<div class="row c-hp-banner">
|
2
2
|
<div class="small-12 columns">
|
3
|
-
<a href="{{ include.link }}" title="{{ include.title }}">
|
3
|
+
<a href="{{ include.link }}" title="{{ include.title }}" class="c-hp-banner__link">
|
4
4
|
{% capture img %}{% asset '{{ include.default }}' magick:resize='1135x' @path %}{% endcapture %}
|
5
5
|
{% if include.breakpoint %}
|
6
|
-
<picture>
|
6
|
+
<picture class="c-hp-banner__media">
|
7
7
|
<source media="(min-width: {{ include.breakpoint }}px)" srcset="{{ img }}">
|
8
8
|
<img src="{% asset '{{ include.mobile }}' magick:resize='{{ include.breakpoint +"px" }}' @path %}" alt="{{ include.title }}">
|
9
9
|
</picture>
|
10
10
|
{% else %}
|
11
|
-
<img src="{{ img }}" alt="{{ include.title }}">
|
11
|
+
<img src="{{ img }}" alt="{{ include.title }}" class="c-hp-banner__media">
|
12
12
|
{% endif %}
|
13
13
|
</a>
|
14
14
|
</div>
|
data/_includes/js/main.html
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
This whole include will be overwritten by built JS files when publishing the
|
3
3
|
theme Gem.
|
4
4
|
{% endcomment %}
|
5
|
-
<link rel="stylesheet" href="/assets/js/main.
|
6
|
-
<script src="/assets/js/0.main.
|
7
|
-
<script src="/assets/js/main.
|
5
|
+
<link rel="stylesheet" href="/assets/js/main.44c1ac26aae564173c26.css" />
|
6
|
+
<script src="/assets/js/0.main.44c1ac26aae564173c26.js"></script>
|
7
|
+
<script src="/assets/js/main.44c1ac26aae564173c26.js"></script>
|
8
8
|
|
9
9
|
{% if site.facebook.loadSDK %}
|
10
10
|
<script>
|
data/_includes/menu.html
CHANGED
@@ -1,43 +1,41 @@
|
|
1
|
-
<div class="
|
2
|
-
<div class="
|
3
|
-
<div class="
|
4
|
-
<div class="c-top-
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
1
|
+
<div class="c-top-bar">
|
2
|
+
<div class="row">
|
3
|
+
<div class="columns small-12">
|
4
|
+
<div class="c-top-bar__body">
|
5
|
+
<div class="c-top-bar__brand">
|
6
|
+
<a href="{{ '/' | relative_url }}">
|
7
|
+
<img src="{{ 'assets/img/brand/logo_napis_white.svg' | relative_url }}" alt='Česká pirátská strana' class="c-top-bar__brand-image u-center-medium-down u-stacked">
|
8
|
+
</a>
|
9
|
+
</div>
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
<div class="c-top-bar__search">
|
12
|
+
<div class="__vue-root" data-app="SiteSearch">
|
13
|
+
<!-- this will get replaced by Vue.js content, placeholder only -->
|
14
|
+
<div class="c-search c-top-bar__search-container">
|
15
|
+
<input class="c-search__input c-top-bar__search-input" type="search" id="search" placeholder="Hledaný výraz">
|
16
|
+
<button type="button" class="c-search__confirm c-top-bar__search-confirm" id="searchsub"><i class="fa fa-search" aria-hidden="true"></i></button>
|
17
|
+
</div>
|
16
18
|
</div>
|
17
19
|
</div>
|
18
|
-
</div>
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
<div id="responsive-menu" class="c-responsive-menu">
|
22
|
+
<ul class="c-responsive-menu__items" data-dropdown-menu="">
|
23
|
+
{% for item in site.data.menu.main %}
|
24
|
+
<li class="c-responsive-menu__item {% if item.class %}{{ item.class }}{% endif %} {% if item.match and page.url contains item.match %}c-responsive-menu__item--active{% endif %}">
|
25
|
+
<a href="{{ item.link | relative_url }}">{{ item.name }}</a>
|
26
|
+
</li>
|
27
|
+
{% endfor %}
|
28
|
+
</ul>
|
29
|
+
</div>
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
</
|
36
|
-
</
|
31
|
+
<div class="c-responsive-menu-toggle hide-for-large">
|
32
|
+
<span data-responsive-toggle="responsive-menu" id="menuTogge" data-hide-for="large">
|
33
|
+
<button class="c-responsive-menu-toogle__button" type="button" data-toggle="">
|
34
|
+
<span class="c-responsive-menu-toggle__caption">Menu</span>
|
35
|
+
</button>
|
36
|
+
</span>
|
37
|
+
</div>
|
37
38
|
</div>
|
38
39
|
</div>
|
39
40
|
</div>
|
40
41
|
</div>
|
41
|
-
|
42
|
-
<div class="c-top-bar__divider"></div>
|
43
|
-
|
data/_includes/page-header.html
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
{%- if include.person.titles.before -%}
|
2
|
+
{%- unless include.plain -%}<span class="academic-title academic-title--before">{%- endunless -%}
|
3
|
+
{{ include.person.titles.before }}
|
4
|
+
{%- unless include.plain -%}</span>{%- endunless -%}
|
5
|
+
{%- endif %} {% unless include.plain -%}<span class="academic-title-name">{%- endunless -%}
|
6
|
+
{{ include.person.name }}
|
7
|
+
{%- unless include.plain -%}</span>{%- endunless -%}{% if include.person.titles.after %}
|
8
|
+
{%- unless include.plain -%}<span class="academic-title academic-title--after">{%- endunless -%}
|
9
|
+
, {{ include.person.titles.after }}
|
10
|
+
{%- unless include.plain -%}</span>{%- endunless -%}
|
11
|
+
{%- endif -%}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% if include.team.size > 0 %}
|
2
2
|
<ul class="c-simple-accordion" data-accordion="" data-options="allowAllClosed: true">
|
3
3
|
<li class="c-simple-accordion-item is-active" data-accordion-item="">
|
4
|
-
<a href="#{{ include.teamShortcut }}" class="c-simple-accordion-title
|
4
|
+
<a href="#{{ include.teamShortcut }}" class="c-simple-accordion-title"><h2 class="c-simple-accordion__headline">{{ include.teamName }}</h2></a>
|
5
5
|
<div id="{{ include.teamShortcut }}" class="c-simple-accordion-content" data-tab-content="">
|
6
6
|
{% include people/list-responsive.html team=team %}
|
7
7
|
</div>
|
@@ -3,10 +3,10 @@
|
|
3
3
|
týmů v /clenove
|
4
4
|
úspěchů v /otevrenost
|
5
5
|
{% endcomment %}
|
6
|
-
<div class="row u-uniform-size-row">
|
6
|
+
<div class="c-member-list__row row u-uniform-size-row">
|
7
7
|
{% for item in include.team %}
|
8
8
|
{% assign loopindex = forloop.index | modulo: 2 %}
|
9
|
-
<div class="large-4 medium-6 small-collapse columns {% if forloop.last %}end{% endif %}">
|
9
|
+
<div class="large-4 medium-6 small-collapse columns c-member-list__item {% if forloop.last %}end{% endif %}">
|
10
10
|
{% include people/profile-badge.html item=item imgSize='small' imgStyle='round' %}
|
11
11
|
</div>
|
12
12
|
{% endfor %}
|
@@ -6,13 +6,8 @@
|
|
6
6
|
{% else %}
|
7
7
|
{% assign url = include.item.url | relative_url %}
|
8
8
|
{% endif %}
|
9
|
-
<div class="
|
10
|
-
<div class="
|
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 %}
|
9
|
+
<div class="c-profile-badge {% if include.style == 'card' %}c-profile-badge--card{% endif %} {% if include.class %}{{ include.class }}{% endif %}">
|
10
|
+
<div class="c-profile-badge__avatar">
|
16
11
|
{%- capture img -%}
|
17
12
|
{%- if include.item.img -%}
|
18
13
|
{%- if include.imgSize != 'big' -%}
|
@@ -24,34 +19,32 @@
|
|
24
19
|
{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}
|
25
20
|
{%- endif -%}
|
26
21
|
{%- endcapture -%}
|
27
|
-
<a href="{{ url }}"><img src="{{ img }}" alt="{{ label }}" class="{% if include.imgStyle == 'round' %}
|
22
|
+
<a class="c-profile-badge__anchor" href="{{ url }}"><img src="{{ img }}" alt="{{ label }}" class="c-profile-badge__image {% if include.imgStyle == 'round' %}c-profile-badge__image--round{% endif %} {% if include.imgSize != 'big' %}c-profile-badge__image--smaller{% endif %}"></a>
|
28
23
|
</div>
|
29
|
-
<div class="o-media__section">
|
30
|
-
<div class="o-media__section-inner">
|
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 %}
|
41
24
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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>
|
27
|
+
{% unless include.showDescription == false %}
|
28
|
+
<p class="c-profile-badge__desc">
|
29
|
+
{% if include.description %}
|
30
|
+
{{ include.description }}
|
31
|
+
{% else %}
|
32
|
+
{{ include.item.description }}
|
33
|
+
{% endif %}
|
34
|
+
</p>
|
35
|
+
{% endunless %}
|
36
|
+
|
37
|
+
{% unless include.showContactInfo == false %}
|
38
|
+
{% if include.item.mob or include.item.mail %}
|
39
|
+
<div class="c-profile-badge__contacts">
|
40
|
+
{% if include.item.mob %}
|
41
|
+
<div><i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a></div>
|
42
|
+
{% endif %}
|
43
|
+
{% if include.item.mail %}
|
44
|
+
<div><i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a></div>
|
45
|
+
{% endif %}
|
46
|
+
</div>
|
47
|
+
{% endif %}
|
48
|
+
{% endunless %}
|
56
49
|
</div>
|
57
50
|
</div>
|
@@ -1,11 +1,8 @@
|
|
1
|
-
<div class="o-section-block">
|
1
|
+
<div class="o-section-block show-for-medium">
|
2
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
|
-
<a href="#" class="c-widget-accordion-link">
|
4
|
+
<a href="#" class="c-widget-accordion-link c-widget-accordion-link--cal">
|
5
5
|
<span class="c-widget-accordion__title">{{ site.calendar.title }}</span>
|
6
|
-
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
|
7
|
-
<i class="fa fa-calendar-o fa-lg u-rotate-15"></i>
|
8
|
-
</span>
|
9
6
|
</a>
|
10
7
|
<div class="c-widget-accordion-content" data-tab-content="">
|
11
8
|
{% if site.env.GOOGLE_CALENDAR_APIKEY and site.calendar.id %}
|
@@ -1,11 +1,8 @@
|
|
1
|
-
<div class="o-section-block">
|
1
|
+
<div class="o-section-block show-for-medium">
|
2
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
|
-
<a href="#" class="c-widget-accordion-link">
|
4
|
+
<a href="#" class="c-widget-accordion-link c-widget-accordion-link--fb">
|
5
5
|
<span class="c-widget-accordion__title">Facebook</span>
|
6
|
-
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
|
7
|
-
<i class="fa fa-facebook fa-lg"></i>
|
8
|
-
</span>
|
9
6
|
</a>
|
10
7
|
<div class="c-widget-accordion-content" data-tab-content="">
|
11
8
|
<div class="fb-page" data-href="{{ site.facebook.profilePage }}" data-tabs="timeline" data-width="500" data-height="550" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
|
@@ -1,17 +1,3 @@
|
|
1
1
|
{% if page.img %}
|
2
|
-
|
3
|
-
<ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
|
4
|
-
<li class="c-widget-accordion-item is-active" data-accordion-item="">
|
5
|
-
<a href="#" class="c-widget-accordion-link">
|
6
|
-
<span class="c-widget-accordion__title">Foto</span>
|
7
|
-
<span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
|
8
|
-
<i class="fa fa-address-card-o fa-lg u-rotate-15"></i>
|
9
|
-
</span>
|
10
|
-
</a>
|
11
|
-
<div class="c-widget-accordion-content c-widget-accordion-content--nopad text-center" data-tab-content="">
|
12
|
-
{% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" %}
|
13
|
-
</div>
|
14
|
-
</li>
|
15
|
-
</ul>
|
16
|
-
</div>
|
2
|
+
{% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" class='c-person-image' %}
|
17
3
|
{% endif %}
|