j1-template 2024.3.27 → 2024.3.28
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/assets/data/banner.html +3 -1
- data/assets/theme/j1/adapter/js/masonry.js +6 -8
- data/assets/theme/j1/core/js/template.js +28 -1
- data/assets/theme/j1/core/js/template.min.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +4 -2
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +6 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +113 -76
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +1 -2
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +6 -3
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +6 -3
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.js +21 -6
- data/assets/theme/j1/modules/videojs/plugins/players/yt/js/youtube.min.js +1 -1
- 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/banner.yml +29 -18
- data/lib/starter_web/_data/blocks/panel.yml +79 -124
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +2 -2
- data/lib/starter_web/_data/modules/gallery.yml +145 -19
- data/lib/starter_web/_data/modules/masonry.yml +9 -10
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +2 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/nick-fewings.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/no-revisions.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/wolfgang-weiser.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/example-content-1280x800.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/google-lighthouse-1080x300.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/google-lighthouse-scores.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/master-header-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/nav-module-1280x300.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/teaser-banner-1280x600.jpg +0 -0
- data/lib/starter_web/assets/image/page/features/tts-1280x500.jpg +0 -0
- data/lib/starter_web/assets/video/tracks/html5/peck_pocketed/captions/video.vtt +2 -3
- data/lib/starter_web/assets/video/tracks/html5/peck_pocketed/chapters/video.vtt +4 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +18 -20
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +6 -7
- data/lib/starter_web/collections/posts/public/featured/_posts/{2023-10-18-url-types.adoc → 2022-10-18-url-types.adoc} +7 -4
- data/lib/starter_web/collections/posts/public/featured/_posts/{2021-02-01-static-site-generators.adoc → 2023-02-01-static-site-generators.adoc} +5 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/{2022-02-01-about-j1.adoc → 2024-02-01-about-j1.adoc} +4 -5
- data/lib/starter_web/index.html +17 -73
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/features/{general.adoc → core-features.adoc} +92 -47
- data/lib/starter_web/pages/public/features/{template.adoc → theme-features.adoc} +313 -195
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +10 -15
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +43 -2
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -21
- data/lib/starter_web/pages/public/tour/audio_data.adoc +2 -2
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/tour/image_data.adoc +138 -234
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/tour/video_data.adoc +74 -85
- metadata +12 -9
- data/lib/starter_web/assets/image/module/attic/cookies-1920x1200.jpg +0 -0
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +0 -126
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7aeaa5fe96cd8d77dd03306eb660f53455ed837f0ca57049c7f5df41ac5abbf
|
4
|
+
data.tar.gz: 204f5f31912d9c71bd5c186820f2f8ebd309a3933402415022e46b7b859038d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afc20debb5058449efa5aa738c923b997fb60a680772d52d786fa462bc29d6fff5d700254f75eee667b2871eb501c1c3972ca91b213c64a9ef49edff1ee15698
|
7
|
+
data.tar.gz: 62e80dd823873b90755e6c62fed1fb2949293c073fb79261869e762abde8b96415f959c64ba32c6a0723dda2cad8cb592c97494dbcc8824f391fba132caddb44
|
data/assets/data/banner.html
CHANGED
@@ -304,7 +304,9 @@ exclude_from_search: true
|
|
304
304
|
<div class="{{card_properties}}">{{card_description}}</div>
|
305
305
|
{% if card_buttons %}
|
306
306
|
<!-- Footer|Button row -->
|
307
|
-
|
307
|
+
<!-- TODO: Make styles for the button div configurable -->
|
308
|
+
<!-- div class="speak2me-ignore mt-5" -->
|
309
|
+
<div class="speak2me-ignore mt-4 fw-bold d-flex justify-content-center flex-wrap">
|
308
310
|
{% for button_hash in card_buttons %}
|
309
311
|
{% include {{create_bs_button}} button_data=button_hash button_type="link" %}
|
310
312
|
{{bs_button_html}}
|
@@ -290,14 +290,12 @@ j1.adapter.masonry = ((j1, window) => {
|
|
290
290
|
videojs: {{grid.videojs.enabled}},
|
291
291
|
videojsTheme: "vjs-theme-{{grid.videojs.theme}}",
|
292
292
|
videojsOptions: {
|
293
|
-
{%
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
{%
|
298
|
-
|
299
|
-
{% endfor %}
|
300
|
-
"controls": {{grid.videojs.player.videojsPlayer.controls}},
|
293
|
+
{% comment %} disabled because of side effects
|
294
|
+
------------------------------------------------------
|
295
|
+
"tracks": {{grid.videojs.player.videojsPlayer.videojsOptions.tracks}},
|
296
|
+
------------------------------------------------------
|
297
|
+
{% endcomment %}
|
298
|
+
"controls": {{grid.videojs.player.videojsPlayer.videojsOptions.controls}},
|
301
299
|
"controlBar": {
|
302
300
|
{% for option in grid.videojs.player.videojsPlayer.controlBar %}
|
303
301
|
{{option[0] | json}}: {{option[1] | json}}{% if forloop.last %}{% else %},{% endif %}
|
@@ -12007,6 +12007,7 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
12007
12007
|
voiceTags['.listingblock'] = new voiceTag('Text element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12008
12008
|
voiceTags['.gist'] = new voiceTag('Gist element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12009
12009
|
voiceTags['.slider'] = new voiceTag('Slider element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12010
|
+
voiceTags['.swiper-app'] = new voiceTag('Slider element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12010
12011
|
voiceTags['.modal'] = new voiceTag('Info element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12011
12012
|
voiceTags['.masonry'] = new voiceTag('Masonry element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
12012
12013
|
voiceTags['.lightbox-block'] = new voiceTag('Lightbox element' + pause_spoken, 'Element not spoken' + pause_spoken);
|
@@ -12840,7 +12841,33 @@ module.exports = new Type('tag:yaml.org,2002:binary', {
|
|
12840
12841
|
$(this).remove();
|
12841
12842
|
});
|
12842
12843
|
|
12843
|
-
// Search for
|
12844
|
+
// Search for (SwiperJS) slider elements, check for previous declared
|
12845
|
+
// <div> container that contains the title element and insert the
|
12846
|
+
// text if exists and finally remove the DOM object.
|
12847
|
+
//
|
12848
|
+
$(clone).find('.swiper-app').addBack('.swiper-app').each(function () {
|
12849
|
+
if ($(this).prev()[0] !== undefined) {
|
12850
|
+
title = $(this).prev()[0].innerText;
|
12851
|
+
title_element = $(this).prev();
|
12852
|
+
// remove the title BEFORE the DOM object gets deleted
|
12853
|
+
//
|
12854
|
+
$(title_element).remove();
|
12855
|
+
} else {
|
12856
|
+
title = '';
|
12857
|
+
}
|
12858
|
+
prepend = voiceTags['.swiper-app'].prepend;
|
12859
|
+
appended = voiceTags['.swiper-app'].append;
|
12860
|
+
if (title !== undefined && title != '') {
|
12861
|
+
prepend !== '' && $('<div>' + prepend + ' with the title ' + title + pause_spoken + '</div>').insertBefore(this);
|
12862
|
+
appended !== '' && $('<div>' + appended + '</div>').insertBefore(this);
|
12863
|
+
} else {
|
12864
|
+
prepend !== '' && $('<div>' + prepend + pause_spoken + '</div>').insertBefore(this);
|
12865
|
+
appended !== '' && $('<div>' + appended + pause_spoken + '</div>').insertBefore(this);
|
12866
|
+
}
|
12867
|
+
$(this).remove();
|
12868
|
+
});
|
12869
|
+
|
12870
|
+
// Search for lightbox block elements and extract the <caption> tag data,
|
12844
12871
|
// insert the text if exists and finally remove the DOM object.
|
12845
12872
|
//
|
12846
12873
|
$(clone).find('.lightbox-block').addBack('.lightbox-block').each(function () {
|