jekyll-theme-pirati 8.0.0.pre.alpha4 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -3
  3. data/_data/parties.yml +7 -0
  4. data/_includes/article-box/article-box.html +15 -18
  5. data/_includes/article-box/list.html +11 -0
  6. data/_includes/calendar.html +1 -1
  7. data/_includes/candidate-badge.html +2 -9
  8. data/_includes/contact-line.html +1 -1
  9. data/_includes/header.html +2 -2
  10. data/_includes/hero/simple.html +1 -1
  11. data/_includes/page-header.html +1 -1
  12. data/_includes/party.html +15 -0
  13. data/_includes/people/profile-badge.html +1 -1
  14. data/_includes/program/list.html +9 -9
  15. data/_includes/right-bar/bar_board.html +19 -29
  16. data/_includes/right-bar/bar_fb.html +9 -19
  17. data/_includes/right-bar/bar_garant.html +2 -2
  18. data/_includes/right-bar/bar_kodo.html +11 -18
  19. data/_includes/right-bar/bar_map.html +25 -24
  20. data/_includes/right-bar/bar_page_contact.html +2 -12
  21. data/_includes/right-bar/bar_people.html +1 -1
  22. data/_includes/right-bar/bar_person_articles.html +1 -1
  23. data/_includes/right-bar/bar_profile.html +16 -12
  24. data/_includes/right-bar/bar_program.html +1 -1
  25. data/_includes/right-bar/bar_textbox.html +4 -12
  26. data/_includes/right-bar/bar_tw.html +2 -12
  27. data/_includes/right-bar/bar_video.html +12 -38
  28. data/_includes/right-bar/rbar.html +5 -4
  29. data/_layouts/blank-article.html +1 -1
  30. data/_layouts/communal-elections.html +2 -7
  31. data/_layouts/person.html +11 -2
  32. data/_layouts/pirate-center.html +23 -19
  33. metadata +7 -71
  34. data/_includes/article-box/three-in-row.html +0 -22
  35. data/_includes/right-bar/bar_cal.html +0 -22
  36. data/_sass/_base.scss +0 -23
  37. data/_sass/_fonts.scss +0 -42
  38. data/_sass/_settings.scss +0 -688
  39. data/_sass/_sprites.scss +0 -0
  40. data/_sass/components/Slider.scss +0 -0
  41. data/_sass/components/academic-title.scss +0 -7
  42. data/_sass/components/article-card.scss +0 -41
  43. data/_sass/components/article-infobox.scss +0 -9
  44. data/_sass/components/article-listing.scss +0 -95
  45. data/_sass/components/banner.scss +0 -75
  46. data/_sass/components/blockquote.scss +0 -83
  47. data/_sass/components/card.scss +0 -154
  48. data/_sass/components/contact-bar.scss +0 -93
  49. data/_sass/components/content-block.scss +0 -24
  50. data/_sass/components/content-card.scss +0 -31
  51. data/_sass/components/corner-ribbon.scss +0 -25
  52. data/_sass/components/cta-button.scss +0 -54
  53. data/_sass/components/footer.scss +0 -5
  54. data/_sass/components/header-bar.scss +0 -118
  55. data/_sass/components/headline-media.scss +0 -42
  56. data/_sass/components/hero.scss +0 -164
  57. data/_sass/components/highlight.scss +0 -60
  58. data/_sass/components/hp-banner.scss +0 -21
  59. data/_sass/components/icon.scss +0 -33
  60. data/_sass/components/intention-map.scss +0 -23
  61. data/_sass/components/member-list.scss +0 -7
  62. data/_sass/components/metadata-block.scss +0 -29
  63. data/_sass/components/multicolumn.scss +0 -25
  64. data/_sass/components/pagination.scss +0 -44
  65. data/_sass/components/person.scss +0 -9
  66. data/_sass/components/profile-badge.scss +0 -74
  67. data/_sass/components/program.scss +0 -150
  68. data/_sass/components/region.scss +0 -83
  69. data/_sass/components/simple-accordion.scss +0 -80
  70. data/_sass/components/suggest-improvement.scss +0 -10
  71. data/_sass/components/tag.scss +0 -29
  72. data/_sass/components/tile.scss +0 -20
  73. data/_sass/components/top-bar.scss +0 -202
  74. data/_sass/components/top-sub-nav.scss +0 -81
  75. data/_sass/components/typography.scss +0 -85
  76. data/_sass/components/vertical-navigation.scss +0 -67
  77. data/_sass/components/widget-accordion.scss +0 -109
  78. data/_sass/components/widget-share-box.scss +0 -117
  79. data/_sass/components/widget-simple-text.scss +0 -15
  80. data/_sass/layouts/_cast.scss +0 -262
  81. data/_sass/layouts/_kandidatka.scss +0 -78
  82. data/_sass/objects/media.scss +0 -35
  83. data/_sass/objects/section.scss +0 -211
  84. data/_sass/objects/space.scss +0 -7
  85. data/_sass/pirati.scss +0 -58
  86. data/_sass/utilities/header-styles.scss +0 -16
  87. data/_sass/utilities/utilities.scss +0 -139
  88. data/assets/css/main.scss +0 -3
  89. data/assets/fonts/BebasNeue-Thin.ttf +0 -0
  90. data/assets/fonts/BebasNeue-Thin.woff +0 -0
  91. data/assets/fonts/BebasNeueBold.ttf +0 -0
  92. data/assets/fonts/BebasNeueBold.woff +0 -0
  93. data/assets/fonts/BebasNeueBook.ttf +0 -0
  94. data/assets/fonts/BebasNeueBook.woff +0 -0
  95. data/assets/fonts/BebasNeueLight.ttf +0 -0
  96. data/assets/fonts/BebasNeueLight.woff +0 -0
  97. data/assets/fonts/BebasNeueRegular.ttf +0 -0
  98. data/assets/fonts/BebasNeueRegular.woff +0 -0
  99. data/assets/fonts/demo.html +0 -311
  100. data/assets/fonts/stylesheet.css +0 -40
