j1-template 2023.2.1 → 2023.2.2
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/_includes/themes/j1/layouts/layout_metadata_generator.html +1 -1
- data/assets/data/banner.html +2 -2
- data/assets/data/masonry.html +63 -9
- data/assets/data/slick.html +48 -5
- data/assets/themes/j1/adapter/js/lightbox.js +25 -5
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/footer.yml +4 -4
- data/lib/starter_web/_data/modules/carousel.yml +4 -4
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masonry.yml +9 -0
- data/lib/starter_web/_data/modules/defaults/slick.yml +10 -1
- data/lib/starter_web/_data/modules/masonry.yml +68 -1
- data/lib/starter_web/_data/modules/masterslider.yml +4 -4
- data/lib/starter_web/_data/modules/slick.yml +66 -5
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/collections/_fantasy/{terry-pratchet-diary-2017.adoc → terry-pratchet-diary.adoc} +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcbf50d4b49f1e3b06ad10b84e19252817683798fbb9c0aab00737a339a5e861
|
|
4
|
+
data.tar.gz: 64c367576dd758a510de24d94431cd93fa9d59540b8cdecc6e3b67a8b7115b3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ddce5f497bc4444e065f71a0ea71f75899149954d951685730d5df6cf3b03b0a08516afe696d93edd68642809b8a09bcccf5f9fa1b71636a6ef6d95994cf4467
|
|
7
|
+
data.tar.gz: '08da2f5079b22fab8d1b070d1a91ea53832247c7dc781262bc9f0fb1c0d2f8d25e1ca681c8c619c7f6e7c250706eb77e3ba52e9f0fd7faa3212dbf2b2c1165d0'
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
{% comment %} Load additional fonts from remote
|
|
202
202
|
-------------------------------------------------------------------------------- {% endcomment %}
|
|
203
203
|
<!-- Google fonts -->
|
|
204
|
-
|
|
204
|
+
<!-- link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700" / -->
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
{% comment %} J1 SEO processing
|
data/assets/data/banner.html
CHANGED
|
@@ -259,8 +259,8 @@ exclude_from_search: true
|
|
|
259
259
|
<img
|
|
260
260
|
class="sticker-image"
|
|
261
261
|
src="/assets/images/sticker/600x600/sticker-new-version.png"
|
|
262
|
-
alt="Get new version 2023.2.
|
|
263
|
-
title="Get new version 2023.2.
|
|
262
|
+
alt="Get new version 2023.2.2"
|
|
263
|
+
title="Get new version 2023.2.2"
|
|
264
264
|
style="width: 140px; height: 120px;"
|
|
265
265
|
>
|
|
266
266
|
</a>
|
data/assets/data/masonry.html
CHANGED
|
@@ -101,7 +101,6 @@ exclude_from_search: true
|
|
|
101
101
|
<!-- Collect posts only if group matches -->
|
|
102
102
|
{% for post in site.posts %} {% if post.group contains grid.group %}
|
|
103
103
|
|
|
104
|
-
|
|
105
104
|
{% if grid.translate_links %}
|
|
106
105
|
{% assign translate = "" %}
|
|
107
106
|
{% else %}
|
|
@@ -114,11 +113,25 @@ exclude_from_search: true
|
|
|
114
113
|
{% assign target = "" %}
|
|
115
114
|
{% endif %}
|
|
116
115
|
|
|
116
|
+
{% comment %} Collect CSS image filters
|
|
117
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
118
|
+
{% assign css_filters = masonry_options.filters | merge: grid.filters %}
|
|
119
|
+
{% assign image_filters = 'filter:' %}
|
|
120
|
+
|
|
121
|
+
{% if css_filters.enabled %}
|
|
122
|
+
{% for filter in css_filters %}
|
|
123
|
+
{% if filter[0] contains 'enabled' %}
|
|
124
|
+
{% continue %}
|
|
125
|
+
{% endif %}
|
|
126
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
127
|
+
{% endfor %}
|
|
128
|
+
{% endif %}
|
|
129
|
+
|
|
117
130
|
<!-- resposive items: 3-2-1 -->
|
|
118
131
|
<div class="col-xl-{{masonry_options.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
|
119
132
|
|
|
120
133
|
<article class="card bg-dark text-center text-white border-0 rounded-0 bottom">
|
|
121
|
-
<img class="card-img {{grid.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="
|
|
134
|
+
<img class="card-img {{grid.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="{{image_filters}}; height: {{grid.image_height}};">
|
|
122
135
|
<div class="card-content mt-5">
|
|
123
136
|
|
|
124
137
|
{% if post %}
|
|
@@ -204,6 +217,20 @@ exclude_from_search: true
|
|
|
204
217
|
{% assign gutter = 0 %}
|
|
205
218
|
{% endif %}
|
|
206
219
|
|
|
220
|
+
{% comment %} Collect CSS image filters
|
|
221
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
222
|
+
{% assign css_filters = masonry_options.filters | merge: grid.filters %}
|
|
223
|
+
{% assign image_filters = 'filter:' %}
|
|
224
|
+
|
|
225
|
+
{% if css_filters.enabled %}
|
|
226
|
+
{% for filter in css_filters %}
|
|
227
|
+
{% if filter[0] contains 'enabled' %}
|
|
228
|
+
{% continue %}
|
|
229
|
+
{% endif %}
|
|
230
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
231
|
+
{% endfor %}
|
|
232
|
+
{% endif %}
|
|
233
|
+
|
|
207
234
|
{% for article in articles %}
|
|
208
235
|
<div class="col-xl-{{masonry_options.responsive.xl}} col-lg-{{masonry_options.responsive.lg}} col-md-{{masonry_options.responsive.md}} col-sm-{{masonry_options.responsive.sm}} col-{{masonry_options.responsive.xs}} px-{{gutter}} py-{{gutter}}">
|
|
209
236
|
<!-- Article item -->
|
|
@@ -215,11 +242,10 @@ exclude_from_search: true
|
|
|
215
242
|
<i class="mdi mdi-plus mdi-10x"></i>
|
|
216
243
|
</div>
|
|
217
244
|
</div>
|
|
218
|
-
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="height: {{grid.image_height}}; width: {{grid.image_width}}">
|
|
245
|
+
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="{{image_filters}}; height: {{grid.image_height}}; width: {{grid.image_width}}">
|
|
219
246
|
</a>
|
|
220
247
|
{% else %}
|
|
221
|
-
|
|
222
|
-
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="height: {{grid.image_height}}; width: {{grid.image_width}}">
|
|
248
|
+
<img class="{{grid.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="{{image_filters}}; height: {{grid.image_height}}; width: {{grid.image_width}}">
|
|
223
249
|
{% endif %}
|
|
224
250
|
<div class="article-caption">
|
|
225
251
|
<div class="article-caption-heading">
|
|
@@ -295,6 +321,20 @@ exclude_from_search: true
|
|
|
295
321
|
{% assign gutter = 0 %}
|
|
296
322
|
{% endif %}
|
|
297
323
|
|
|
324
|
+
{% comment %} Collect CSS image filters
|
|
325
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
326
|
+
{% assign css_filters = masonry_options.filters | merge: grid.filters %}
|
|
327
|
+
{% assign image_filters = 'filter:' %}
|
|
328
|
+
|
|
329
|
+
{% if css_filters.enabled %}
|
|
330
|
+
{% for filter in css_filters %}
|
|
331
|
+
{% if filter[0] contains 'enabled' %}
|
|
332
|
+
{% continue %}
|
|
333
|
+
{% endif %}
|
|
334
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
335
|
+
{% endfor %}
|
|
336
|
+
{% endif %}
|
|
337
|
+
|
|
298
338
|
<!-- Card Image Grid -->
|
|
299
339
|
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
|
300
340
|
{% for image in grid.images %}
|
|
@@ -306,7 +346,7 @@ exclude_from_search: true
|
|
|
306
346
|
data-lightbox="{{grid.id}}-image-group"
|
|
307
347
|
data-caption="{{image.caption}}"
|
|
308
348
|
data-title="{{image.caption}}">
|
|
309
|
-
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}" style="height: {{grid.image_height}}">
|
|
349
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}" style="{{image_filters}}; height: {{grid.image_height}}">
|
|
310
350
|
</a>
|
|
311
351
|
{% if grid.caption.enabled %}
|
|
312
352
|
<div class="caption">{{image.caption}}</div>
|
|
@@ -337,6 +377,20 @@ exclude_from_search: true
|
|
|
337
377
|
{% assign gutter = 0 %}
|
|
338
378
|
{% endif %}
|
|
339
379
|
|
|
380
|
+
{% comment %} Collect CSS image filters
|
|
381
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
382
|
+
{% assign css_filters = masonry_options.filters | merge: grid.filters %}
|
|
383
|
+
{% assign image_filters = 'filter:' %}
|
|
384
|
+
|
|
385
|
+
{% if css_filters.enabled %}
|
|
386
|
+
{% for filter in css_filters %}
|
|
387
|
+
{% if filter[0] contains 'enabled' %}
|
|
388
|
+
{% continue %}
|
|
389
|
+
{% endif %}
|
|
390
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
391
|
+
{% endfor %}
|
|
392
|
+
{% endif %}
|
|
393
|
+
|
|
340
394
|
<!-- Image Grid -->
|
|
341
395
|
<div id="{{grid.id}}" class="row {{grid.id | replace: '_','-' }} g-0">
|
|
342
396
|
{% for image in grid.images %}
|
|
@@ -346,9 +400,9 @@ exclude_from_search: true
|
|
|
346
400
|
<a href="{{grid.image_base_path}}/{{image.file}}"
|
|
347
401
|
data-lightbox="{{grid.id}}-image-group"
|
|
348
402
|
data-caption="{{image.caption}}"
|
|
403
|
+
data-containerStyle="{{image_filters}}"
|
|
349
404
|
data-title="{{image.caption}}">
|
|
350
|
-
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}">
|
|
351
|
-
{% if grid.caption.enabled %}
|
|
405
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}" style="{{image_filters}}"> {% if grid.caption.enabled %}
|
|
352
406
|
{% if grid.gutters and grid.caption.position == 'top' %}
|
|
353
407
|
<div class="caption" style="top: calc(2px + {{gutter}}*4px - {{gutter}}px); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
|
354
408
|
{% elsif grid.gutters and grid.caption.position == 'center' %}
|
|
@@ -363,7 +417,7 @@ exclude_from_search: true
|
|
|
363
417
|
</div>
|
|
364
418
|
{% else %}
|
|
365
419
|
<div class="{{grid.caption.position}}">
|
|
366
|
-
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}">
|
|
420
|
+
<img id="{{forloop.index}}" class="{{grid.image_styles}}" src="{{grid.image_base_path}}/{{image.file}}" alt="{{image.caption}}" style="{{image_filters}}">
|
|
367
421
|
{% if grid.caption.enabled %}
|
|
368
422
|
{% if grid.gutters and grid.caption.position == 'top' %}
|
|
369
423
|
<div class="caption" style="top: calc(2px + {{gutter}}*4px - {{gutter}}px); width: calc(100% - {{gutter}}*3%);">{{image.caption}}</div>
|
data/assets/data/slick.html
CHANGED
|
@@ -80,7 +80,7 @@ exclude_from_search: true
|
|
|
80
80
|
|
|
81
81
|
{% comment %} Set Carousel defaults
|
|
82
82
|
{% assign carousel.lightbox.enabled = false %}
|
|
83
|
-
|
|
83
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
|
84
84
|
|
|
85
85
|
{% comment %} Generate HTML portion for all sliders (enabled)
|
|
86
86
|
------------------------------------------------------------------------------ {% endcomment %}
|
|
@@ -120,10 +120,24 @@ exclude_from_search: true
|
|
|
120
120
|
{% assign target = "" %}
|
|
121
121
|
{% endif %}
|
|
122
122
|
|
|
123
|
+
{% comment %} Collect CSS image filters
|
|
124
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
125
|
+
{% assign css_filters = carousel_defaults.filters | merge: carousel.filters %}
|
|
126
|
+
{% assign image_filters = 'filter:' %}
|
|
127
|
+
|
|
128
|
+
{% if css_filters.enabled %}
|
|
129
|
+
{% for filter in css_filters %}
|
|
130
|
+
{% if filter[0] contains 'enabled' %}
|
|
131
|
+
{% continue %}
|
|
132
|
+
{% endif %}
|
|
133
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
134
|
+
{% endfor %}
|
|
135
|
+
{% endif %}
|
|
136
|
+
|
|
123
137
|
<!-- Article slide -->
|
|
124
138
|
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
|
125
139
|
<div id="{{article.title | downcase | replace: ' ' ,'_'}}" class="card bottom">
|
|
126
|
-
<img class="{{carousel.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}"
|
|
140
|
+
<img class="{{carousel.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" style="{{image_filters}}; height: {{carousel.image_height}};">
|
|
127
141
|
<!-- Article link (caption) -->
|
|
128
142
|
<div class="caption">
|
|
129
143
|
<a class="article-link {{translate}}"
|
|
@@ -164,10 +178,25 @@ exclude_from_search: true
|
|
|
164
178
|
{% assign target = "" %}
|
|
165
179
|
{% endif %}
|
|
166
180
|
|
|
181
|
+
{% comment %} Collect CSS image filters
|
|
182
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
183
|
+
{% assign css_filters = carousel_defaults.filters | merge: carousel.filters %}
|
|
184
|
+
{% assign image_filters = 'filter:' %}
|
|
185
|
+
|
|
186
|
+
{% if css_filters.enabled %}
|
|
187
|
+
{% for filter in css_filters %}
|
|
188
|
+
{% if filter[0] contains 'enabled' %}
|
|
189
|
+
{% continue %}
|
|
190
|
+
{% endif %}
|
|
191
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
192
|
+
{% endfor %}
|
|
193
|
+
{% endif %}
|
|
194
|
+
|
|
167
195
|
<!-- Collect data only if group matches -->
|
|
168
196
|
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
|
169
197
|
<article class="card bg-dark text-center text-white border-0 rounded-0 bottom">
|
|
170
|
-
|
|
198
|
+
<!-- class="card-img {{carousel.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: contrast(1) brightness(0.5); height: {{carousel.image_height}}; witdth: {{carousel.image_witdth}}" -->
|
|
199
|
+
<img class="card-img {{carousel.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="{{image_filters}}; height: {{carousel.image_height}};">
|
|
171
200
|
|
|
172
201
|
<div class="card-img-overlay">
|
|
173
202
|
<div class="card-content mt-4">
|
|
@@ -248,6 +277,20 @@ exclude_from_search: true
|
|
|
248
277
|
---------------------------------------------------------------------------- {% endcomment %}
|
|
249
278
|
{% if carousel.type == 'image' %}
|
|
250
279
|
|
|
280
|
+
{% comment %} Collect CSS image filters
|
|
281
|
+
------------------------------------------------------------------------ {% endcomment %}
|
|
282
|
+
{% assign css_filters = carousel_defaults.filters | merge: carousel.filters %}
|
|
283
|
+
{% assign image_filters = 'filter:' %}
|
|
284
|
+
|
|
285
|
+
{% if css_filters.enabled %}
|
|
286
|
+
{% for filter in css_filters %}
|
|
287
|
+
{% if filter[0] contains 'enabled' %}
|
|
288
|
+
{% continue %}
|
|
289
|
+
{% endif %}
|
|
290
|
+
{% capture image_filters %}{{image_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
|
|
291
|
+
{% endfor %}
|
|
292
|
+
{% endif %}
|
|
293
|
+
|
|
251
294
|
<!-- Image slider -->
|
|
252
295
|
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
|
253
296
|
{% for slide in carousel.slides %}
|
|
@@ -255,13 +298,13 @@ exclude_from_search: true
|
|
|
255
298
|
<div class="card {{carousel.captions.position}}">
|
|
256
299
|
{% if carousel.lightbox.enabled %}
|
|
257
300
|
<a class="card-link" href="{{carousel.image_base_path}}/{{slide.image}}" data-caption="{{slide.caption}}" target="_blank">
|
|
258
|
-
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
|
301
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="{{image_filters}}; height: {{carousel.image_height}};">
|
|
259
302
|
</a>
|
|
260
303
|
{% if carousel.captions.enabled %}
|
|
261
304
|
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
|
262
305
|
{% endif %}
|
|
263
306
|
{% else %}
|
|
264
|
-
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
|
307
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="{{image_filters}}; height: {{carousel.image_height}};"">
|
|
265
308
|
{% if carousel.captions.enabled %}
|
|
266
309
|
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
|
267
310
|
{% endif %}
|
|
@@ -90,7 +90,7 @@ j1.adapter.lightbox = (function (j1, window) {
|
|
|
90
90
|
var lightboxDefaults;
|
|
91
91
|
var lightboxSettings;
|
|
92
92
|
var lightboxOptions;
|
|
93
|
-
var frontmatterOptions;
|
|
93
|
+
var frontmatterOptions;
|
|
94
94
|
var _this;
|
|
95
95
|
var logger;
|
|
96
96
|
var logText;
|
|
@@ -132,7 +132,9 @@ j1.adapter.lightbox = (function (j1, window) {
|
|
|
132
132
|
lightboxOptions = $.extend(true, {}, lightboxDefaults, lightboxSettings, frontmatterOptions);
|
|
133
133
|
|
|
134
134
|
var dependencies_met_j1_finished = setInterval(function() {
|
|
135
|
-
|
|
135
|
+
var pageState = $('#no_flicker').css("display");
|
|
136
|
+
var pageVisible = (pageState == 'block') ? true: false;
|
|
137
|
+
if (j1.getState() == 'finished' && pageVisible) {
|
|
136
138
|
|
|
137
139
|
_this.setState('started');
|
|
138
140
|
logger.debug('\n' + 'state: ' + _this.getState());
|
|
@@ -153,13 +155,31 @@ j1.adapter.lightbox = (function (j1, window) {
|
|
|
153
155
|
wrapAround: lightboxOptions.wrapAround
|
|
154
156
|
});
|
|
155
157
|
|
|
156
|
-
_this.setState('finished');
|
|
157
|
-
logger.debug('\n' + 'state: ' + _this.getState());
|
|
158
|
-
logger.info('\n' + 'initializing module finished');
|
|
158
|
+
// _this.setState('finished');
|
|
159
|
+
// logger.debug('\n' + 'state: ' + _this.getState());
|
|
160
|
+
// logger.info('\n' + 'initializing module finished');
|
|
159
161
|
|
|
160
162
|
clearInterval(dependencies_met_j1_finished);
|
|
161
163
|
} // END dependencies_met_j1_finished
|
|
162
164
|
}, 25);
|
|
165
|
+
|
|
166
|
+
// jadams, 2023-05-07: place CSS styles in GENERAL on a LIGHTBOX V2 doesn't help.
|
|
167
|
+
// a lightbox shoud restpect the individual IMAGE styles
|
|
168
|
+
// FixMe:
|
|
169
|
+
//
|
|
170
|
+
var dependencies_met_lb_v2_finished = setInterval(function() {
|
|
171
|
+
var lb_v2 = $('#lightbox').length;
|
|
172
|
+
if (lb_v2) {
|
|
173
|
+
_this.setState('finished');
|
|
174
|
+
logger.debug('\n' + 'state: ' + _this.getState());
|
|
175
|
+
logger.info('\n' + 'initializing module finished');
|
|
176
|
+
|
|
177
|
+
// $('#lightbox').css("filter: grayscale(0.8) contrast(0.8) brightness(0.7) sepia(1)");
|
|
178
|
+
|
|
179
|
+
clearInterval(dependencies_met_lb_v2_finished);
|
|
180
|
+
}
|
|
181
|
+
}, 25); // END dependencies_met_lb_v2_finished
|
|
182
|
+
|
|
163
183
|
}, // END init lightbox
|
|
164
184
|
|
|
165
185
|
// -------------------------------------------------------------------------
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/README.md
CHANGED
|
@@ -379,7 +379,7 @@ This command creates a **initial** project in folder **my-starter**.
|
|
|
379
379
|
2023-02-28 18:12:12 - GENERATE: Resolving dependencies...
|
|
380
380
|
2023-02-28 18:12:12 - GENERATE: Using bundler 2.3.7
|
|
381
381
|
...
|
|
382
|
-
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.2.
|
|
382
|
+
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.2.2
|
|
383
383
|
2023-02-28 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
|
384
384
|
2023-02-28 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
|
|
385
385
|
2023-02-28 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
|
|
@@ -415,7 +415,7 @@ commands are available as well.
|
|
|
415
415
|
2023-02-28 18:17:48 - SETUP: Initialize the project ...
|
|
416
416
|
2023-02-28 18:17:48 - SETUP: Be patient, this will take a while ...
|
|
417
417
|
2023-02-28 18:17:49 - SETUP:
|
|
418
|
-
2023-02-28 18:17:49 - SETUP: > j1@2023.2.
|
|
418
|
+
2023-02-28 18:17:49 - SETUP: > j1@2023.2.2 setup C:\Users\xxx\j1-projects\my-starter
|
|
419
419
|
2023-02-28 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
|
|
420
420
|
2023-02-28 18:17:49 - SETUP:
|
|
421
421
|
2023-02-28 18:17:50 - SETUP: Setup project for first use ..
|
|
@@ -460,7 +460,7 @@ browser. Let's start the journey ...
|
|
|
460
460
|
Check setup state of the J1 project ...
|
|
461
461
|
2023-02-28 18:26:18 - SITE: Starting up your site ...
|
|
462
462
|
2023-02-28 18:26:18 - SITE:
|
|
463
|
-
2023-02-28 18:26:18 - SITE: > j1@2023.2.
|
|
463
|
+
2023-02-28 18:26:18 - SITE: > j1@2023.2.2 j1-site C:\Users\jadams\j1-projects\my-starter
|
|
464
464
|
2023-02-28 18:26:18 - SITE: > run-p -s j1-site:*
|
|
465
465
|
2023-02-28 18:26:18 - SITE:
|
|
466
466
|
2023-02-28 18:26:20 - SITE: Startup UTILSRV ..
|
|
@@ -499,7 +499,7 @@ Check setup state of the J1 project ...
|
|
|
499
499
|
REBUILD: Rebuild the projects website ...
|
|
500
500
|
REBUILD: Be patient, this will take a while ...
|
|
501
501
|
2023-02-28 18:45:09 - REBUILD:
|
|
502
|
-
2023-02-28 18:45:09 - REBUILD: > j1@2023.2.
|
|
502
|
+
2023-02-28 18:45:09 - REBUILD: > j1@2023.2.2 rebuild C:\Users\xxx\j1-projects\my-starter
|
|
503
503
|
2023-02-28 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
|
|
504
504
|
2023-02-28 18:45:09 - REBUILD:
|
|
505
505
|
2023-02-28 18:45:10 - REBUILD: Rebuild site incremental ..
|
|
@@ -547,7 +547,7 @@ using Lerna for all packages:
|
|
|
547
547
|
2023-02-28 18:29:07 - RESET: Reset the project to factory state ...
|
|
548
548
|
2023-02-28 18:29:07 - RESET: Be patient, this will take a while ...
|
|
549
549
|
2023-02-28 18:29:08 - RESET:
|
|
550
|
-
2023-02-28 18:29:08 - RESET: > j1@2023.2.
|
|
550
|
+
2023-02-28 18:29:08 - RESET: > j1@2023.2.2 reset C:\Users\xxx\j1-projects\my-starter
|
|
551
551
|
2023-02-28 18:29:08 - RESET: > run-s -s reset:*
|
|
552
552
|
2023-02-28 18:29:08 - RESET:
|
|
553
553
|
2023-02-28 18:29:08 - RESET: Reset project to factory state ..
|
data/lib/starter_web/_config.yml
CHANGED
|
@@ -53,7 +53,7 @@ environment: development
|
|
|
53
53
|
# ------------------------------------------------------------------------------
|
|
54
54
|
# Sets the build version of the site
|
|
55
55
|
#
|
|
56
|
-
version: 2023.2.
|
|
56
|
+
version: 2023.2.2
|
|
57
57
|
|
|
58
58
|
# copyright
|
|
59
59
|
# ------------------------------------------------------------------------------
|
|
@@ -74,19 +74,19 @@ settings:
|
|
|
74
74
|
href: https://github.com/jekyll-one/j1-starter
|
|
75
75
|
facebook:
|
|
76
76
|
enabled: true
|
|
77
|
-
href: "#
|
|
77
|
+
href: "#"
|
|
78
78
|
# href: https://www.facebook.com/<your_profile>/
|
|
79
79
|
twitter:
|
|
80
80
|
enabled: true
|
|
81
|
-
href: "#
|
|
81
|
+
href: "#"
|
|
82
82
|
# href: https://twitter.com/<your_profile>/
|
|
83
83
|
xing:
|
|
84
84
|
enabled: true
|
|
85
|
-
href: "#
|
|
85
|
+
href: "#"
|
|
86
86
|
# href: https://www.xing.com/profile/<your_profile>/
|
|
87
87
|
linkedin:
|
|
88
88
|
enabled: true
|
|
89
|
-
href: "#
|
|
89
|
+
href: "#"
|
|
90
90
|
# href: https://www.linkedin.com/in/<your_profile>/
|
|
91
91
|
|
|
92
92
|
# ----------------------------------------------------------------------
|
|
@@ -237,8 +237,8 @@ settings:
|
|
|
237
237
|
cat-3.jpg, cat-4.jpg
|
|
238
238
|
]
|
|
239
239
|
links: [
|
|
240
|
-
"#
|
|
241
|
-
"#
|
|
240
|
+
"#", "#",
|
|
241
|
+
"#", "#"
|
|
242
242
|
]
|
|
243
243
|
lb_caption: [
|
|
244
244
|
"You see cat #1",
|
|
@@ -273,8 +273,8 @@ settings:
|
|
|
273
273
|
thomas-tucker_b.jpg
|
|
274
274
|
]
|
|
275
275
|
links: [
|
|
276
|
-
"#
|
|
277
|
-
"#
|
|
276
|
+
"#", "#", "#", "#",
|
|
277
|
+
"#", "#", "#", "#"
|
|
278
278
|
]
|
|
279
279
|
options:
|
|
280
280
|
autoPlay: 3000
|
|
@@ -60,6 +60,15 @@ defaults:
|
|
|
60
60
|
lg: 4 # viewport: ≥ 992px, 3 colum|s
|
|
61
61
|
xl: 3 # viewport: ≥ 1200px, 4 colum|s
|
|
62
62
|
|
|
63
|
+
# ----------------------------------------------------------------------------
|
|
64
|
+
# CSS filter options
|
|
65
|
+
#
|
|
66
|
+
filters:
|
|
67
|
+
enabled: false
|
|
68
|
+
grayscale: 1
|
|
69
|
+
contrast: 1
|
|
70
|
+
brightness: 1
|
|
71
|
+
|
|
63
72
|
# ----------------------------------------------------------------------------
|
|
64
73
|
# AJAX (HTML)
|
|
65
74
|
#
|
|
@@ -56,7 +56,7 @@ defaults:
|
|
|
56
56
|
xhr_data_path: /assets/data/slick
|
|
57
57
|
|
|
58
58
|
# ----------------------------------------------------------------------------
|
|
59
|
-
# Lightbox options
|
|
59
|
+
# Lightbox options (Slick Ligghtbox)
|
|
60
60
|
# ----------------------------------------------------------------------------
|
|
61
61
|
lightbox:
|
|
62
62
|
enabled: false
|
|
@@ -71,6 +71,15 @@ defaults:
|
|
|
71
71
|
imageMaxHeight: 0.9
|
|
72
72
|
lazy: false
|
|
73
73
|
|
|
74
|
+
# ----------------------------------------------------------------------------
|
|
75
|
+
# CSS filter options
|
|
76
|
+
# ----------------------------------------------------------------------------
|
|
77
|
+
filters:
|
|
78
|
+
enabled: false
|
|
79
|
+
grayscale: 1
|
|
80
|
+
contrast: 1
|
|
81
|
+
brightness: 1
|
|
82
|
+
|
|
74
83
|
# ----------------------------------------------------------------------------
|
|
75
84
|
# Slider options
|
|
76
85
|
#
|
|
@@ -42,7 +42,6 @@ settings:
|
|
|
42
42
|
gutters: true
|
|
43
43
|
image_styles: img-fluid img-object--cover
|
|
44
44
|
image_height: 300px
|
|
45
|
-
image_width: 300px
|
|
46
45
|
translate_links: false # default: false
|
|
47
46
|
link_new_window: true # default: false
|
|
48
47
|
|
|
@@ -337,5 +336,73 @@ settings:
|
|
|
337
336
|
file: gints-gailis_b.jpg
|
|
338
337
|
caption: Shangri-La Hotel Jakarta - Indonesia
|
|
339
338
|
|
|
339
|
+
# --------------------------------------------------------------------------
|
|
340
|
+
# Image Grid + Lightbox + Gutters + Captions + Filters
|
|
341
|
+
#
|
|
342
|
+
- grid:
|
|
343
|
+
enabled: true
|
|
344
|
+
|
|
345
|
+
id: image_grid_full_example_filters
|
|
346
|
+
type: image
|
|
347
|
+
image_base_path: /assets/images/modules/gallery/mega_cities
|
|
348
|
+
image_styles: img-fluid
|
|
349
|
+
lightbox: true
|
|
350
|
+
gutters: true
|
|
351
|
+
|
|
352
|
+
# ------------------------------------------------------------------------
|
|
353
|
+
# Caption options
|
|
354
|
+
#
|
|
355
|
+
caption:
|
|
356
|
+
enabled: true
|
|
357
|
+
position: bottom # top|bottom|center
|
|
358
|
+
|
|
359
|
+
# ------------------------------------------------------------------------
|
|
360
|
+
# CSS filter options (Sepia)
|
|
361
|
+
#
|
|
362
|
+
filters:
|
|
363
|
+
enabled: true
|
|
364
|
+
grayscale: 0.8
|
|
365
|
+
contrast: 0.8
|
|
366
|
+
brightness: 0.7
|
|
367
|
+
sepia: 1
|
|
368
|
+
|
|
369
|
+
# ------------------------------------------------------------------------
|
|
370
|
+
# Masonry options
|
|
371
|
+
#
|
|
372
|
+
options:
|
|
373
|
+
originTop: true
|
|
374
|
+
originLeft: true
|
|
375
|
+
initLayout: true
|
|
376
|
+
percentPosition: true
|
|
377
|
+
|
|
378
|
+
# ------------------------------------------------------------------------
|
|
379
|
+
# Images
|
|
380
|
+
#
|
|
381
|
+
images:
|
|
382
|
+
|
|
383
|
+
- image: # image 1
|
|
384
|
+
file: denys-nevozhai-1_b.jpg
|
|
385
|
+
caption: Man posing at the rooftop of Jin Mao Tower Shanghai - China
|
|
386
|
+
|
|
387
|
+
- image: # image 2
|
|
388
|
+
file: thomas-tucker_b.jpg
|
|
389
|
+
caption: Sunset over Taipei City - Taiwan
|
|
390
|
+
|
|
391
|
+
- image: # image 3
|
|
392
|
+
file: emmad-mazhari_b.jpg
|
|
393
|
+
caption: Chicago - United States
|
|
394
|
+
|
|
395
|
+
- image: # image 4
|
|
396
|
+
file: johan-mouchet_b.jpg
|
|
397
|
+
caption: The Queen Bee at the Eureka Tower - Melbourne Southbank Australia
|
|
398
|
+
|
|
399
|
+
- image: # image 5
|
|
400
|
+
file: federico-rizzarelli_b.jpg
|
|
401
|
+
caption: Shanghai - China
|
|
402
|
+
|
|
403
|
+
- image: # image 6
|
|
404
|
+
file: gints-gailis_b.jpg
|
|
405
|
+
caption: Shangri-La Hotel Jakarta - Indonesia
|
|
406
|
+
|
|
340
407
|
# ------------------------------------------------------------------------------
|
|
341
408
|
# END config
|
|
@@ -856,7 +856,7 @@ settings:
|
|
|
856
856
|
margin: mt-4
|
|
857
857
|
animated: fadeInRight
|
|
858
858
|
class: btn btn-primary btn-sm
|
|
859
|
-
link: '#
|
|
859
|
+
link: '#'
|
|
860
860
|
text: Read More
|
|
861
861
|
|
|
862
862
|
# slide 2
|
|
@@ -888,7 +888,7 @@ settings:
|
|
|
888
888
|
margin: mt-4
|
|
889
889
|
animated: fadeInRight
|
|
890
890
|
class: btn btn-primary btn-sm
|
|
891
|
-
link: '#
|
|
891
|
+
link: '#'
|
|
892
892
|
text: Read More
|
|
893
893
|
|
|
894
894
|
# slide 3
|
|
@@ -920,7 +920,7 @@ settings:
|
|
|
920
920
|
margin: mt-4
|
|
921
921
|
animated: fadeInRight
|
|
922
922
|
class: btn btn-primary btn-sm
|
|
923
|
-
link: '#
|
|
923
|
+
link: '#'
|
|
924
924
|
text: Read More
|
|
925
925
|
|
|
926
926
|
# slide 4
|
|
@@ -952,7 +952,7 @@ settings:
|
|
|
952
952
|
margin: mt-4
|
|
953
953
|
animated: fadeInRight
|
|
954
954
|
class: btn btn-primary btn-sm
|
|
955
|
-
link: '#
|
|
955
|
+
link: '#'
|
|
956
956
|
text: Read More
|
|
957
957
|
|
|
958
958
|
|
|
@@ -56,7 +56,8 @@ settings:
|
|
|
56
56
|
collection: portfolio # generate grid elements (articles) for the collection specified
|
|
57
57
|
translate_links: false # default: false
|
|
58
58
|
link_new_window: true # default: false
|
|
59
|
-
image_styles: img-fluid img-object--cover
|
|
59
|
+
image_styles: img-fluid img-object--cover
|
|
60
|
+
image_height: 500px
|
|
60
61
|
|
|
61
62
|
# ------------------------------------------------------------------------
|
|
62
63
|
# Carousel options
|
|
@@ -102,7 +103,8 @@ settings:
|
|
|
102
103
|
collection: biography # generate grid elements (articles) for the collection specified
|
|
103
104
|
translate_links: false # default: false
|
|
104
105
|
link_new_window: true # default: false
|
|
105
|
-
image_styles: img-fluid img-object--cover
|
|
106
|
+
image_styles: img-fluid img-object--cover
|
|
107
|
+
image_height: 500px
|
|
106
108
|
|
|
107
109
|
# ------------------------------------------------------------------------
|
|
108
110
|
# Carousel options
|
|
@@ -148,7 +150,8 @@ settings:
|
|
|
148
150
|
collection: fantasy # generate grid elements (articles) for the collection specified
|
|
149
151
|
translate_links: false # default: false
|
|
150
152
|
link_new_window: true # default: false
|
|
151
|
-
image_styles: img-fluid img-object--cover
|
|
153
|
+
image_styles: img-fluid img-object--cover
|
|
154
|
+
image_height: 500px
|
|
152
155
|
|
|
153
156
|
# ------------------------------------------------------------------------
|
|
154
157
|
# Carousel options
|
|
@@ -194,7 +197,8 @@ settings:
|
|
|
194
197
|
collection: romance # generate grid elements (articles) for the collection specified
|
|
195
198
|
translate_links: false # default: false
|
|
196
199
|
link_new_window: true # default: false
|
|
197
|
-
image_styles: img-fluid img-object--cover
|
|
200
|
+
image_styles: img-fluid img-object--cover
|
|
201
|
+
image_height: 500px
|
|
198
202
|
|
|
199
203
|
# ------------------------------------------------------------------------
|
|
200
204
|
# Carousel options
|
|
@@ -275,6 +279,63 @@ settings:
|
|
|
275
279
|
slidesToShow: 1
|
|
276
280
|
slidesToScroll: 1
|
|
277
281
|
|
|
282
|
+
# --------------------------------------------------------------------------
|
|
283
|
+
# POST Carousel (Life | Sepia)
|
|
284
|
+
#
|
|
285
|
+
- carousel:
|
|
286
|
+
enabled: true
|
|
287
|
+
|
|
288
|
+
id: post_carousel_life_sepia
|
|
289
|
+
type: post
|
|
290
|
+
gutters: 1 # 0 .. 5
|
|
291
|
+
group: Life # generate slides only for group (specified in article/post)
|
|
292
|
+
image_styles: img-fluid img-object--cover
|
|
293
|
+
image_height: 300px
|
|
294
|
+
translate_links: false # default: false
|
|
295
|
+
link_new_window: true # default: false
|
|
296
|
+
|
|
297
|
+
# ------------------------------------------------------------------------
|
|
298
|
+
# CSS filter options
|
|
299
|
+
#
|
|
300
|
+
filters:
|
|
301
|
+
enabled: true
|
|
302
|
+
grayscale: 0.8
|
|
303
|
+
contrast: 0.8
|
|
304
|
+
brightness: 0.7
|
|
305
|
+
sepia: 1
|
|
306
|
+
|
|
307
|
+
# ------------------------------------------------------------------------
|
|
308
|
+
# Carousel options
|
|
309
|
+
#
|
|
310
|
+
options:
|
|
311
|
+
autoplay: false
|
|
312
|
+
arrows: true
|
|
313
|
+
dots: true
|
|
314
|
+
slidesToShow: 3
|
|
315
|
+
slidesToScroll: 1
|
|
316
|
+
responsive: true # enables reponsive options to generate breakpoint properties for slick()
|
|
317
|
+
|
|
318
|
+
# ------------------------------------------------------------------------
|
|
319
|
+
# Reponsive options
|
|
320
|
+
#
|
|
321
|
+
responsive:
|
|
322
|
+
- breakpoint:
|
|
323
|
+
settings:
|
|
324
|
+
breakOn: 1024
|
|
325
|
+
slidesToShow: 2
|
|
326
|
+
slidesToScroll: 2
|
|
327
|
+
- breakpoint:
|
|
328
|
+
settings:
|
|
329
|
+
breakOn: 600
|
|
330
|
+
slidesToShow: 1
|
|
331
|
+
slidesToScroll: 1
|
|
332
|
+
dots: true
|
|
333
|
+
- breakpoint:
|
|
334
|
+
settings:
|
|
335
|
+
breakOn: 480
|
|
336
|
+
slidesToShow: 1
|
|
337
|
+
slidesToScroll: 1
|
|
338
|
+
|
|
278
339
|
# --------------------------------------------------------------------------
|
|
279
340
|
# EXAMPLE Carousel
|
|
280
341
|
#
|
|
@@ -285,7 +346,7 @@ settings:
|
|
|
285
346
|
type: example
|
|
286
347
|
gutters: 1
|
|
287
348
|
style: h3
|
|
288
|
-
height:
|
|
349
|
+
height: 200px
|
|
289
350
|
slides: 9
|
|
290
351
|
|
|
291
352
|
# ------------------------------------------------------------------------
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<id>{{ page.url | absolute_url | xml_escape }}</id>
|
|
58
58
|
<post_limited>{{ limit_posts }}</post_limited>
|
|
59
59
|
<template_name>J1 Theme</template_name>
|
|
60
|
-
<template_version>2023.2.
|
|
60
|
+
<template_version>2023.2.2</template_version>
|
|
61
61
|
|
|
62
62
|
{% assign title = site.title | default: site.name %}
|
|
63
63
|
{% if page.collection != "posts" %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: j1-template
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2023.2.
|
|
4
|
+
version: 2023.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- juergen_jekyll_one
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -2524,7 +2524,7 @@ files:
|
|
|
2524
2524
|
- lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc
|
|
2525
2525
|
- lib/starter_web/collections/_fantasy/ready-player-one.adoc
|
|
2526
2526
|
- lib/starter_web/collections/_fantasy/sword-of-destiny.adoc
|
|
2527
|
-
- lib/starter_web/collections/_fantasy/terry-pratchet-diary
|
|
2527
|
+
- lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc
|
|
2528
2528
|
- lib/starter_web/collections/_people/diana-petersen.adoc
|
|
2529
2529
|
- lib/starter_web/collections/_people/larry-parker.adoc
|
|
2530
2530
|
- lib/starter_web/collections/_people/parveen-anand.adoc
|