jekyll-theme-consulting 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc4aa348d9959be4f5318997f1711c14dbfb1f4fdf9cffc603f9a57088655fcd
4
- data.tar.gz: ca9723acbacdca5a1fc25e76aa79cc626f16001ef8b6cbd0da04973d46aa1022
3
+ metadata.gz: 2b81f577fb60858c5da645faaca6b2390d6f43e6c90af66135a6a2bf49425390
4
+ data.tar.gz: 345dd66f678b6094c3d62d034f89c86ad9d6bbd8aacf9900d3469f925c631b48
5
5
  SHA512:
6
- metadata.gz: da5d3e7cec55efc5f469f08ae577c4dc1b89797d5404576098403f4119eabbfacd73d11a151c50e85672d4ac41990530d6502cb8dbbc8c03feb15643eb9acfcd
7
- data.tar.gz: 3f53bc9f4ab8b2b346259361f424c7e538fc326edbdc1c6f7e088734c570738bd9d303368903e4cbcc22b003fad3a36302c3ed29e5bc29c52c46ffd80bd54d71
6
+ metadata.gz: 1747df383b794b4b1b8de8e47399b4b45301ef2d1d37469272725ee922375dd0c92aa5ecc24e751986de7831557af89687433a63868783d51f7943bd9b72d077
7
+ data.tar.gz: f29f52f2baae4baa1e6e7c8b81f9b71062f1d32cad36aaba9e2f6570b95b533845fec5b40c9098b3da6477c582aabe3013783c43cb1857be309cbbf917d10d2b
@@ -3,6 +3,7 @@
3
3
  <script src="{{ 'assets/js/jquery.scrolly.min.js' | absolute_url }}" type="text/javascript" ></script>
4
4
  <script src="{{ 'assets/js/browser.min.js' | absolute_url }}" type="text/javascript" ></script>
5
5
  <script src="{{ 'assets/js/breakpoints.min.js' | absolute_url }}" type="text/javascript" ></script>
6
+ <script src="{{ 'assets/js/lazy-loading.js' | absolute_url }}" type="text/javascript" ></script>
6
7
  <script src="{{ 'assets/js/util.js' | absolute_url }}" type="text/javascript" ></script>
7
8
  <script src="{{ 'assets/js/main.js' | absolute_url }}" type="text/javascript" ></script>
8
9
  <script src="{{ 'assets/js/cookieconsent.min.js' | absolute_url }}" type="text/javascript" data-cfasync="false" ></script>
@@ -8,7 +8,7 @@
8
8
  <div class="posts">
9
9
  {%- for post in posts -%}
10
10
  <article>
11
- <a href="{{ post.url | absolute_url }}" class="image"><img src="{{ post.image | absolute_url }}" alt="" /></a>
11
+ <a href="{{ post.url | absolute_url }}" class="image"><img class="lazy-loading" src="{{ post.image.thumbnail | absolute_url }}" data-src="{{ post.image.fullsize | absolute_url }}" alt="" /></a>
12
12
  <h3>{{ post.title | escape }}</h3>
13
13
  <!-- <span>{{ post.date | date: date_format }}</span> -->
14
14
  <p>{{ post.excerpt }}</p>
@@ -21,4 +21,4 @@
21
21
  </section>
22
22
 
23
23
  <p class="rss-subscribe">subscribe <a href="{{ '/feed.xml' | absolute_url }}">via RSS</a></p>
24
- {%- endif -%}
24
+ {%- endif -%}
@@ -0,0 +1,22 @@
1
+ document.addEventListener("DOMContentLoaded", function() {
2
+ var lazyImages = [].slice.call(document.querySelectorAll("img.lazy-loading"));
3
+
4
+ if ("IntersectionObserver" in window) {
5
+ let lazyImageObserver = new IntersectionObserver(function(entries, observer) {
6
+ entries.forEach(function(entry) {
7
+ if (entry.isIntersecting) {
8
+ let lazyImage = entry.target;
9
+ lazyImage.src = lazyImage.dataset.src;
10
+ lazyImage.classList.remove("lazy-loading");
11
+ lazyImageObserver.unobserve(lazyImage);
12
+ }
13
+ });
14
+ });
15
+
16
+ lazyImages.forEach(function(lazyImage) {
17
+ lazyImageObserver.observe(lazyImage);
18
+ });
19
+ } else {
20
+ // Possibly fall back to a more compatible method here
21
+ }
22
+ });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Mougeolle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-26 00:00:00.000000000 Z
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -150,46 +150,12 @@ files:
150
150
  - assets/css/images/uca.svg
151
151
  - assets/css/main.scss
152
152
  - assets/css/mapbox-gl.css