@@ -10,28 +10,29 @@ Note: map is not inside accordion, as map tiles don't load at start due to accor
10
10
  {% endcomment %}
11
11
 
12
12
  {% if (page.mapycz_api) and (page.gps.lat) and (page.gps.long) %}
13
- {% assign gps_zoom = 16 %}
14
- {% if (page.gps.zoom) %}
15
- {% assign gps_zoom = page.gps.zoom %}
16
- {% endif %}
17
- <div class="o-section-block">
18
- <div id="mapa" style="height: 300px;"></div>
19
- <script type="text/javascript">
20
- var center = SMap.Coords.fromWGS84({{ page.gps.long }}, {{ page.gps.lat }});
21
- {% if page.mapycz_api == 'mini-api' %} // Mapy.cz Mini-API
22
- var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }}, SMap.DEF_BASE);
23
- mapa.addMarker(center);
24
- {% else %} // default Mapy.cz API
25
- var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }});
26
- mapa.addDefaultLayer(SMap.DEF_BASE).enable();
27
- var vrstva = new SMap.Layer.Marker(); /* Vrstva se značkami */
28
- var options = { }
29
- var znacka = new SMap.Marker(center, 'markerid', options);
30
- vrstva.addMarker(znacka);
31
- mapa.addLayer(vrstva);
32
- vrstva.enable();
33
- {% endif %}
34
- </script>
35
- <a class="dark expanded button large hide-for-print" href="https://mapy.cz/zakladni?x={{page.gps.long}}&y={{page.gps.lat}}&z=16&source=coor&id={{page.gps.long}}%2C{{page.gps.lat}}" target="_blank"> Zobrazit větší mapu </a>
36
- </div>
13
+ {% assign gps_zoom = 16 %}
14
+
15
+ {% if (page.gps.zoom) %}
16
+ {% assign gps_zoom = page.gps.zoom %}
17
+ {% endif %}
18
+ <div id="mapa" style="height: 300px;"></div>
19
+ <script type="text/javascript">
20
+ var center = SMap.Coords.fromWGS84({{ page.gps.long }}, {{ page.gps.lat }});
21
+ {% if page.mapycz_api == 'mini-api' %} // Mapy.cz Mini-API
22
+ var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }}, SMap.DEF_BASE);
23
+ mapa.addMarker(center);
24
+ {% else %} // default Mapy.cz API
25
+ var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }});
26
+ mapa.addDefaultLayer(SMap.DEF_BASE).enable();
27
+ var vrstva = new SMap.Layer.Marker(); /* Vrstva se značkami */
28
+ var options = { }
29
+ var znacka = new SMap.Marker(center, 'markerid', options);
30
+ vrstva.addMarker(znacka);
31
+ mapa.addLayer(vrstva);
32
+ vrstva.enable();
33
+ {% endif %}
34
+ </script>
35
+
36
+ {% capture href %}https://mapy.cz/zakladni?x={{page.gps.long}}&y={{page.gps.lat}}&z=16&source=coor&id={{page.gps.long}}%2C{{page.gps.lat}}{% endcapture %}
37
+ {% include buttons/image.html href=href target="_blank" icon="ico--map" class="btn btn--black btn--fulwidth btn--hoveractive mt-4" cta="Zobrazit větší mapu" %}
37
38
  {% endif %}
