j1-template 2023.10.0 → 2023.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/gallery.js +22 -23
  3. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +11 -11
  4. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +26 -26
  5. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +26 -26
  6. data/assets/themes/j1/modules/videojs/js/plugins/vm/examples/index.html +33 -33
  7. data/assets/themes/j1/modules/videojs/js/plugins/wt/api/Readme.txt +20 -20
  8. data/lib/j1/version.rb +1 -1
  9. data/lib/starter_web/Gemfile +2 -2
  10. data/lib/starter_web/README.md +5 -5
  11. data/lib/starter_web/_config.yml +1 -1
  12. data/lib/starter_web/_data/modules/defaults/gallery.yml +1 -1
  13. data/lib/starter_web/_data/modules/gallery.yml +14 -15
  14. data/lib/starter_web/_data/templates/feed.xml +1 -1
  15. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +50 -50
  16. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +56 -56
  17. data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +52 -52
  18. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +88 -88
  19. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +54 -54
  20. data/lib/starter_web/_plugins/asciidoctor/range-slider-block.rb +49 -49
  21. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  22. data/lib/starter_web/assets/images/modules/attics/1920x1280/isaac-davis.jpg +0 -0
  23. data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +98 -0
  24. data/lib/starter_web/package.json +1 -1
  25. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +3 -3
  26. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +3 -2
  27. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +595 -595
  28. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +3093 -3093
  29. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  30. data/lib/starter_web/utilsrv/package.json +1 -1
  31. metadata +4 -2
@@ -1,49 +1,49 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_plugins/asciidoctor-extensions/range-slider-block.rb
3
- # Asciidoctor extension for J1 range-slider (Owl range-slider)
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2023 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
- #
13
- # ------------------------------------------------------------------------------
14
- require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
15
- include Asciidoctor
16
-
17
- # A block macro that embeds a range-slider block into the output document
18
- #
19
- # Usage
20
- #
21
- # range_slider::slider-id[role="additional classes"]
22
- #
23
- # Example:
24
- #
25
- # range_slider::example_slider[role="mb-5"]
26
- #
27
- Asciidoctor::Extensions.register do
28
-
29
- class SliderBlockMacro < Extensions::BlockMacroProcessor
30
- use_dsl
31
-
32
- named :range_slider
33
- name_positional_attributes 'role'
34
- default_attributes 'role' => ''
35
-
36
- def process parent, target, attributes
37
-
38
- html = %(
39
- <div class="#{attributes['role']}">
40
- <div id="#{target}" class="range-slider speak2me-ignore"></div>
41
- </div>
42
- )
43
-
44
- create_pass_block parent, html, attributes, subs: nil
45
- end
46
- end
47
-
48
- block_macro SliderBlockMacro
49
- end
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_plugins/asciidoctor-extensions/range-slider-block.rb
3
+ # Asciidoctor extension for J1 range-slider (Owl range-slider)
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
+ #
13
+ # ------------------------------------------------------------------------------
14
+ require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
15
+ include Asciidoctor
16
+
17
+ # A block macro that embeds a range-slider block into the output document
18
+ #
19
+ # Usage
20
+ #
21
+ # range_slider::slider-id[role="additional classes"]
22
+ #
23
+ # Example:
24
+ #
25
+ # range_slider::example_slider[role="mb-5"]
26
+ #
27
+ Asciidoctor::Extensions.register do
28
+
29
+ class SliderBlockMacro < Extensions::BlockMacroProcessor
30
+ use_dsl
31
+
32
+ named :range_slider
33
+ name_positional_attributes 'role'
34
+ default_attributes 'role' => ''
35
+
36
+ def process parent, target, attributes
37
+
38
+ html = %(
39
+ <div class="#{attributes['role']}">
40
+ <div id="#{target}" class="range-slider speak2me-ignore"></div>
41
+ </div>
42
+ )
43
+
44
+ create_pass_block parent, html, attributes, subs: nil
45
+ end
46
+ end
47
+
48
+ block_macro SliderBlockMacro
49
+ end
@@ -391,6 +391,6 @@ end
391
391
 
392
392
  module Jekyll
393
393
  module J1LunrSearch
394
- VERSION = '2023.10.0'
394
+ VERSION = '2023.10.1'
395
395
  end
396
396
  end
