jekyll-theme-pirati 8.0.0.pre.alpha1 → 8.0.0.pre.alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_data/menu.yml +1 -1
- data/_includes/articles/vertical-article.html +12 -1
- data/_includes/calendar.html +1 -1
- data/_includes/candidate-badge.html +1 -1
- data/_includes/hero/advanced.html +2 -2
- data/_includes/hero/simple.html +4 -4
- data/_includes/homepage/banner.html +1 -1
- data/_includes/people/profile-badge.html +3 -1
- data/_includes/right-bar/bar_people.html +1 -1
- data/_includes/right-bar/rbar_articles.html +13 -20
- data/_layouts/communal-elections.html +1 -1
- data/_layouts/person.html +8 -8
- data/_layouts/pirate-center.html +23 -19
- data/_layouts/taglist.html +11 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cab2e7fbdf068f4cbde5b0af8427faa3bb11a5b8b4aaf1e44cad60c43c5a6f6
|
4
|
+
data.tar.gz: 7185bd2519205901ae1a7ca37e8c178dafb7b70e3bec1eb714b85e84a4c64867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b68ba785b54c18f3f7f6935d665fb3d1e16e32643270d9bfcc72835b64fd6e6bf6f32242e3df089f29650bcd98f8c673b1626f8e83aaf9c05159926ba7a3a869
|
7
|
+
data.tar.gz: ee376b8d8f8a189c46105663e02eccfaa74c2924ec90df5a3522a952ab47a243cc6fc0bedca1c8311fba7a79444e83431a5909fdabce1026e2c403a64ab190e7
|
data/_data/menu.yml
CHANGED
@@ -15,7 +15,18 @@
|
|
15
15
|
|
16
16
|
<div class="article-card-cover__details">
|
17
17
|
<div class="article-card-sharing">
|
18
|
-
|
18
|
+
<div class="social-icon-group">
|
19
|
+
<a
|
20
|
+
href="https://www.facebook.com/sharer/sharer.php?u={{ include.article.url | absolute_url }}"
|
21
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
22
|
+
class="social-icon social-icon--fill bg-brands-facebook text-white text-sm social-icon--4"
|
23
|
+
><i class="ico--facebook"></i></a>
|
24
|
+
<a
|
25
|
+
href="https://twitter.com/intent/tweet?text={{ include.article.title }}&url={{ include.article.url | absolute_url }}"
|
26
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
27
|
+
class="social-icon social-icon--fill bg-brands-twitter text-white text-sm social-icon--4"
|
28
|
+
><i class="ico--twitter"></i></a>
|
29
|
+
</div>
|
19
30
|
</div>
|
20
31
|
|
21
32
|
<div class="article-card-meta" class="c-metadata-block-section__item" >
|
data/_includes/calendar.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="__js-root">
|
1
|
+
<div class="__js-root {{ include.classes }}">
|
2
2
|
{% if site.env.GOOGLE_CALENDAR_APIKEY and include.calendarId %}
|
3
3
|
<ui-calendar-google-provider v-slot="{ events, onShowMore, hasMore }" :calendar-id="'{{ include.calendarId }}'" :api-key="'{{ site.env.GOOGLE_CALENDAR_APIKEY }}'">
|
4
4
|
<ui-calendar-renderer
|
@@ -22,7 +22,7 @@
|
|
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
|
-
<
|
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
28
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<
|
1
|
+
<header
|
2
2
|
class="hero py-8 lg:py-16 {{ include.class }} {% if include.bgImg %}hero--image{% endif %}"
|
3
3
|
{% if include.bgImg %}style="--image-url: url({{ include.bgImg }})"{% endif %}
|
4
4
|
>
|
@@ -62,4 +62,4 @@
|
|
62
62
|
</div>
|
63
63
|
{% endif %}
|
64
64
|
</div>
|
65
|
-
</
|
65
|
+
</header>
|
data/_includes/hero/simple.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
<
|
2
|
-
class="hero {% if include.bgImg %}hero--image{% endif %} py-16"
|
1
|
+
<header
|
2
|
+
class="hero {% if include.bgImg %}hero--image{% endif %} {% unless include.heroSpacing %}py-16{% else %}{{ include.heroSpacing }}{% endunless %} {{ include.class }}"
|
3
3
|
{% if include.bgImg %}style="--image-url: url({{ include.bgImg }})"{% endif %}
|
4
4
|
>
|
5
5
|
<div class="container container--default">
|
6
6
|
<h1 class="head-alt-md md:head-alt-lg max-w-2xl">
|
7
7
|
{{ include.headline }}
|
8
8
|
</h1>
|
9
|
-
<h2 class="head-xs mt-2">
|
9
|
+
<h2 class="head-xs mt-2 {{ include.descriptionClass }}">
|
10
10
|
{{ include.description }}
|
11
11
|
</h2>
|
12
12
|
</div>
|
13
|
-
</
|
13
|
+
</header>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
{% capture subContent %}
|
6
6
|
{% if include.cta %}
|
7
|
-
{% include buttons/icon.html icon="ico--chevron-right" class="btn--hoveractive btn--fullwidth md:btn--autowidth text-lg" cta=include.cta %}
|
7
|
+
{% include buttons/icon.html href=include.href icon="ico--chevron-right" class="btn--hoveractive btn--fullwidth md:btn--autowidth text-lg" cta=include.cta %}
|
8
8
|
{% endif %}
|
9
9
|
{% endcapture %}
|
10
10
|
|
@@ -34,7 +34,9 @@
|
|
34
34
|
{% endunless %}
|
35
35
|
|
36
36
|
<div class="badge__body">
|
37
|
-
<h2 class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}head-heavy-2xs{% endif %} badge__title">
|
37
|
+
<h2 class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}head-heavy-2xs{% endif %} badge__title">
|
38
|
+
<a href="{{ url }}" title="{{ label }}">{{ label }}</a>
|
39
|
+
</h2>
|
38
40
|
|
39
41
|
{% unless include.showDescription == false %}
|
40
42
|
<p class="badge__occupation">
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<div class="space-y-4">
|
7
7
|
{% assign persons = site.people | sample:3 %}
|
8
8
|
{% for person in persons %}
|
9
|
-
{% include people/profile-badge.html item=person style='card' showContactInfo=false
|
9
|
+
{% include people/profile-badge.html item=person style='card' showContactInfo=false %}
|
10
10
|
{% endfor %}
|
11
11
|
</div>
|
12
12
|
|
@@ -1,21 +1,14 @@
|
|
1
|
-
<div class="
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
</a>
|
15
|
-
</li>
|
16
|
-
{% endfor %}
|
17
|
-
</ul> </ul>
|
18
|
-
</div>
|
19
|
-
</li>
|
20
|
-
</ul>
|
1
|
+
<div class="content-block">
|
2
|
+
<h2>{{ include.title }}</h2>
|
3
|
+
|
4
|
+
{% assign posts = include.posts | sort: "date" | reverse %}
|
5
|
+
<ul class="unordered-list unordered-list--linked">
|
6
|
+
{% for post in posts limit: 30 %}
|
7
|
+
<li>
|
8
|
+
<a href="{{ post.url }}">
|
9
|
+
{{ post.title }}
|
10
|
+
</a>
|
11
|
+
</li>
|
12
|
+
{% endfor %}
|
13
|
+
</ul>
|
21
14
|
</div>
|
@@ -35,7 +35,7 @@ layout: default
|
|
35
35
|
{% endcapture %}
|
36
36
|
{% include hero/advanced.html img=page.img bgImg=imgBgPath mainContent=mainContent subContent=content contentClass="content-block" imgClass="h-32 lg:h-80 lg:m-auto hidden md:block" %}
|
37
37
|
|
38
|
-
<div class="container container--default pt-8 lg:py-24">
|
38
|
+
<div class="container container--default pt-8 {% unless group.subLinks %}pb-8{% endunless %} lg:py-24">
|
39
39
|
|
40
40
|
{% if programCategories.size > 0 %}
|
41
41
|
<div class="text-center">
|
data/_layouts/person.html
CHANGED
@@ -9,18 +9,18 @@ layout: default
|
|
9
9
|
{% capture imgPath %}{% asset '{{ page.heroImg }}' @path %}{% endcapture %}
|
10
10
|
{% assign imgPath = imgPath | absolute_url %}
|
11
11
|
{% endif %}
|
12
|
+
{% elsif page.img %}
|
13
|
+
{% if site.mediaStorage %}
|
14
|
+
{% capture imgPath %}https://a.pirati.cz/{{ site.mediaStorage }}/img/{{ page.img }}{% endcapture %}
|
15
|
+
{% else %}
|
16
|
+
{% capture imgPath %}{% asset '{{ page.img }}' @path %}{% endcapture %}
|
17
|
+
{% assign imgPath = imgPath | absolute_url %}
|
18
|
+
{% endif %}
|
12
19
|
{% endif %}
|
13
20
|
|
14
21
|
{% capture personName %}{% include people/fullname.html person=page %}{% endcapture %}
|
15
22
|
|
16
|
-
|
17
|
-
<div class="container container--default text-center lg:text-left">
|
18
|
-
<h1 class="head-alt-md md:head-alt-xl max-w-2xl">{{ personName }}</h1>
|
19
|
-
{% if page.description %}
|
20
|
-
<h2 class="head-xs mt-2 max-w-xl">{{ page.description }}</h2>
|
21
|
-
{% endif %}
|
22
|
-
</div>
|
23
|
-
</header>
|
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 %}
|
24
24
|
|
25
25
|
<div class="container container--default py-8 lg:pb-24">
|
26
26
|
<main>
|
data/_layouts/pirate-center.html
CHANGED
@@ -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
|
35
|
-
|
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
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
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 %}
|
data/_layouts/taglist.html
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: page
|
3
|
+
nocols: true
|
3
4
|
---
|
4
5
|
|
5
6
|
{{ content }}
|
@@ -14,15 +15,17 @@ layout: page
|
|
14
15
|
{% endcapture %}
|
15
16
|
{% assign sortedtags = tags | split:' ' | uniq | sort %}
|
16
17
|
|
17
|
-
<div class="
|
18
|
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
18
19
|
{% for tag in sortedtags %}
|
19
|
-
<section>
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
<section class="card">
|
21
|
+
<div class="card__body p-4">
|
22
|
+
<h2 class="head-heavy-xs mb-2" id="{{ tag }}">{{ tag }}</h3>
|
23
|
+
<ul class="unordered-list unordered-list--linked unordered-list--dense leading-normal font-light text-sm">
|
24
|
+
{% for post in site.tags[tag] %}
|
25
|
+
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
|
26
|
+
{% endfor %}
|
27
|
+
</ul>
|
28
|
+
</div>
|
26
29
|
</section>
|
27
30
|
{% endfor %}
|
28
31
|
</div>
|
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.
|
4
|
+
version: 8.0.0.pre.alpha6
|
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-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jekyll
|