@@ -1,12 +1,2 @@
1
- <aside class="o-section">
2
- <div class="o-section-inner o-section-inner--rightBlock">
3
- <div class="o-section-block">
4
- <div class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
5
- <div class="c-widget-accordion-content" data-tab-content="">
6
- <h3>Kontakty</h3>
7
- {% include right-bar/rbar_profiles.html %}
8
- </div>
9
- </div>
10
- </div>
11
- </div>
12
- </aside>
1
+ <h2 class="head-heavy-sm mb-2">Kontakty</h2>
2
+ {% include right-bar/rbar_profiles.html %}
@@ -11,4 +11,4 @@
11
11
  </div>
12
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-400 btn--fullwidth lg:btn--autowidth pt-4" cta="Poznejte celý náš tým" href=href %}
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 %}
@@ -2,5 +2,5 @@
2
2
  {% assign posts = site.posts | where_exp: "item","item.authorId contains page.uid" | sort:"date" %}
3
3
 
4
4
  {% if posts %}
5
- {% include right-bar/rbar_articles.html posts=posts title="Seznam článků" %}
5
+ {% include right-bar/rbar_articles.html posts=posts title="Seznam článků" %}
6
6
  {% endif %}
@@ -12,11 +12,16 @@
12
12
 
13
13
  {% if page.profiles.wikipedia or page.profiles.facebook or page.profiles.twitter or page.profiles.github or page.profiles.forum or page.profiles.redmine or page.profiles.web or page.profiles.blog %}
14
14
  {% include right-bar/rbar_profiles.html %}
15
+ {% endif %}
16
+
17
+ {% if page.partyUid %}
15
18
  <hr />
19
+ {% include party.html uid=page.partyUid %}
16
20
  {% endif %}
17
21
 
18
22
  <div class="content-block">
19
23
  {% if page.mail or page.mob or page.profiles.report %}
24
+ <hr />
20
25
  <div class="space-y-4">
21
26
  {% if page.mob %}
22
27
  <div>
@@ -39,35 +44,34 @@
39
44
  </div>
40
45
  {% endif %}
41
46
  </div>
42
- <hr />
43
47
  {% endif %}
44
48
 
45
49
  {% if page.asistenti %}
50
+ <hr />
46
51
  <h2>Asistenti</h2>
47
52
  <div class="space-y-4 mt-4">
48
53
  {% for asistent in page.asistenti %}
49
54
  {% include people/profile-badge.html class="badge--condensed" item=asistent description=asistent.position %}
50
55
  {% endfor %}
51
56
  </div>
52
- <hr />
53
57
  {% endif %}
54
58
 
55
59
  {% if page.office %}
60
+ <hr />
56
61
  {% assign kancl = page.office | first %}
57
- <h2>{{ kancl.name }}</h2>
58
- <p>{{ kancl.address }}</p>
59
-
60
- {% if kancl.opening %}
61
- <h4>Otevírací doba</h4>
62
- <p>{{ kancl.opening}}</p>
63
- {% endif %}
62
+ <h2>Kancelář</h2>
64
63
  <iframe
65
64
  height="150"
66
65
  frameborder="0"
67
66
  style="border:0; width:100%"
68
- src="https://www.google.com/maps/embed/v1/place?key=AIzaSyCRuL_FU0HdeKCHVNfVJkv2nhNZPr05AJM&q={{ kancl.address | replace: ' ', '+' }}" allowfullscreen>
67
+ src="{% if kancl.mapIframeLink %}{{ kancl.mapIframeLink }}{% else %}https://www.google.com/maps/embed/v1/place?key=AIzaSyCRuL_FU0HdeKCHVNfVJkv2nhNZPr05AJM&q={{ kancl.address | replace: ' ', '+' }}{% endif %}" allowfullscreen>
69
68
  </iframe>
