jekyll-theme-pirati 8.0.0.pre.beta2 → 8.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -3
  3. data/_includes/candidate-badge.html +17 -4
  4. data/_includes/header.html +1 -1
  5. data/_includes/people/profile-badge.html +11 -5
  6. data/_includes/right-bar/bar_people.html +13 -11
  7. data/_includes/right-bar/bar_profile.html +1 -1
  8. data/_includes/right-bar/rbar_profiles.html +1 -8
  9. data/_includes/social-icons.html +8 -0
  10. data/_layouts/communal-elections.html +4 -4
  11. data/_layouts/person.html +1 -3
  12. metadata +10 -74
  13. data/_sass/_base.scss +0 -23
  14. data/_sass/_fonts.scss +0 -42
  15. data/_sass/_settings.scss +0 -688
  16. data/_sass/_sprites.scss +0 -0
  17. data/_sass/components/Slider.scss +0 -0
  18. data/_sass/components/academic-title.scss +0 -7
  19. data/_sass/components/article-card.scss +0 -41
  20. data/_sass/components/article-infobox.scss +0 -9
  21. data/_sass/components/article-listing.scss +0 -95
  22. data/_sass/components/banner.scss +0 -75
  23. data/_sass/components/blockquote.scss +0 -83
  24. data/_sass/components/card.scss +0 -154
  25. data/_sass/components/contact-bar.scss +0 -93
  26. data/_sass/components/content-block.scss +0 -24
  27. data/_sass/components/content-card.scss +0 -31
  28. data/_sass/components/corner-ribbon.scss +0 -25
  29. data/_sass/components/cta-button.scss +0 -54
  30. data/_sass/components/footer.scss +0 -5
  31. data/_sass/components/header-bar.scss +0 -118
  32. data/_sass/components/headline-media.scss +0 -42
  33. data/_sass/components/hero.scss +0 -164
  34. data/_sass/components/highlight.scss +0 -60
  35. data/_sass/components/hp-banner.scss +0 -21
  36. data/_sass/components/icon.scss +0 -33
  37. data/_sass/components/intention-map.scss +0 -23
  38. data/_sass/components/member-list.scss +0 -7
  39. data/_sass/components/metadata-block.scss +0 -29
  40. data/_sass/components/multicolumn.scss +0 -25
  41. data/_sass/components/pagination.scss +0 -44
  42. data/_sass/components/person.scss +0 -9
  43. data/_sass/components/profile-badge.scss +0 -74
  44. data/_sass/components/program.scss +0 -150
  45. data/_sass/components/region.scss +0 -83
  46. data/_sass/components/simple-accordion.scss +0 -80
  47. data/_sass/components/suggest-improvement.scss +0 -10
  48. data/_sass/components/tag.scss +0 -29
  49. data/_sass/components/tile.scss +0 -20
  50. data/_sass/components/top-bar.scss +0 -202
  51. data/_sass/components/top-sub-nav.scss +0 -81
  52. data/_sass/components/typography.scss +0 -85
  53. data/_sass/components/vertical-navigation.scss +0 -67
  54. data/_sass/components/widget-accordion.scss +0 -109
  55. data/_sass/components/widget-share-box.scss +0 -117
  56. data/_sass/components/widget-simple-text.scss +0 -15
  57. data/_sass/layouts/_cast.scss +0 -262
  58. data/_sass/layouts/_kandidatka.scss +0 -78
  59. data/_sass/objects/media.scss +0 -35
  60. data/_sass/objects/section.scss +0 -211
  61. data/_sass/objects/space.scss +0 -7
  62. data/_sass/pirati.scss +0 -58
  63. data/_sass/utilities/header-styles.scss +0 -16
  64. data/_sass/utilities/utilities.scss +0 -139
  65. data/assets/css/main.scss +0 -3
  66. data/assets/fonts/BebasNeue-Thin.ttf +0 -0
  67. data/assets/fonts/BebasNeue-Thin.woff +0 -0
  68. data/assets/fonts/BebasNeueBold.ttf +0 -0
  69. data/assets/fonts/BebasNeueBold.woff +0 -0
  70. data/assets/fonts/BebasNeueBook.ttf +0 -0
  71. data/assets/fonts/BebasNeueBook.woff +0 -0
  72. data/assets/fonts/BebasNeueLight.ttf +0 -0
  73. data/assets/fonts/BebasNeueLight.woff +0 -0
  74. data/assets/fonts/BebasNeueRegular.ttf +0 -0
  75. data/assets/fonts/BebasNeueRegular.woff +0 -0
  76. data/assets/fonts/demo.html +0 -311
  77. data/assets/fonts/stylesheet.css +0 -40
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9a9c49931a4f54e15e72965acc13ae45254aa72e4b1f47a5cf0f06b3bbf6f7d
4
- data.tar.gz: c81e67cec89f39f8cdec1f01bcb434948f5f6c6323aca31028c6085f3dde93f2
3
+ metadata.gz: ccf00c54ea2db27014b1b2bf14d9386166c349d5ea84eedc8e10068fb1bf48f0
4
+ data.tar.gz: a3ddad9539383da92bb9bb6e8597214fc804f9ac0707e8380620c0ab894be455
5
5
  SHA512:
6
- metadata.gz: fcb288210ac23f81a9d2a1c3a9979662cfdf3a0c8c942677b915d6142a835b3e0b906da44d61575a9b315eb2f61b77c4443e7e4a1c6bd633fbf9393c194b02d0
7
- data.tar.gz: 432904cb5c01a678076e8e89273e5abc853039f8e1e6aed3e327d77f47792882913fe996c07806877c11ede7dd396a0fc2c6f63b241d93328bac902a743509b5
6
+ metadata.gz: e6b54608dff8b3904c94e65e034af293b5cfdae7e4ec2dcf3e411af27ef120c24ebe5e08f284b6d1522138a6a9d0be83c83c00ff01d56ef78b910465b0cf51cc
7
+ data.tar.gz: 65328288ec5b34f54afe833d285b3bb7439bd92e2aab6a7ee1a675816e8661cf49d3992e1db077a855c2aaea738caad94dc852dffc2d42447b93b4d9f6e65101
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
 
@@ -22,12 +22,19 @@
22
22
  <a href="{{ include.candidatePage.url|relative_url }}">{% include people/fullname.html person=include.candidatePage %}</a>
23
23
  </h1>
24
24
  {% if include.candidatePage.mail %}
25
- <a href="mailto:{{ include.candidatePage.mail }}" class="block font-light mb-4">{{ include.candidatePage.mail }}</a>
25
+ <a href="mailto:{{ include.candidatePage.mail }}" class="block candidate-card__bio-item mb-4">{{ include.candidatePage.mail }}</a>
26
+ {% endif %}
27
+ <h2 class=" candidate-card__bio-item">{{ include.candidate.profession }}</h2>
28
+ {% if include.candidate.city %}
29
+ <h2 class="head-allcaps-4xs mt-4">
30
+ {{ include.candidate.city }}
31
+ </h2>
26
32
  {% endif %}
27
- <h2 class="head-allcaps-4xs md:head-allcaps-3xs">{{ include.candidate.profession }}</h2>
28
33
  </div>
29
34
  <div class="candidate-card__affiliation">
30
- {% if include.candidate.age %}<div>{{ include.candidate.age }} let</div>{% endif %}
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
- {% comment %} {{> molecules-basic-social-icon-group }} {% endcomment %}
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>
@@ -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 contains 'http' %}
5
- {% assign url = include.item.url %}
6
- {% else %}
7
- {% assign url = include.item.url | relative_url %}
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
- <a href="{{ url }}" title="{{ label }}" class="content-block--nostyle">{{ label }}</a>
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="content-block">
3
- <h2>Lidé</h2>
4
- </div>
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
- {% assign persons = site.people | sample:3 %}
8
- {% for person in persons %}
9
- {% include people/profile-badge.html item=person style='card' showContactInfo=false %}
10
- {% endfor %}
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
- {% if page.profiles.wikipedia %}<a class="social-icon" target="_blank" rel="noreferrer noopener" href="{{ page.profiles.wikipedia }}"><i class="ico--wikipedia"></i></a>{% endif %}
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 %}{{ candidatePage.name }}{% else %}{{ candidate.name }}{% endif %}</div>
143
- <div class="candidate-table-row__bio head-allcaps-3xs">{% if candidate.age %}{{ candidate.age }} let{% endif %}{% if candidate.age and candidate.profession %}, {{ candidate.profession }}{% endif %}</div>
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 font-condensed">{% 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 %}
@@ -24,7 +24,7 @@ layout: default
24
24
  include hero/simple.html
25
25
  headline=personName
26
26
  description=page.profession
27
- headlineClass="text-center lg:text-left mx-auto"
27
+ headlineClass="text-center lg:text-left mx-auto lg:mx-0"
28
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"
@@ -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,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.pre.beta2
4
+ version: 8.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
8
8
  - Filip Vařecha
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-11 00:00:00.000000000 Z
12
+ date: 2020-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -53,7 +53,7 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '10.0'
56
- description:
56
+ description:
57
57
  email:
58
58
  - jitka@ucw.cz
59
59
  - filip.varecha@pirati.cz
@@ -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
@@ -366,7 +302,7 @@ homepage: https://github.com/pirati-web/jekyll-theme-pirati#readme
366
302
  licenses:
367
303
  - MIT
368
304
  metadata: {}
369
- post_install_message:
305
+ post_install_message:
370
306
  rdoc_options: []
371
307
  require_paths:
372
308
  - lib
@@ -377,13 +313,13 @@ 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: 1.3.1
318
+ version: '0'
383
319
  requirements: []
384
- rubyforge_project:
320
+ rubyforge_project:
385
321
  rubygems_version: 2.7.6
386
- signing_key:
322
+ signing_key:
387
323
  specification_version: 4
388
324
  summary: Basic theme for Czech pirate party
389
325
  test_files: []