jekyll-theme-pirati 4.2.4 → 4.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9a965effe7776a03f32d81302bf1c0ce88001c9b8f7d4a8d931e037d9fc4315
4
- data.tar.gz: 2dfc8f04b83cf234c4ab865e5796bba44b6ee686259361e45485c7ac9c7754e5
3
+ metadata.gz: b5d0302152e5555c050365022d9e67d804e55e346607ea512c8490f041938ec9
4
+ data.tar.gz: 80e06eb67092b69699c64b963982755bfeb7b6c2f4c0b906164a2d0978864ed2
5
5
  SHA512:
6
- metadata.gz: ccc8d2d7f517598819922293171476d7471763b7d0759c76bfee5725d8279b540951ee6c6ac0cc78f7f8735e5986b07f2ce6fbcc1993ad56a2636e0eaab82a8f
7
- data.tar.gz: e4f82b89e3bfcf6dc880915f88720187e5be46e61b8d2b65c41eb85868771bfbd2263dcf6084a8056a4e0b74b13be1fec981958359d2c7b2c62d17e11abe23c5
6
+ metadata.gz: a77dac7e21ea98855be77380d63fa1a659525afca22c3aee53a7d09ba4b8398e69d282aa66297e9f57d2208223167deb68029b4df1a5cc503b262991f8e3c993
7
+ data.tar.gz: f5c693b85a7c492a67c197c58795ba5e56ac2089cc2ea6943616c09d3c4a327168902d08d915c27afe4972b9c03b233527de98356069aa04e0b44621f91b6b8c
@@ -0,0 +1,16 @@
1
+ <div class="row c-hp-banner">
2
+ <div class="small-12 columns">
3
+ <a href="{{ include.link }}" title="{{ include.title }}">
4
+ {% capture img %}{% asset '{{ include.default }}' magick:resize='1135x' @path %}{% endcapture %}
5
+ {% if include.breakpoint %}
6
+ <picture>
7
+ <source media="(min-width: {{ include.breakpoint }}px)" srcset="{{ img }}">
8
+ <img src="{% asset '{{ include.mobile }}' magick:resize='{{ include.breakpoint +"px" }}' @path %}" alt="{{ include.title }}">
9
+ </picture>
10
+ {% else %}
11
+ <img src="{{ img }}" alt="{{ include.title }}">
12
+ {% endif %}
13
+ </a>
14
+ </div>
15
+ </div>
16
+
@@ -49,7 +49,7 @@ title: Kontaktní informace
49
49
  </section>
50
50
  </div>
51
51
 
52
- {% if page.residence %}
52
+ {% unless page.noresidence %}
53
53
  <div class="medium-12 large-4 columns">
54
54
  <div class="o-section o-section--spaceBot">
55
55
  <div class="o-section-inner">
@@ -59,6 +59,6 @@ title: Kontaktní informace
59
59
  </div>
60
60
  </div>
61
61
  </div>
62
- {% endif %}
62
+ {% endunless %}
63
63
 
64
64
  </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: 4.2.4
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -80,6 +80,7 @@ files:
80
80
  - _includes/head.html
81
81
  - _includes/header.html
82
82
  - _includes/headline-media.html
83
+ - _includes/homepage/banner.html
83
84
  - _includes/icon-github.html
84
85
  - _includes/icon-github.svg
85
86
  - _includes/icon-twitter.html