69
+ <h4>{{ kancl.name }}</h4>
70
+ <p>{{ kancl.address | | newline_to_br }}</p>
71
+
72
+ {% if kancl.opening %}
73
+ <h4>Otevírací doba</h4>
74
+ <p>{{ kancl.opening}}</p>
75
+ {% endif %}
70
76
  {% endif %}
71
- <!-- Mobile divider -->
72
- <hr class="block lg:hidden" />
73
77
  </div>
@@ -13,7 +13,7 @@
13
13
 
14
14
  <ul class="unordered-list unordered-list--linked">
15
15
  {% for programSection in programSections %}
16
- <li><a {% if page.uid == programSection.uid %}class="font-bold"{% endif %} href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li>
16
+ <li><a class="{% if page.uid == programSection.uid %}font-bold {% endif %}content-block--nostyle" href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li>
17
17
  {% endfor %}
18
18
  </ul>
19
19
  {% unless forloop.last %}
@@ -5,16 +5,8 @@ textbox:
5
5
  text: # required
6
6
  {% endcomment %}
7
7
  {% if page.textbox.text %}
8
- <div class="o-section-block">
9
- <ul class="c-widget-accordion c-widget-accordion--dark" data-accordion="" data-allow-all-closed="true">
10
- <li class="c-widget-accordion-item is-active" data-accordion-item="">
11
- <a href="#" class="c-widget-accordion-link">
12
- <span class="c-widget-accordion__title">{% if page.textbox.title %} {{ page.textbox.title }}{% endif %}</span>
13
- </a>
14
- <div class="c-widget-accordion-content c-content-block" data-tab-content="">
15
- {{ page.textbox.text }}
16
- </div>
17
- </li>
18
- </ul>
19
- </div>
8
+ {% if page.textbox.title %}<h2 class="head-heavy-sm mb-2">{{ page.textbox.title }}</h2>{% endif %}
9
+ <div class="content-block">
10
+ <p>{{ page.textbox.text }}</p>
11
+ </div>
20
12
  {% endif %}
@@ -1,12 +1,2 @@
1
- <div class="o-section-block">
2
- <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
3
- <li class="c-widget-accordion-item is-active" data-accordion-item="">
4
- <a href="#" class="c-widget-accordion-link">
5
- <span class="c-widget-accordion__title">Twitter</span>
6
- </a>
7
- <div class="c-widget-accordion-content" data-tab-content="">
8
- <a class="twitter-timeline" href="https://twitter.com/{{site.tw}}" data-height="520">Tweets by @{{site.tw}}</a>
9
- </div>
10
- </li>
11
- </ul>
12
- </div>
1
+ <h2 class="head-heavy-sm mb-2">Twitter</h2>
2
+ <a class="twitter-timeline" href="https://twitter.com/{{site.tw}}" data-height="520">Tweets by @{{site.tw}}</a>
@@ -1,42 +1,16 @@
1
1
  {% if page.youtube %}
2
- <div class="o-section-block show-for-medium">
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="">
2
+ {% if page.youtube.title %}
3
+ <h2 class="head-heavy-sm mb-2">{{page.youtube.title}}</h2>
4
+ {% endif %}
5
5
 
6
- {% if page.youtube.title %}
7
- <a href="#" class="c-widget-accordion-link c-widget-accordion-link--yt">
8
- <span class="c-widget-accordion__title">{{page.youtube.title}}</span>
9
- </a>
10
- {% endif %}
6
+ {% if page.youtube.id %}
7
+ <iframe width="100%" src="https://www.youtube-nocookie.com/embed/{{page.youtube.id}}?rel=0&amp;controls=0" style="border: 0;" allowfullscreen=""></iframe>
8
+ {% endif %}
9
+ {% if page.youtube.playlist %}
10
+ <iframe width="100%" src="https://www.youtube.com/embed/videoseries?list={{page.youtube.playlist}}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
11
+ {% endif %}
11
12
 