153
- - assets/images/bg-1.jpg
154
- - assets/images/bg-alt.jpg
155
- - assets/images/bg.jpg
156
- - assets/images/favicon.ico
157
- - assets/images/fulls/01.jpg
158
- - assets/images/fulls/02.jpg
159
- - assets/images/fulls/03.jpg
160
- - assets/images/fulls/04.jpg
161
- - assets/images/fulls/05.jpg
162
- - assets/images/fulls/06.jpg
163
- - assets/images/fulls/07.jpg
164
- - assets/images/fulls/08.jpg
165
- - assets/images/logo.png
166
- - assets/images/logo.svg
167
- - assets/images/pic01.jpg
168
- - assets/images/pic02.jpg
169
- - assets/images/pic03.jpg
170
- - assets/images/pic04.jpg
171
- - assets/images/pic05.jpg
172
- - assets/images/pic06.jpg
173
- - assets/images/pic07.jpg
174
- - assets/images/pic08.jpg
175
- - assets/images/pic09.jpg
176
- - assets/images/pic10.jpg
177
- - assets/images/pic11.jpg
178
- - assets/images/pillars-of-creation.jpg
179
- - assets/images/screenshot.jpg
180
- - assets/images/thumbs/01.jpg
181
- - assets/images/thumbs/02.jpg
182
- - assets/images/thumbs/03.jpg
183
- - assets/images/thumbs/04.jpg
184
- - assets/images/thumbs/05.jpg
185
- - assets/images/thumbs/06.jpg
186
- - assets/images/thumbs/07.jpg
187
- - assets/images/thumbs/08.jpg
188
153
  - assets/js/breakpoints.min.js
189
154
  - assets/js/browser.min.js
190
155
  - assets/js/cookieconsent.min.js
191
156
  - assets/js/jquery.min.js
192
157
  - assets/js/jquery.scrolly.min.js
158
+ - assets/js/lazy-loading.js
193
159
  - assets/js/main.js
194
160
  - assets/js/mapbox-gl.js
195
161
  - assets/js/simple-jekyll-search.min.js
Binary file
Binary file
data/assets/images/bg.jpg DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <!-- Creator: CorelDRAW 2018 (64-Bit Evaluation Version) -->
4
- <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="20.4978in" height="18.0152in" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
5
- viewBox="0 0 46296.26 40689.13"
6
- xmlns:xlink="http://www.w3.org/1999/xlink">
7
- <defs>
8
- <style type="text/css">
9
- <![CDATA[
10
- .fil0 {fill:black}
11
- ]]>
12
- </style>
13
- </defs>
14
- <g id="Layer_x0020_1">
15
- <metadata id="CorelCorpID_0Corel-Layer"/>
16
- <g id="_1761831900240">
17
- <path class="fil0" d="M23204.91 7530.98c2944.63,-3188.84 6384.04,-4639.01 10366.38,-4077.21 4110.34,579.88 7609.97,3518.41 8854.17,7479.01 957.39,3047.58 559.96,6460.83 -722.09,9573.35 -1993.98,4840.97 -7886.31,11722.09 -18555.24,16532.85 -10668.92,-4810.76 -16561.25,-11691.88 -18555.24,-16532.85 -1282.05,-3112.52 -1679.47,-6525.77 -722.09,-9573.35 1244.19,-3960.6 4743.83,-6899.13 8854.17,-7479.01 3982.46,-561.82 7421.94,888.46 10366.64,4077.48 5.4,5.84 56.52,61.37 56.53,61.36 0.04,0.04 51.9,-56.36 56.79,-61.63zm-56.79 -4522.44c-6431.69,-5048.01 -16512.25,-3730.83 -21147.65,3855.94 -1539.08,2519.03 -2117.14,5447.75 -1981.3,8355.45 235.64,5043.59 2412.75,9452.27 5610.61,13256.78 4306.02,5122.9 10531.26,9148.59 17382.21,12152.72 9.53,4.18 88.63,38.56 136.13,59.69 41.66,-17.53 114.6,-50.41 137.01,-60.3 6815.65,-3004.07 13075.56,-7030.12 17381.33,-12152.12 3198.08,-3804.33 5374.97,-8213.2 5610.61,-13256.78 135.85,-2907.7 -442.2,-5836.43 -1981.3,-8355.45 -4635.4,-7586.77 -14715.95,-8903.95 -21147.65,-3855.94z"/>
18
- <path class="fil0" d="M22983.64 21630.19l-2928.01 -1451.38c-1017.73,1483.99 -1758.21,2488.33 -3897.08,1902.25 -1678.91,-460.05 -2175.85,-2300.18 -2239.67,-3843.76 -87.17,-2108.39 649.94,-4543.46 3168.15,-4413.24 1609.13,83.19 2294.75,1032.23 2661.15,1885.36l3196.99 -1638.9c-1574.75,-3004.31 -5265.13,-4026.05 -8393.32,-3188.81 -3328.66,890.9 -5014.61,3952.95 -4955.5,7255.23 60.43,3375.58 1680.8,6291.51 5161.55,7052.54 1697.16,371.06 3545.13,284.81 5116.74,-503.18 1216.27,-609.83 2567.56,-1786.86 3109,-3056.12zm13802.46 0l-2928.01 -1451.38c-1017.73,1483.99 -1758.21,2488.33 -3897.08,1902.25 -1678.91,-460.05 -2175.86,-2300.18 -2239.67,-3843.76 -87.18,-2108.39 649.94,-4543.46 3168.15,-4413.24 1609.13,83.19 2294.74,1032.23 2661.15,1885.36l3196.99 -1638.9c-1574.75,-3004.31 -5265.14,-4026.05 -8393.32,-3188.81 -3328.66,890.9 -5014.61,3952.95 -4955.5,7255.23 60.42,3375.58 1680.8,6291.51 5161.55,7052.54 1697.16,371.06 3545.13,284.81 5116.74,-503.18 1216.27,-609.83 2567.56,-1786.86 3109,-3056.12z"/>
19
- </g>
20
- </g>
21
- </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file