jekyll-theme-pirati 8.0.0.pre.beta1 → 8.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/README.md +139 -3
- data/_includes/candidate-badge.html +15 -2
- data/_includes/header.html +1 -1
- data/_includes/people/profile-badge.html +11 -5
- data/_includes/right-bar/bar_people.html +13 -11
- data/_includes/right-bar/bar_profile.html +1 -1
- data/_includes/right-bar/rbar_profiles.html +1 -8
- data/_includes/social-icons.html +8 -0
- data/_layouts/communal-elections.html +4 -4
- data/_layouts/person.html +2 -4
- metadata +5 -69
- data/_sass/_base.scss +0 -23
- data/_sass/_fonts.scss +0 -42
- data/_sass/_settings.scss +0 -688
- data/_sass/_sprites.scss +0 -0
- data/_sass/components/Slider.scss +0 -0
- data/_sass/components/academic-title.scss +0 -7
- data/_sass/components/article-card.scss +0 -41
- data/_sass/components/article-infobox.scss +0 -9
- data/_sass/components/article-listing.scss +0 -95
- data/_sass/components/banner.scss +0 -75
- data/_sass/components/blockquote.scss +0 -83
- data/_sass/components/card.scss +0 -154
- data/_sass/components/contact-bar.scss +0 -93
- data/_sass/components/content-block.scss +0 -24
- data/_sass/components/content-card.scss +0 -31
- data/_sass/components/corner-ribbon.scss +0 -25
- data/_sass/components/cta-button.scss +0 -54
- data/_sass/components/footer.scss +0 -5
- data/_sass/components/header-bar.scss +0 -118
- data/_sass/components/headline-media.scss +0 -42
- data/_sass/components/hero.scss +0 -164
- data/_sass/components/highlight.scss +0 -60
- data/_sass/components/hp-banner.scss +0 -21
- data/_sass/components/icon.scss +0 -33
- data/_sass/components/intention-map.scss +0 -23
- data/_sass/components/member-list.scss +0 -7
- data/_sass/components/metadata-block.scss +0 -29
- data/_sass/components/multicolumn.scss +0 -25
- data/_sass/components/pagination.scss +0 -44
- data/_sass/components/person.scss +0 -9
- data/_sass/components/profile-badge.scss +0 -74
- data/_sass/components/program.scss +0 -150
- data/_sass/components/region.scss +0 -83
- data/_sass/components/simple-accordion.scss +0 -80
- data/_sass/components/suggest-improvement.scss +0 -10
- data/_sass/components/tag.scss +0 -29
- data/_sass/components/tile.scss +0 -20
- data/_sass/components/top-bar.scss +0 -202
- data/_sass/components/top-sub-nav.scss +0 -81
- data/_sass/components/typography.scss +0 -85
- data/_sass/components/vertical-navigation.scss +0 -67
- data/_sass/components/widget-accordion.scss +0 -109
- data/_sass/components/widget-share-box.scss +0 -117
- data/_sass/components/widget-simple-text.scss +0 -15
- data/_sass/layouts/_cast.scss +0 -262
- data/_sass/layouts/_kandidatka.scss +0 -78
- data/_sass/objects/media.scss +0 -35
- data/_sass/objects/section.scss +0 -211
- data/_sass/objects/space.scss +0 -7
- data/_sass/pirati.scss +0 -58
- data/_sass/utilities/header-styles.scss +0 -16
- data/_sass/utilities/utilities.scss +0 -139
- data/assets/css/main.scss +0 -3
- data/assets/fonts/BebasNeue-Thin.ttf +0 -0
- data/assets/fonts/BebasNeue-Thin.woff +0 -0
- data/assets/fonts/BebasNeueBold.ttf +0 -0
- data/assets/fonts/BebasNeueBold.woff +0 -0
- data/assets/fonts/BebasNeueBook.ttf +0 -0
- data/assets/fonts/BebasNeueBook.woff +0 -0
- data/assets/fonts/BebasNeueLight.ttf +0 -0
- data/assets/fonts/BebasNeueLight.woff +0 -0
- data/assets/fonts/BebasNeueRegular.ttf +0 -0
- data/assets/fonts/BebasNeueRegular.woff +0 -0
- data/assets/fonts/demo.html +0 -311
- data/assets/fonts/stylesheet.css +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c32167790640291278e54020fc67f2b6386fb9805e098438392b80181ba25cd
|
4
|
+
data.tar.gz: c0bef0a2eac7006ca032b97d5a99576856c878b6738b034437101fa800b699be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4db352d110877719ae4b45cf56453372a0c9dd16bcf92cd00ad009fda2c95e1a87194dec19720dd6492bafda129b0a29adffdf9a6279cd0b75f9ac6c887c8349
|
7
|
+
data.tar.gz: 431188a4f417ac784e95a0f338668decb1833e9d2a18da713b3db041133991b8bdd7413c6b4d610cdaa309b4f74a8f05bd9bf5a3e35c77e09f82193501998a18
|
data/README.md
CHANGED
@@ -8,6 +8,145 @@ Theme of Czech Pirate Party.
|
|
8
8
|
|
9
9
|
For usage see [USAGE.md](USAGE.md)
|
10
10
|
|
11
|
+
## Updating to 8.x
|
12
|
+
|
13
|
+
8.x version features a fully revamped UI based on our new [UI
|
14
|
+
styleguide](https://styleguide.pir-test.eu/). The theme no longer has it's own
|
15
|
+
CSS styles. Instead, all the styles are being provided by the styleguide itself.
|
16
|
+
Same applies to JS: whole webpack asset pipeline has been dropped which
|
17
|
+
resulted in a lot simpler design. This version is a transition one before
|
18
|
+
migrating to Wagtail-driven websites. No more major updates will follow, only
|
19
|
+
bugfixes a maybe some minor adjustments.
|
20
|
+
|
21
|
+
### New features
|
22
|
+
|
23
|
+
#### Sub links for campaigns
|
24
|
+
|
25
|
+
You can now add sub link super buttons to campaign pages. To add it, provide the `subLinks` property of the particular campaign
|
26
|
+
record with following shape:
|
27
|
+
|
28
|
+
```
|
29
|
+
subLinks:
|
30
|
+
- title: Povolební strategie
|
31
|
+
icon: ico--strategy
|
32
|
+
classes: bg-grey-125 hover:bg-black hover:text-white
|
33
|
+
href: /
|
34
|
+
- title: Financování kampaně
|
35
|
+
icon: ico--calculator
|
36
|
+
classes: bg-black text-white hover:bg-grey-125 hover:text-black
|
37
|
+
href: /
|
38
|
+
```
|
39
|
+
|
40
|
+
#### Transarency section in the footer
|
41
|
+
|
42
|
+
Footer section listing transparent accounts and stuff can be enabled/disabled
|
43
|
+
using `transparencySection: true/false` property in the `_data/menu.yml`.
|
44
|
+
|
45
|
+
|
46
|
+
#### New includes
|
47
|
+
|
48
|
+
- `_includes/avatar.html` - creates [avatar image](https://styleguide.pir-test.eu/latest/?p=viewall-atoms-avatars)
|
49
|
+
- `_includes/buttons/basic.html` - a [button without icon](https://styleguide.pir-test.eu/latest/?p=atoms-button-colors)
|
50
|
+
- `_includes/buttons/icon.html` - a [button with icon](https://styleguide.pir-test.eu/latest/?p=atoms-button-colors)
|
51
|
+
- `_includes/buttons/super.html` - a [super button](https://styleguide.pir-test.eu/latest/?p=viewall-atoms-super-buttons)
|
52
|
+
- `_includes/calendar.html` - a [calendar widget](https://styleguide.pir-test.eu/latest/?p=molecules-js-calendar)
|
53
|
+
- `_includes/contact-line.html` - a generic [contact line](https://styleguide.pir-test.eu/latest/?p=viewall-atoms-contact-lines)
|
54
|
+
- `_includes/countdown.html` - a [countdown widget](https://styleguide.pir-test.eu/latest/?p=viewall-organisms-countdown)
|
55
|
+
- `_includes/hero/simple.html` - a [simple hero banner](https://styleguide.pir-test.eu/latest/?p=templates-pirate-center)
|
56
|
+
- `_includes/hero/advanced.html` - a [complex hero banner](https://styleguide.pir-test.eu/latest/?p=templates-elections)
|
57
|
+
|
58
|
+
#### New pagination
|
59
|
+
|
60
|
+
You should update your pagination settings to `12` instead of `11`.
|
61
|
+
|
62
|
+
#### Set styleguide url in the config
|
63
|
+
|
64
|
+
Add `styleguide_base_url` property pointing to styleguide version you want to use.
|
65
|
+
|
66
|
+
#### New pirate-center layout
|
67
|
+
|
68
|
+
Provide front matter like following:
|
69
|
+
|
70
|
+
```yaml
|
71
|
+
title: ParduPiCe - Pardubické pirátské centrum
|
72
|
+
shorthand: ParduPiCe
|
73
|
+
openingHoursSEO: Mo-Fr 9:00-17:00
|
74
|
+
heroHeadline: Zbrusu nové krajské pirátské centrum!
|
75
|
+
heroDescription: V Pardubicích jsme otevřeli nové pirátské centrum pod zkratkou ParduPiCe.
|
76
|
+
img: pardupice/1.jpg
|
77
|
+
address: |
|
78
|
+
Pardubické pirátské centrum
|
79
|
+
Budova T-STRING
|
80
|
+
Masarykovo náměstí 1484
|
81
|
+
530 02 Pardubice I
|
82
|
+
addressNote: Vstup do pirátského centra naleznete z boku budovy T-STRING naproti „AFI paláci“, vedle kadeřnictví. Vchod je v prostoru vjezdu na parkoviště ve vnitrobloku.
|
83
|
+
contactPersons:
|
84
|
+
- id: filip.varecha
|
85
|
+
description: Správce coworku
|
86
|
+
- id: jan.bednar
|
87
|
+
description: Produkce
|
88
|
+
calendarId: t60uj67580oudjh04tuh5icl8o@group.calendar.google.com
|
89
|
+
calendarTitle: Kalendář akcí
|
90
|
+
calendarPage: https://calendar.google.com/calendar/embed?src=t60uj67580oudjh04tuh5icl8o%40group.calendar.google.com&ctz=Europe%2FPrague
|
91
|
+
mapIframeLink: https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d10250.279531989467!2d15.770466!3d50.0381549!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xd4d03352a17e038b!2zUGFyZHVQaUNlIOKAkyBQYXJkdWJpY2vDqSBQaXLDoXRza8OpIGNlbnRydW0!5e0!3m2!1scs!2scz!4v1568565921492!5m2!1scs!2scz
|
92
|
+
```
|
93
|
+
|
94
|
+
If you provide `calendarId`, it will display the event list automatically.
|
95
|
+
|
96
|
+
|
97
|
+
#### Display party affiliation on person page
|
98
|
+
|
99
|
+
To display, add `partyUid: [party_uid]` in the page front matter.
|
100
|
+
|
101
|
+
#### Use customized hero background on person page
|
102
|
+
|
103
|
+
To use it fully, provide `heroImg` in the person markdown file.
|
104
|
+
|
105
|
+
#### Highlight important articles
|
106
|
+
|
107
|
+
These will show as the [emphasized variant in black](https://styleguide.pir-test.eu/latest/?p=viewall-molecules-article-card).
|
108
|
+
|
109
|
+
|
110
|
+
### Backwards incompatible changes
|
111
|
+
|
112
|
+
#### Candidate lists
|
113
|
+
|
114
|
+
New data entity `parties` has been introduced. Needs to be added as `_data/parties.yml`. It's an array with following structure:
|
115
|
+
|
116
|
+
```
|
117
|
+
- uid: [party_id]
|
118
|
+
name: [party_verbose_name]
|
119
|
+
logoImg: [party_image_in_svg_format]
|
120
|
+
```
|
121
|
+
|
122
|
+
All existing candidate lists need to be updated. Specifically, `party` property
|
123
|
+
has to be replaced with `partyUid` pointing to actual `uid` in `parties.yml`.
|
124
|
+
|
125
|
+
#### Font awesome dropped in favor of custom iconset
|
126
|
+
|
127
|
+
As the result, all the `fa*` icons won't work anymore. New icons has `ico--*` naming instead. See the [styleguide](https://styleguide.pir-test.eu/latest/?p=viewall-atoms-icons) for an overview of available icons. You will need to update your icons should you used some. Namely, icons will have to be updated in the `menu.yml`.
|
128
|
+
|
129
|
+
|
130
|
+
#### Some deleted templates
|
131
|
+
|
132
|
+
- `_includes/article-box/three-in-row.html` - replaced with `_includes/article-box/list.html`
|
133
|
+
- `_includes/rbar/bar_photo.html` - now replaced with `bar_profile.html` that already contains a picture
|
134
|
+
- `_includes/rbar/bar_person_contact.html` - now replaced with `bar_profile.html` that already contains a contact section
|
135
|
+
|
136
|
+
|
137
|
+
#### Obsolete JS widgets
|
138
|
+
|
139
|
+
Following widgets won't work (source kept in repository for future possible use):
|
140
|
+
|
141
|
+
- Agenda - replaced with calendar from styleguide
|
142
|
+
- Intention map - no replacement
|
143
|
+
- Custom layer map - no replacement
|
144
|
+
- Site search - no replacement, no site search available anymore
|
145
|
+
|
146
|
+
## Updating to 7.x
|
147
|
+
|
148
|
+
Tag `_config.yml organization contactUid` is not used. Contacts person in bottom are popele with category `kontaktni_osoba`.
|
149
|
+
|
11
150
|
## Updating to 6.x
|
12
151
|
|
13
152
|
To upgrade to v6 which features major visual upgrade, following steps are necessary:
|
@@ -26,9 +165,6 @@ To upgrade to v6 which features major visual upgrade, following steps are necess
|
|
26
165
|
<h1 class="t-h2-alt">Přidejte se</h1>
|
27
166
|
</div>
|
28
167
|
```
|
29
|
-
## Updating to 7.x
|
30
|
-
|
31
|
-
Tag `_config.yml organization contactUid` is not used. Contacts person in bottom are popele with category `kontaktni_osoba`.
|
32
168
|
|
33
169
|
## Contributing
|
34
170
|
|
@@ -25,9 +25,16 @@
|
|
25
25
|
<a href="mailto:{{ include.candidatePage.mail }}" class="block font-light mb-4">{{ include.candidatePage.mail }}</a>
|
26
26
|
{% endif %}
|
27
27
|
<h2 class="head-allcaps-4xs md:head-allcaps-3xs">{{ include.candidate.profession }}</h2>
|
28
|
+
{% if include.candidate.city %}
|
29
|
+
<h2 class="head-allcaps-4xs md:head-allcaps-3xs">
|
30
|
+
{{ include.candidate.city }}
|
31
|
+
</h2>
|
32
|
+
{% endif %}
|
28
33
|
</div>
|
29
34
|
<div class="candidate-card__affiliation">
|
30
|
-
{% if include.candidate.age %}
|
35
|
+
{% if include.candidate.age %}
|
36
|
+
<div>{{ include.candidate.age }} let</div>
|
37
|
+
{% endif %}
|
31
38
|
|
32
39
|
{% if include.candidate.partyUid %}
|
33
40
|
{% include party.html uid=include.candidate.partyUid %}
|
@@ -37,7 +44,13 @@
|
|
37
44
|
{% if include.candidate.description %}
|
38
45
|
<p class="font-light text-sm leading-snug italic mb-4 hidden md:block">{{ include.candidate.description }}</p>
|
39
46
|
{% endif %}
|
40
|
-
{%
|
47
|
+
{% unless include.hideSocialProfiles %}
|
48
|
+
{% if include.candidatePage %}
|
49
|
+
<div class="social-icon-group space-x-2">
|
50
|
+
{% include social-icons.html profiles=include.candidatePage.profiles %}
|
51
|
+
</div>
|
52
|
+
{% endif %}
|
53
|
+
{% endunless %}
|
41
54
|
</div>
|
42
55
|
</div>
|
43
56
|
</div>
|
data/_includes/header.html
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
<div v-if="show || isLgScreenSize" class="navbar__external navbar__section navbar__section--expandable container-padding--zero lg:container-padding--auto lg:flex lg:space-x-8 lg:pb-2">
|
18
18
|
<div class="text-grey-200 text-sm lg:space-x-8 leading-loose lg:leading-normal">
|
19
19
|
{% for item in site.data.menu.top %}
|
20
|
-
{% include contact-line.html href=item.url icon=item.icon caption=item.link class="lg:inline-block" target="_blank" %}
|
20
|
+
{% include contact-line.html href=item.url icon=item.icon caption=item.link class="block lg:inline-block" target="_blank" %}
|
21
21
|
{% endfor %}
|
22
22
|
</div>
|
23
23
|
{% include social-icon-group.html class="space-x-2 text-grey-200 py-4 lg:py-0" %}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
{% capture label %}
|
2
2
|
{% if include.label %}{{ include.label }}{% elsif include.item.name %}{{ include.item.name }}{% else %}{{ include.item.title }}{% endif %}
|
3
3
|
{% endcapture %}
|
4
|
-
{% if include.item.url
|
5
|
-
|
6
|
-
{%
|
7
|
-
|
4
|
+
{% if include.item.url %}
|
5
|
+
{% if include.item.url contains 'http' %}
|
6
|
+
{% assign url = include.item.url %}
|
7
|
+
{% else %}
|
8
|
+
{% assign url = include.item.url | relative_url %}
|
9
|
+
{% endif %}
|
8
10
|
{% endif %}
|
9
11
|
{% capture avatarClass %}
|
10
12
|
badge__avatar {% if include.avatarClass %}{{ include.avatarClass }}{% else %}avatar--sm{% endif %}
|
@@ -35,7 +37,11 @@
|
|
35
37
|
|
36
38
|
<div class="badge__body">
|
37
39
|
<h2 class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}head-heavy-2xs{% endif %} badge__title">
|
38
|
-
|
40
|
+
{% if url %}
|
41
|
+
<a href="{{ url }}" title="{{ label }}" class="content-block--nostyle">{{ label }}</a>
|
42
|
+
{% else %}
|
43
|
+
{{ label }}
|
44
|
+
{% endif %}
|
39
45
|
</h2>
|
40
46
|
|
41
47
|
{% unless include.showDescription == false %}
|
@@ -1,14 +1,16 @@
|
|
1
1
|
|
2
|
-
<div class="
|
3
|
-
<
|
4
|
-
|
2
|
+
<div class="hidden lg:block">
|
3
|
+
<div class="content-block">
|
4
|
+
<h2>Lidé</h2>
|
5
|
+
</div>
|
5
6
|
|
6
|
-
<div class="space-y-4">
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
</div>
|
7
|
+
<div class="space-y-4">
|
8
|
+
{% assign persons = site.people | sample:3 %}
|
9
|
+
{% for person in persons %}
|
10
|
+
{% include people/profile-badge.html item=person style='card' showContactInfo=false %}
|
11
|
+
{% endfor %}
|
12
|
+
</div>
|
12
13
|
|
13
|
-
{% capture href %}{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/lide/' | relative_url }}{% endif %}{% endcapture %}
|
14
|
-
{% include buttons/icon.html icon="ico--chevron-right" class="btn--violet-500 btn--fullwidth btn--hoveractive pt-4" cta="Poznejte celý náš tým" href=href %}
|
14
|
+
{% capture href %}{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/lide/' | relative_url }}{% endif %}{% endcapture %}
|
15
|
+
{% include buttons/icon.html icon="ico--chevron-right" class="btn--violet-500 btn--fullwidth btn--hoveractive pt-4" cta="Poznejte celý náš tým" href=href %}
|
16
|
+
</div>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<h2>Asistenti</h2>
|
52
52
|
<div class="space-y-4 mt-4">
|
53
53
|
{% for asistent in page.asistenti %}
|
54
|
-
{% include people/profile-badge.html class="badge--condensed" item=asistent description=asistent.position %}
|
54
|
+
{% include people/profile-badge.html class="badge--condensed" item=asistent description=asistent.position hideAvatar=true %}
|
55
55
|
{% endfor %}
|
56
56
|
</div>
|
57
57
|
{% endif %}
|
@@ -1,13 +1,6 @@
|
|
1
1
|
<div class="flex flex-wrap item-center">
|
2
2
|
<div class="social-icon-group space-x-0/5">
|
3
|
-
{%
|
4
|
-
{% if page.profiles.facebook %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.facebook }}"><i class="ico--facebook"></i></a>{% endif %}
|
5
|
-
{% if page.profiles.twitter %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.twitter }}"><i class="ico--twitter"></i></a>{% endif %}
|
6
|
-
{% if page.profiles.github %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.github }}"><i class="ico--github"></i></a>{% endif %}
|
7
|
-
{% if page.profiles.forum %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.forum }}"><i class="ico--bubbles"></i></a>{% endif %}
|
8
|
-
{% if page.profiles.redmine %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.redmine }}"><i class="ico--tasks"></i></a>{% endif %}
|
9
|
-
{% if page.profiles.web %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.web }}"><i class="ico--globe"></i></a>{% endif %}
|
10
|
-
{% if page.profiles.blog %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.blog }}"><i class="ico--write"></i></a>{% endif %}
|
3
|
+
{% include social-icons.html profiles=page.profiles %}
|
11
4
|
</div>
|
12
5
|
|
13
6
|
{% if page.profiles.flickr %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if include.profiles.wikipedia %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.wikipedia }}"><i class="ico--wikipedia"></i></a>{% endif %}
|
2
|
+
{% if include.profiles.facebook %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.facebook }}"><i class="ico--facebook"></i></a>{% endif %}
|
3
|
+
{% if include.profiles.twitter %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.twitter }}"><i class="ico--twitter"></i></a>{% endif %}
|
4
|
+
{% if include.profiles.github %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.github }}"><i class="ico--github"></i></a>{% endif %}
|
5
|
+
{% if include.profiles.forum %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.forum }}"><i class="ico--bubbles"></i></a>{% endif %}
|
6
|
+
{% if include.profiles.redmine %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.redmine }}"><i class="ico--tasks"></i></a>{% endif %}
|
7
|
+
{% if include.profiles.web %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.web }}"><i class="ico--globe"></i></a>{% endif %}
|
8
|
+
{% if include.profiles.blog %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ include.profiles.blog }}"><i class="ico--write"></i></a>{% endif %}
|
@@ -83,7 +83,7 @@ layout: default
|
|
83
83
|
{% assign leaderCandidate = site.people | where: "uid", candidates.leader.uid | first %}
|
84
84
|
|
85
85
|
<div class="candidate-card-list grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
|
86
|
-
{% include candidate-badge.html candidate=candidates.leader candidatePage=leaderCandidate rank=1 wrapperClass="candidate-card__wrapper sm:candidate-card-list__item-wrapper md:candidate-card-list__item-wrapper--border" %}
|
86
|
+
{% include candidate-badge.html candidate=candidates.leader candidatePage=leaderCandidate rank=1 wrapperClass="candidate-card__wrapper sm:candidate-card-list__item-wrapper md:candidate-card-list__item-wrapper--border" hideSocialProfiles=page.hideCandidateSocialProfiles %}
|
87
87
|
|
88
88
|
{% if candidates.head.size %}
|
89
89
|
{% for candidate in candidates.head %}
|
@@ -101,7 +101,7 @@ layout: default
|
|
101
101
|
{% capture classes %}candidate-card__wrapper sm:candidate-card-list__item-wrapper sm:candidate-card-list__item-wrapper--noborder md:candidate-card-list__item-wrapper--border lg:candidate-card-list__item-wrapper--noborder{% endcapture %}
|
102
102
|
{% endif %}
|
103
103
|
|
104
|
-
{% include candidate-badge.html candidate=candidate candidatePage=candidatePage leader=false rank=candidateRank wrapperClass=classes %}
|
104
|
+
{% include candidate-badge.html candidate=candidate candidatePage=candidatePage leader=false rank=candidateRank wrapperClass=classes hideSocialProfiles=page.hideCandidateSocialProfiles %}
|
105
105
|
|
106
106
|
{% endfor %}
|
107
107
|
{% endif %}
|
@@ -139,8 +139,8 @@ layout: default
|
|
139
139
|
<{% if candidatePage %}a href="{{ candidatePage.url }}"{% else %}div{% endif %} class="candidate-table-row">
|
140
140
|
<div class="candidate-table-row__position head-allcaps-heavy-2xs text-right">{{ candidateRank }}</div>
|
141
141
|
{% include avatar.html class="avatar--sm candidate-table-row__avatar" src=img alt=candidate.name %}
|
142
|
-
<div class="candidate-table-row__name head-heavy-2xs font-bold">{% if candidatePage %}{
|
143
|
-
<div class="candidate-table-row__bio head-allcaps-3xs">{% if candidate.age %}{{ candidate.age }} let{% endif %}{% if candidate.age
|
142
|
+
<div class="candidate-table-row__name head-heavy-2xs font-bold">{% if candidatePage %}{% include people/fullname.html person=candidatePage plain=true %}{% else %}{{ candidate.name }}{% endif %}</div>
|
143
|
+
<div class="candidate-table-row__bio head-allcaps-3xs">{% if candidate.age %}{{ candidate.age }} let{% endif %}{% if candidate.profession %}{% if candidate.age %}, {% endif %}{{ candidate.profession }}{% endif %}{% if candidate.city %}{% if candidate.profession or candidate.age %}, {% endif %}{{ candidate.city }}{% endif %}</div>
|
144
144
|
{% if candidate.partyUid %}
|
145
145
|
<div class="candidate-table-row__affiliation">
|
146
146
|
{% include party.html uid=candidate.partyUid %}
|
data/_layouts/person.html
CHANGED
@@ -24,8 +24,8 @@ layout: default
|
|
24
24
|
include hero/simple.html
|
25
25
|
headline=personName
|
26
26
|
description=page.profession
|
27
|
-
headlineClass="text-center lg:text-left"
|
28
|
-
descriptionClass="max-w-xl text-center lg:text-left"
|
27
|
+
headlineClass="text-center lg:text-left mx-auto lg:mx-0"
|
28
|
+
descriptionClass="max-w-xl mx-auto text-center lg:text-left"
|
29
29
|
heroSpacing="pt-16 pb-24 lg:pt-32 pb-24"
|
30
30
|
class="candidate-detail__hero"
|
31
31
|
bgImg=imgPath
|
@@ -41,8 +41,6 @@ layout: default
|
|
41
41
|
</section>
|
42
42
|
<section class="lg:w-2/5 xl:w-1/3 pt-8 lg:pt-0 order-first lg:order-last candidate-detail__sidebar">
|
43
43
|
{% include right-bar/rbar.html %}
|
44
|
-
<!-- Mobile divider -->
|
45
|
-
<hr class="block lg:hidden" />
|
46
44
|
</section>
|
47
45
|
</div>
|
48
46
|
</main>
|
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: 8.
|
4
|
+
version: 8.2.1
|
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: 2020-07-
|
12
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- _includes/right-bar/rbar_profiles.html
|
141
141
|
- _includes/sharebox.html
|
142
142
|
- _includes/social-icon-group.html
|
143
|
+
- _includes/social-icons.html
|
143
144
|
- _includes/social.html
|
144
145
|
- _includes/tables/zebra.html
|
145
146
|
- _includes/youtube.html
|
@@ -160,71 +161,6 @@ files:
|
|
160
161
|
- _layouts/regions.html
|
161
162
|
- _layouts/regions2.html
|
162
163
|
- _layouts/taglist.html
|
163
|
-
- _sass/_base.scss
|
164
|
-
- _sass/_fonts.scss
|
165
|
-
- _sass/_settings.scss
|
166
|
-
- _sass/_sprites.scss
|
167
|
-
- _sass/components/Slider.scss
|
168
|
-
- _sass/components/academic-title.scss
|
169
|
-
- _sass/components/article-card.scss
|
170
|
-
- _sass/components/article-infobox.scss
|
171
|
-
- _sass/components/article-listing.scss
|
172
|
-
- _sass/components/banner.scss
|
173
|
-
- _sass/components/blockquote.scss
|
174
|
-
- _sass/components/card.scss
|
175
|
-
- _sass/components/contact-bar.scss
|
176
|
-
- _sass/components/content-block.scss
|
177
|
-
- _sass/components/content-card.scss
|
178
|
-
- _sass/components/corner-ribbon.scss
|
179
|
-
- _sass/components/cta-button.scss
|
180
|
-
- _sass/components/footer.scss
|
181
|
-
- _sass/components/header-bar.scss
|
182
|
-
- _sass/components/headline-media.scss
|
183
|
-
- _sass/components/hero.scss
|
184
|
-
- _sass/components/highlight.scss
|
185
|
-
- _sass/components/hp-banner.scss
|
186
|
-
- _sass/components/icon.scss
|
187
|
-
- _sass/components/intention-map.scss
|
188
|
-
- _sass/components/member-list.scss
|
189
|
-
- _sass/components/metadata-block.scss
|
190
|
-
- _sass/components/multicolumn.scss
|
191
|
-
- _sass/components/pagination.scss
|
192
|
-
- _sass/components/person.scss
|
193
|
-
- _sass/components/profile-badge.scss
|
194
|
-
- _sass/components/program.scss
|
195
|
-
- _sass/components/region.scss
|
196
|
-
- _sass/components/simple-accordion.scss
|
197
|
-
- _sass/components/suggest-improvement.scss
|
198
|
-
- _sass/components/tag.scss
|
199
|
-
- _sass/components/tile.scss
|
200
|
-
- _sass/components/top-bar.scss
|
201
|
-
- _sass/components/top-sub-nav.scss
|
202
|
-
- _sass/components/typography.scss
|
203
|
-
- _sass/components/vertical-navigation.scss
|
204
|
-
- _sass/components/widget-accordion.scss
|
205
|
-
- _sass/components/widget-share-box.scss
|
206
|
-
- _sass/components/widget-simple-text.scss
|
207
|
-
- _sass/layouts/_cast.scss
|
208
|
-
- _sass/layouts/_kandidatka.scss
|
209
|
-
- _sass/objects/media.scss
|
210
|
-
- _sass/objects/section.scss
|
211
|
-
- _sass/objects/space.scss
|
212
|
-
- _sass/pirati.scss
|
213
|
-
- _sass/utilities/header-styles.scss
|
214
|
-
- _sass/utilities/utilities.scss
|
215
|
-
- assets/css/main.scss
|
216
|
-
- assets/fonts/BebasNeue-Thin.ttf
|
217
|
-
- assets/fonts/BebasNeue-Thin.woff
|
218
|
-
- assets/fonts/BebasNeueBold.ttf
|
219
|
-
- assets/fonts/BebasNeueBold.woff
|
220
|
-
- assets/fonts/BebasNeueBook.ttf
|
221
|
-
- assets/fonts/BebasNeueBook.woff
|
222
|
-
- assets/fonts/BebasNeueLight.ttf
|
223
|
-
- assets/fonts/BebasNeueLight.woff
|
224
|
-
- assets/fonts/BebasNeueRegular.ttf
|
225
|
-
- assets/fonts/BebasNeueRegular.woff
|
226
|
-
- assets/fonts/demo.html
|
227
|
-
- assets/fonts/stylesheet.css
|
228
164
|
- assets/icons/blog.png
|
229
165
|
- assets/icons/compass.png
|
230
166
|
- assets/icons/facebook.png
|
@@ -377,9 +313,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
377
313
|
version: '0'
|
378
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
379
315
|
requirements:
|
380
|
-
- - "
|
316
|
+
- - ">="
|
381
317
|
- !ruby/object:Gem::Version
|
382
|
-
version:
|
318
|
+
version: '0'
|
383
319
|
requirements: []
|
384
320
|
rubyforge_project:
|
385
321
|
rubygems_version: 2.7.6
|