12
- <div class="c-widget-accordion-content" data-tab-content="">
13
- <div class="c-widget-accordion-content-video">
14
-
15
- <div class="c-widget-accordion-content__video u-video-wrapper-16-9">
16
-
17
- {% if page.youtube.id %}
18
- <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/{{page.youtube.id}}?rel=0&amp;controls=0" style="border: 0;" allowfullscreen=""></iframe>
19
- {% endif %}
20
-
21
- {% if page.youtube.playlist %}
22
-
23
- <iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list={{page.youtube.playlist}}" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
24
- {% endif %}
25
-
26
- </div>
27
-
28
- {% if page.youtube.button %}
29
- <div class="c-widget-accordion-content__cta">
30
- <a class="expanded button large u-0margin" href={{page.youtube.button.url}} target="_blank" rel="noopener noreferrer">
31
- {{page.youtube.button.title}}
32
- </a>
33
- </div>
34
- {% endif %}
35
-
36
- </div>
37
- </div>
38
-
39
- </li>
40
- </ul>
41
- </div>
13
+ {% if page.youtube.button %}
14
+ {% include buttons/icon.html href=page.youtube.button.url target="_blank" cta=page.youtube.button.title class="mt-4 btn--fullwidth btn--hoveractive" icon="ico--chevron-right" %}
15
+ {% endif %}
42
16
  {% endif %}
@@ -1,5 +1,5 @@
1
1
  <aside class="container-padding--zero lg:container-padding--auto lg:card lg:elevation-10">
2
- <div class="lg:card__body {{ include.cardBodyClass }}">
2
+ <div class="lg:card__body p-4 lg:p-8">
3
3
  {% for rbar in page.rbar %}
4
4
  {% if rbar contains 'profile' %}
5
5
  {% include right-bar/bar_profile.html %}
@@ -13,9 +13,6 @@
13
13
  {% if rbar contains 'program' %}
14
14
  {% include right-bar/bar_program.html %}
15
15
  {% endif %}
16
- {% if rbar contains 'cal' and site.calendar %}
17
- {% include right-bar/bar_cal.html %}
18
- {% endif %}
19
16
  {% if rbar contains 'people' %}
20
17
  {% include right-bar/bar_people.html %}
21
18
  {% endif %}
@@ -47,6 +44,10 @@
47
44
  {% include right-bar/bar_page_contact.html %}
48
45
  {% endif %}
49
46
 
47
+ {% unless forloop.last %}
48
+ <hr />
49
+ {% endunless %}
50
+
50
51
  {% comment %}Allows to append custom right bars variants{% endcomment %}
51
52
  {% include right-bar/custom-bars.html rbar=rbar %}
52
53
  {% endfor %}
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <div class="container container--default py-8 lg:py-24">
6
6
  {% if page.article-boxes %}
7
- {% include article-box/three-in-row.html article-boxes=page.article-boxes %}
7
+ {% include article-box/list.html article-boxes=page.article-boxes class="mb-8 lg:mb-16" %}
8
8
  {% endif %}
9
9
 
10
10
  <main>
@@ -141,14 +141,9 @@ layout: default
141
141
  {% include avatar.html class="avatar--sm candidate-table-row__avatar" src=img alt=candidate.name %}
142
142
  <div class="candidate-table-row__name head-heavy-2xs font-bold">{% if candidatePage %}{{ candidatePage.name }}{% else %}{{ candidate.name }}{% endif %}</div>
143
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>
144
- {% if candidate.party %}
144
+ {% if candidate.partyUid %}
145
145
  <div class="candidate-table-row__affiliation">
146
- {% if candidate.partyImg %}
147
- {% comment %}We expect an SVG format here to make things scalable{% endcomment %}
148
- {% capture partyImg %}{{ candidate.partyImg | prepend: "/assets/img/" | absolute_url }}{% endcapture %}
149
- {% include avatar.html class="w-6 mr-2" alt=candidate.party src=partyImg %}
150
- {% endif %}
151
- <span class="font-bold font-condensed">{{ candidate.party }}</span>
146
+ {% include party.html uid=candidate.partyUid %}
152
147
  </div>
153
148
  {% endif %}
154
149
  </{% if candidatePage %}a{% else %}div{% endif %}>
@@ -20,7 +20,16 @@ layout: default
20
20
 
21
21
  {% capture personName %}{% include people/fullname.html person=page %}{% endcapture %}
22
22
 
23
- {% include hero/simple.html headline=personName description=page.description descriptionClass="max-w-xl" heroSpacing="pt-24 pb-24 lg:pt-32 pb-24" class="candidate-detail__hero" bgImg=imgPath %}
23
+ {%
24
+ include hero/simple.html
25
+ headline=personName
26
+ description=page.profession
27
+ headlineClass="text-center lg:text-left mx-auto"
28
+ descriptionClass="max-w-xl mx-auto text-center lg:text-left"
29
+ heroSpacing="pt-16 pb-24 lg:pt-32 pb-24"
30
+ class="candidate-detail__hero"
31
+ bgImg=imgPath
32
+ %}
24
33
 
