jekyll-theme-pirati 8.0.0.pre.alpha1 → 8.0.0.pre.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/menu.yml +1 -1
- data/_includes/hero/advanced.html +2 -2
- data/_includes/hero/simple.html +4 -4
- data/_includes/right-bar/bar_people.html +1 -1
- data/_includes/right-bar/rbar_articles.html +13 -20
- data/_layouts/person.html +8 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9044f8036be0c47d808f0f53cdc4b06dc93df35267a253ecceb2e62f27ab3e7
|
4
|
+
data.tar.gz: 79c854f9d003fe367087b9fd8ec575ff4933f4426905200f36c91dd7c4d24384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de9790679ff07d73c21ec77fff4812a14748204c32fa42229d89c58b8337e712464448e9390e4e26122d8768ab0480fa49d32ba86a5449c800d41e6bcba9c9c3
|
7
|
+
data.tar.gz: cdba6a5cd1ccf5e0715fb2ae0dc750536f6b0c1c32b8a8dfa1a11797e1f88de9f6fbd813b04f355dcf70770b070bf6188641629161dc9fe8ffd02d1301c305b4
|
data/_data/menu.yml
CHANGED
@@ -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>
|
@@ -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>
|
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>
|