@@ -0,0 +1,98 @@
1
+ ---
2
+ title: URLs
3
+ title_extention: Protocol Scheme
4
+ tagline: Protocol Scheme
5
+
6
+ #date: 2023-01-01
7
+ #last_modified: 2023-01-01
8
+
9
+ categories: [ Web ]
10
+ tags: [ Protocols ]
11
+
12
+ image:
13
+ path: /assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg
14
+ width: 1920
15
+ height: 1280
16
+ alt: J1 Starter Mockup
17
+
18
+ group: Featured
19
+ series: Featured
20
+
21
+ #tts: false
22
+ fab_menu_id: open_toc
23
+ comments: false
24
+ regenerate: false
25
+
26
+ resources: [ animate ]
27
+ resource_options:
28
+ - attic:
29
+ padding_top: 600
30
+ slides:
31
+ - url: /assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg
32
+ alt: J1 Starter Mockup
33
+ ---
34
+
35
+ // Page Initializer
36
+ // =============================================================================
37
+ // Enable the Liquid Preprocessor
38
+ :page-liquid:
39
+
40
+ // Set (local) page attributes here
41
+ // -----------------------------------------------------------------------------
42
+ // :page--attr: <attr-value>
43
+ :badges-enabled: false
44
+ :url-codinghorror--understanding-mvc: https://blog.codinghorror.com/understanding-model-view-controller
45
+
46
+ // Place an excerpt at the most top position
47
+ // -----------------------------------------------------------------------------
48
+ [role="dropcap"]
49
+ What is the difference between the URLs `https://domain` and `//domain`?
50
+
51
+ excerpt__end
52
+
53
+ // Load Liquid procedures
54
+ // -----------------------------------------------------------------------------
55
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
56
+
57
+ // Load page attributes
58
+ // -----------------------------------------------------------------------------
59
+ {% include {{load_attributes}} scope="global" %}
60
+
61
+
62
+ // Page content
63
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
+ mdi:clock-time-five-outline[24px, md-gray mr-2 mt-4]
65
+ *2 Minutes* to read
66
+
67
+ ifeval::[{badges-enabled} == true]
68
+ {badge-j1--license} {badge-j1--version-latest} {badge-j1-gh--last-commit} {badge-j1--downloads}
69
+ endif::[]
70
+
71
+ // Include sub-documents (if any)
72
+ // -----------------------------------------------------------------------------
73
+ [role="mt-5 mb-4"]
74
+ The primary difference is that `https://domain` specifies the protocol
75
+ *HTTPS* explicitly, while `//domain` *inherits* the protocol from the current
76
+ webpage. Using `//domain` is a good practice to maintain consistency with the
77
+ current page's protocol and *reduce* potential security issues related to
78
+ *mixed content*.
79
+
80
+ Absolute URL::
81
+
82
+ URLs of type `https://domain` are *absolute* URLs, meaning they explicitly
83
+ include the protocol or scheme -- in this case, "https://". When you use
84
+ this format, you specify that the website should be accessed over *HTTPS*,
85
+ a secure protocol for web communication. The browser will use the HTTPS
86
+ protocol to connect to the specified domain.
87
+
88
+ Protocol-relative URL::
89
+
90
+ URLs of type `//domain` are *protocol-relative* URL or *network-path*
91
+ references. It does not explicitly specify a particular protocol as *HTTP*
92
+ or *HTTPS*. Instead, it inherits the protocol used in the *current webpage*.
93
+
94
+ If the current webpage is loaded over HTTPS, the browser will use HTTPS to
95
+ connect to the domain. If the current webpage is loaded over HTTP, it will
96
+ use HTTP. Protocol-relative URLs often ensure that resources are loaded
97
+ securely when a webpage can be accessed over HTTP and HTTPS without causing
98
+ mixed content issues (e.g., loading insecure resources on a secure page).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2023.10.0",
4
+ "version": "2023.10.1",
5
5
  "description": "J1 Theme Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -65,9 +65,9 @@ resource_options:
65
65
  :url-j1-docs--masterslider-module: https://jekyll.one/pages/public/manuals/modules/masterslider/
66
66
 
67
67
  :url-j1-slick-previewer: https://jekyll.one/pages/public/tools/previewer/slick/
68
- :url-j1-masonry-previewer: http://localhost:41000/pages/public/tools/previewer/masonry/
68
+ :url-j1-masonry-previewer: https://jekyll.one/pages/public/tools/previewer/masonry/
69
69
  :url-j1-masterslider-previewer: https://jekyll.one/pages/public/tools/previewer/masterslider/
70
- :url-j1-lightGallery-previewer: http://localhost:41000/pages/public/tools/previewer/lightgallery/
70
+ :url-j1-lightgallery-previewer: https://jekyll.one/pages/public/tools/previewer/lightgallery/
71
71
 
72
72
  // Load Liquid procedures
73
73
  // -----------------------------------------------------------------------------
@@ -163,7 +163,7 @@ gallery::jg_old_times[]
163
163
  [TIP]
164
164
  ====
165
165
  Find more on how the lightGallery module can be used on the
166
- link:{url-j1-lightGallery-previewer}[lightGallery Preview, {browser-window--new}]
166
+ link:{url-j1-lightgallery-previewer}[lightGallery Preview, {browser-window--new}]
167
167
  page.
168
168
  ====
169
169
 
@@ -196,7 +196,7 @@ video platform.
196
196
  wistia::29b0fbf547[role="mt-5 mb-4"]
197
197
 
198
198
  [role="mt-5"]
199
- === Vimeo Video
199
+ === Vimeo
200
200
 
201
201
  Vimeo is an online video-sharing platform that allows users to upload,
202
202
  share, and view videos. It was founded in 2004 by a group of filmmakers
@@ -409,7 +409,7 @@ The Dailymotion plugin using the Dailymotion *SDK* in the last version of
409
409
  October 2022.
410
410
  ====
411
411
 
412
-
412
+ /////
413
413
  [role="mt-5"]
414
414
  === DailyMotion Video Galleries
415
415
 
@@ -447,6 +447,7 @@ Like YouTube, DailyMotion is a commercial platform using *advertising*
447
447
  on all video content. On every video, an ad clip is presented of 15 to
448
448
  30 seconds in length.
449
449
  ====
450
+ /////
450
451
 
451
452
 
452
453
  [role="mt-5"]