25
34
  <div class="container container--default py-8 lg:pb-24">
26
35
  <main>
@@ -31,7 +40,7 @@ layout: default
31
40
  </div>
32
41
  </section>
33
42
  <section class="lg:w-2/5 xl:w-1/3 pt-8 lg:pt-0 order-first lg:order-last candidate-detail__sidebar">
34
- {% include right-bar/rbar.html cardBodyClass="p-4 lg:p-8" %}
43
+ {% include right-bar/rbar.html %}
35
44
  <!-- Mobile divider -->
36
45
  <hr class="block lg:hidden" />
37
46
  </section>
@@ -31,32 +31,36 @@ layout: default
31
31
  {% endif %}
32
32
 
33
33
  <div class="lg:flex lg:space-x-8 xl:space-x-16">
34
- <div class="lg:w-3/5 xl:w-2/3 content-block">
35
- {{ content }}
34
+ <div class="lg:w-3/5 xl:w-2/3">
35
+ <div class="content-block">
36
+ {{ content }}
37
+ </div>
36
38
  {% if page.calendarId or page.calendarPage %}
37
- <h2>{{ page.calendarTitle | default: "Kalendář akcí" }}</h2>
38
- {% include calendar.html calendarId=page.calendarId title=page.calendarTitle calendarPage=page.calendarPage hideBanner=true %}
39
+ <h2 class="head-heavy-sm mb-4 mt-4">{{ page.calendarTitle | default: "Kalendář akcí" }}</h2>
40
+ {% include calendar.html calendarId=page.calendarId title=page.calendarTitle calendarPage=page.calendarPage hideBanner=true classes="mb-4" %}
39
41
  {% endif %}
40
42
  </div>
41
43
  <div class="pt-8 lg:w-2/5 xl:w-1/3 lg:pt-0">
42
44
  <div class="lg:card lg:elevation-10">
43
- <div class="lg:card__body content-block" itemprop="address" itemtype="https://schema.org/PostalAddress" itemscope>
45
+ <div class="lg:card__body" itemprop="address" itemtype="https://schema.org/PostalAddress" itemscope>
46
+ <div class="content-block">
44
47
  <h2>Kde to najdu?</h2>
45
- {% if page.mapIframeLink %}
46
- <iframe src="{{ page.mapIframeLink }}" width="100%" height="300" id="mapa-mobile" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
47
- {% endif %}
48
- {% if page.address %}
49
- <p>
50
- {{ page.address | newline_to_br }}
51
- </p>
52
- {% endif %}
53
- {% if page.addressNote %}
54
- <p><small>{{ page.addressNote }}</small></p>
55
- {% endif %}
56
- <hr>
57
- {% if page.contactPersons %}
58
- <h2>Kontakt</h2>
48
+ {% if page.mapIframeLink %}
49
+ <iframe src="{{ page.mapIframeLink }}" width="100%" height="300" id="mapa-mobile" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
50
+ {% endif %}
51
+ {% if page.address %}
52
+ <p>
53
+ {{ page.address | newline_to_br }}
54
+ </p>
55
+ {% endif %}
56
+ {% if page.addressNote %}
57
+ <p><small>{{ page.addressNote }}</small></p>
58
+ {% endif %}
59
+ <hr>
60
+ </div>
59
61
 
62
+ {% if page.contactPersons %}
63
+ <h2 class="head-heavy-sm mb-2">Kontakt</h2>
60
64
  {% for contact in page.contactPersons %}
61
65
  {% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %}
62
66
  {% if forloop.first %}
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.0.0.pre.alpha4
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-10 00:00:00.000000000 Z
12
+ date: 2020-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -64,10 +64,11 @@ files:
64
64
  - README.md
65
65
  - _data/campaigns.yml
66
66
  - _data/menu.yml
67
+ - _data/parties.yml
67
68
  - _includes/404.html
68
69
  - _includes/accordeon/accordeon.html
69
70
  - _includes/article-box/article-box.html
70
- - _includes/article-box/three-in-row.html
71
+ - _includes/article-box/list.html
71
72
  - _includes/article-infobox.html
72
73
  - _includes/articles/author.html
73
74
  - _includes/articles/horizontal-article.html
@@ -108,6 +109,7 @@ files:
108
109
  - _includes/icon-twitter.svg
109
110
  - _includes/js/main.html
110
111
  - _includes/page-header.html
112
+ - _includes/party.html
111
113
  - _includes/people/fullname.html
112
114
  - _includes/people/list-group.html
113
115
  - _includes/people/list-responsive.html
@@ -118,7 +120,6 @@ files:
118
120
  - _includes/regions/crossroad2.html
119
121
  - _includes/regions/item.html
120
122
  - _includes/right-bar/bar_board.html
121
- - _includes/right-bar/bar_cal.html
122
123
  - _includes/right-bar/bar_fb.html
123
124
  - _includes/right-bar/bar_garant.html
124
125
  - _includes/right-bar/bar_kodo.html
@@ -159,71 +160,6 @@ files:
159
160
  - _layouts/regions.html
160
161
  - _layouts/regions2.html
161
162
  - _layouts/taglist.html
162
- - _sass/_base.scss
163
- - _sass/_fonts.scss
164
- - _sass/_settings.scss
165
- - _sass/_sprites.scss
166
- - _sass/components/Slider.scss
167
- - _sass/components/academic-title.scss
168
- - _sass/components/article-card.scss
169
- - _sass/components/article-infobox.scss
170
- - _sass/components/article-listing.scss
171
- - _sass/components/banner.scss
172
- - _sass/components/blockquote.scss
173
- - _sass/components/card.scss
174
- - _sass/components/contact-bar.scss
175
- - _sass/components/content-block.scss
176
- - _sass/components/content-card.scss
177
- - _sass/components/corner-ribbon.scss
178
- - _sass/components/cta-button.scss
179
- - _sass/components/footer.scss
180
- - _sass/components/header-bar.scss
181
- - _sass/components/headline-media.scss
182
- - _sass/components/hero.scss
183
- - _sass/components/highlight.scss
184
- - _sass/components/hp-banner.scss
185
- - _sass/components/icon.scss
186
- - _sass/components/intention-map.scss
187
- - _sass/components/member-list.scss
188
- - _sass/components/metadata-block.scss
189
- - _sass/components/multicolumn.scss
190
- - _sass/components/pagination.scss
191
- - _sass/components/person.scss
192
- - _sass/components/profile-badge.scss
193
- - _sass/components/program.scss
194
- - _sass/components/region.scss
195
- - _sass/components/simple-accordion.scss
196
- - _sass/components/suggest-improvement.scss
197
- - _sass/components/tag.scss
198
- - _sass/components/tile.scss
199
- - _sass/components/top-bar.scss
200
- - _sass/components/top-sub-nav.scss
201
- - _sass/components/typography.scss
202
- - _sass/components/vertical-navigation.scss
203
- - _sass/components/widget-accordion.scss
204
- - _sass/components/widget-share-box.scss
205
- - _sass/components/widget-simple-text.scss
206
- - _sass/layouts/_cast.scss
207
- - _sass/layouts/_kandidatka.scss
208
- - _sass/objects/media.scss
209
- - _sass/objects/section.scss
210
- - _sass/objects/space.scss
211
- - _sass/pirati.scss
212
- - _sass/utilities/header-styles.scss
213
- - _sass/utilities/utilities.scss
214
- - assets/css/main.scss
215
- - assets/fonts/BebasNeue-Thin.ttf
216
- - assets/fonts/BebasNeue-Thin.woff
217
- - assets/fonts/BebasNeueBold.ttf
218
- - assets/fonts/BebasNeueBold.woff
219
- - assets/fonts/BebasNeueBook.ttf
220
- - assets/fonts/BebasNeueBook.woff
221
- - assets/fonts/BebasNeueLight.ttf
222
- - assets/fonts/BebasNeueLight.woff
223
- - assets/fonts/BebasNeueRegular.ttf
224
- - assets/fonts/BebasNeueRegular.woff
225
- - assets/fonts/demo.html
226
- - assets/fonts/stylesheet.css
227
163
  - assets/icons/blog.png
228
164
  - assets/icons/compass.png
229
165
  - assets/icons/facebook.png
@@ -376,9 +312,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
376
312
  version: '0'
377
313
  required_rubygems_version: !ruby/object:Gem::Requirement
378
314
  requirements:
379
- - - ">"
315
+ - - ">="
380
316
  - !ruby/object:Gem::Version
381
- version: 1.3.1
317
+ version: '0'
382
318
  requirements: []
383
319
  rubyforge_project:
384
320
  rubygems_version: 2.7.6