j1-template 2022.0.17 → 2022.0.18
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/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +221 -0
- data/assets/themes/j1/adapter/js/customModule.js +221 -0
- data/assets/themes/j1/adapter/js/dropdowns.js +319 -0
- data/assets/themes/j1/adapter/js/rtable.js +2 -6
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +109 -0
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +15 -0
- data/assets/themes/j1/modules/dropdowns/js/cash.js +978 -0
- data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +864 -0
- data/lib/j1/commands/generate.rb +25 -14
- data/lib/j1/commands/rebuild.rb +1 -0
- data/lib/j1/commands/reset.rb +6 -3
- data/lib/j1/commands/setup.rb +18 -13
- data/lib/j1/commands/site.rb +2 -1
- data/lib/j1/utils/exec2.rb +33 -7
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/apps/carousel.yml +138 -140
- data/lib/starter_web/_data/blocks/banner.yml +7 -7
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +164 -0
- data/lib/starter_web/_data/modules/dropdowns.yml +77 -0
- data/lib/starter_web/_data/resources.yml +73 -2
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +2 -2
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/manuals/j1-dropdown.adoc +294 -0
- data/lib/starter_web/pages/public/manuals/{dropdown-help.adoc → msdropdown.adoc} +0 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +14 -6
- data/assets/themes/j1/modules/fab/css/theme/uno/fab.css +0 -373
- data/assets/themes/j1/modules/fab/css/theme/uno/fab.min.css +0 -15
data/lib/j1/commands/generate.rb
CHANGED
@@ -22,12 +22,13 @@ module J1
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def process(args, options = {})
|
25
|
-
|
25
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
26
|
+
raise ArgumentError, "#{timestamp} - GENERATE: You must specify a path." if args.empty?
|
26
27
|
|
27
28
|
new_blog_path = File.expand_path(args.join(' '), Dir.pwd)
|
28
29
|
FileUtils.mkdir_p new_blog_path
|
29
30
|
if preserve_source_location?(new_blog_path, options)
|
30
|
-
J1.logger.abort_with
|
31
|
+
J1.logger.abort_with "#{timestamp} - GENERATE: Conflict:", "#{new_blog_path} exists and is not empty."
|
31
32
|
end
|
32
33
|
|
33
34
|
if options['blank']
|
@@ -37,6 +38,8 @@ module J1
|
|
37
38
|
end
|
38
39
|
|
39
40
|
after_install(new_blog_path, options)
|
41
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
42
|
+
J1.logger.info "#{timestamp} - GENERATE: To setup the site, change to the project folder #{new_blog_path} and run: j1 setup"
|
40
43
|
end
|
41
44
|
|
42
45
|
def create_blank_site(path)
|
@@ -87,30 +90,33 @@ module J1
|
|
87
90
|
# then automatically execute bundle install from within the generate blog dir
|
88
91
|
# unless the user opts to generate a blank blog or skip 'bundle install'.
|
89
92
|
def after_install(path, options = {})
|
93
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
90
94
|
unless options['skip-bundle']
|
91
95
|
bundle_install(path, options)
|
92
96
|
if options['skip-patches']
|
93
|
-
J1.logger.info "GENERATE: Install build-in patches skipped ..."
|
97
|
+
J1.logger.info "#{timestamp} - GENERATE: Install build-in patches skipped ..."
|
94
98
|
else
|
95
99
|
patch_install(options)
|
96
100
|
end
|
97
101
|
end
|
102
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
98
103
|
if options['force']
|
99
|
-
J1.logger.info "GENERATE: Generated Jekyll site force installed in folder #{path}"
|
104
|
+
J1.logger.info "#{timestamp} - GENERATE: Generated Jekyll site force installed in folder #{path}"
|
100
105
|
else
|
101
|
-
J1.logger.info "GENERATE: Generated Jekyll site installed in folder #{path}"
|
106
|
+
J1.logger.info "#{timestamp} - GENERATE: Generated Jekyll site installed in folder #{path}"
|
102
107
|
end
|
103
|
-
J1.logger.info
|
108
|
+
J1.logger.info "#{timestamp} - GENERATE: Installation (bundle) of RubyGems skipped" if options['skip-bundle']
|
104
109
|
end
|
105
110
|
|
106
111
|
def bundle_install(path, options)
|
112
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
107
113
|
J1::External.require_with_graceful_fail 'bundler'
|
108
|
-
J1.logger.info "GENERATE: Running bundle install in #{path} ..."
|
114
|
+
J1.logger.info "#{timestamp} - GENERATE: Running bundle install in #{path} ..."
|
109
115
|
Dir.chdir(path) do
|
110
116
|
if options['system']
|
111
|
-
J1.logger.info "GENERATE: Install bundle in Ruby gem SYSTEM folder ..."
|
117
|
+
J1.logger.info "#{timestamp} - GENERATE: Install bundle in Ruby gem SYSTEM folder ..."
|
112
118
|
else
|
113
|
-
J1.logger.info "GENERATE: Install bundle in USER gem folder ~/.gem ..."
|
119
|
+
J1.logger.info "#{timestamp} - GENERATE: Install bundle in USER gem folder ~/.gem ..."
|
114
120
|
process = J1::Utils::Exec2.run('GENERATE','bundle', 'config', 'set', '--local', 'path', '~/.gem')
|
115
121
|
raise SystemExit unless process.success?
|
116
122
|
end
|
@@ -120,6 +126,7 @@ module J1
|
|
120
126
|
end
|
121
127
|
|
122
128
|
def patch_install(options)
|
129
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
123
130
|
if J1::Utils::is_windows?
|
124
131
|
major, minor = RUBY_VERSION.split('.')
|
125
132
|
lib_version = major + '.' + minor
|
@@ -130,19 +137,23 @@ module J1
|
|
130
137
|
patch_execjs_source_path = curr_path + '/patches/rubygems' + '/' + patch_gem_execjs + '/lib/execjs/external_runtime.rb'
|
131
138
|
|
132
139
|
process, output = J1::Utils::Exec1.run('gem', 'env', 'gempath')
|
140
|
+
output.to_s.each_line do |line|
|
141
|
+
J1.logger.info("#{timestamp} - GENERATE: ", line.strip) unless line.to_s.empty?
|
142
|
+
end
|
133
143
|
raise SystemExit unless process.success?
|
134
144
|
|
135
145
|
result = output.split(';')
|
136
146
|
user_path = result[0]
|
137
147
|
system_path = result[1]
|
148
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
138
149
|
|
139
150
|
if options['system']
|
140
|
-
J1.logger.info "GENERATE: Install patches in SYSTEM folder ..."
|
141
|
-
J1.logger.info "GENERATE: Install patches on path #{system_path} ..."
|
151
|
+
J1.logger.info "#{timestamp} - GENERATE: Install patches in SYSTEM folder ..."
|
152
|
+
J1.logger.info "#{timestamp} - GENERATE: Install patches on path #{system_path} ..."
|
142
153
|
dest = system_path + '/gems/' + patch_gem_eventmachine + '/lib'
|
143
154
|
else
|
144
|
-
J1.logger.info "GENERATE: Install patches in USER gem folder ~/.gem ..."
|
145
|
-
J1.logger.info "GENERATE: Install patches on path #{user_path} ..."
|
155
|
+
J1.logger.info "#{timestamp} - GENERATE: Install patches in USER gem folder ~/.gem ..."
|
156
|
+
J1.logger.info "#{timestamp} - GENERATE: Install patches on path #{user_path} ..."
|
146
157
|
dest = user_path + '/gems/' + patch_gem_eventmachine + '/lib'
|
147
158
|
end
|
148
159
|
src = patch_eventmachine_source_path
|
@@ -158,7 +169,7 @@ module J1
|
|
158
169
|
if Dir.exist?(dest)
|
159
170
|
FileUtils.cp(src, dest)
|
160
171
|
else
|
161
|
-
J1.logger.info "GENERATE: Skipped install patches for execjs-2.7.0 ..."
|
172
|
+
J1.logger.info "#{timestamp} - GENERATE: Skipped install patches for execjs-2.7.0 ..."
|
162
173
|
end
|
163
174
|
end
|
164
175
|
|
data/lib/j1/commands/rebuild.rb
CHANGED
@@ -24,6 +24,7 @@ module J1
|
|
24
24
|
process = J1::Utils::Exec2.run('REBUILD','npm', 'run', 'rebuild')
|
25
25
|
if process.success?
|
26
26
|
J1.logger.info "REBUILD: The projects website has been rebuild successfully."
|
27
|
+
J1.logger.info "REBUILD: To open the site, run: j1 site"
|
27
28
|
else
|
28
29
|
raise SystemExit
|
29
30
|
end
|
data/lib/j1/commands/reset.rb
CHANGED
@@ -17,13 +17,16 @@ module J1
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def process(args, options = {})
|
20
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
20
21
|
if J1::Utils::is_project?
|
21
22
|
if J1::Utils::is_project_setup?
|
22
|
-
J1.logger.info "RESET: Reset the project to factory state ..."
|
23
|
-
J1.logger.info "RESET: Be patient, this will take a while ..."
|
23
|
+
J1.logger.info "#{timestamp} - RESET: Reset the project to factory state ..."
|
24
|
+
J1.logger.info "#{timestamp} - RESET: Be patient, this will take a while ..."
|
24
25
|
process = J1::Utils::Exec2.run('RESET','npm', 'run', 'reset')
|
25
26
|
if process.success?
|
26
|
-
|
27
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
28
|
+
J1.logger.info "#{timestamp} - RESET: The project reset finished successfully."
|
29
|
+
J1.logger.info "#{timestamp} - RESET: To setup the project, run: j1 setup"
|
27
30
|
else
|
28
31
|
raise SystemExit
|
29
32
|
end
|
data/lib/j1/commands/setup.rb
CHANGED
@@ -27,20 +27,23 @@ module J1
|
|
27
27
|
if J1::Utils::is_project?
|
28
28
|
bundle_install(path, options)
|
29
29
|
if options['skip-patches']
|
30
|
-
J1.logger.info "SETUP: Install build-in patches skipped ..."
|
30
|
+
J1.logger.info "#{timestamp} - SETUP: Install build-in patches skipped ..."
|
31
31
|
else
|
32
32
|
patch_install(options)
|
33
33
|
end
|
34
|
-
|
35
|
-
|
34
|
+
|
35
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
36
|
+
J1.logger.info "#{timestamp} - SETUP: Initialize the project ..."
|
37
|
+
J1.logger.info "#{timestamp} - SETUP: Be patient, this will take a while ..."
|
36
38
|
# process, output = J1::Utils::Exec.run('npm', 'run', 'setup')
|
37
39
|
# output.to_s.each_line do |line|
|
38
40
|
# J1.logger.info('SETUP:', line.strip) unless line.to_s.empty?
|
39
41
|
# end
|
40
42
|
process = J1::Utils::Exec2.run('SETUP','npm', 'run', 'setup')
|
41
43
|
if process.success?
|
42
|
-
|
43
|
-
J1.logger.info "SETUP:
|
44
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
45
|
+
J1.logger.info "#{timestamp} - SETUP: Initializing the project finished successfully."
|
46
|
+
J1.logger.info "#{timestamp} - SETUP: To open your site, run: j1 site"
|
44
47
|
else
|
45
48
|
raise SystemExit
|
46
49
|
end
|
@@ -52,13 +55,14 @@ module J1
|
|
52
55
|
private
|
53
56
|
|
54
57
|
def bundle_install(path, options)
|
58
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
55
59
|
J1::External.require_with_graceful_fail 'bundler'
|
56
|
-
J1.logger.info "SETUP: Running bundle install in #{path} ..."
|
60
|
+
J1.logger.info "#{timestamp} - SETUP: Running bundle install in #{path} ..."
|
57
61
|
Dir.chdir(path) do
|
58
62
|
if options['system']
|
59
|
-
J1.logger.info "SETUP: Install bundle in Ruby gem SYSTEM folder ..."
|
63
|
+
J1.logger.info "#{timestamp} - SETUP: Install bundle in Ruby gem SYSTEM folder ..."
|
60
64
|
else
|
61
|
-
J1.logger.info "SETUP: Install bundle in USER gem folder ~/.gem ..."
|
65
|
+
J1.logger.info "#{timestamp} - SETUP: Install bundle in USER gem folder ~/.gem ..."
|
62
66
|
process = J1::Utils::Exec2.run('SETUP','bundle', 'config', 'set', '--local', 'path', '~/.gem')
|
63
67
|
raise SystemExit unless process.success?
|
64
68
|
end
|
@@ -68,6 +72,7 @@ module J1
|
|
68
72
|
end
|
69
73
|
|
70
74
|
def patch_install(options)
|
75
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
71
76
|
if J1::Utils::is_windows?
|
72
77
|
major, minor = RUBY_VERSION.split('.')
|
73
78
|
lib_version = major + '.' + minor
|
@@ -85,12 +90,12 @@ module J1
|
|
85
90
|
system_path = result[1]
|
86
91
|
|
87
92
|
if options['system']
|
88
|
-
J1.logger.info "SETUP: Install patches in SYSTEM folder ..."
|
89
|
-
J1.logger.info "SETUP: Install patches on path #{system_path} ..."
|
93
|
+
J1.logger.info "#{timestamp} - SETUP: Install patches in SYSTEM folder ..."
|
94
|
+
J1.logger.info "#{timestamp} - SETUP: Install patches on path #{system_path} ..."
|
90
95
|
dest = system_path + '/gems/' + patch_gem_eventmachine + '/lib'
|
91
96
|
else
|
92
|
-
J1.logger.info "SETUP: Install patches in USER gem folder ~/.gem ..."
|
93
|
-
J1.logger.info "SETUP: Install patches on path #{user_path} ..."
|
97
|
+
J1.logger.info "#{timestamp} - SETUP: Install patches in USER gem folder ~/.gem ..."
|
98
|
+
J1.logger.info "#{timestamp} - SETUP: Install patches on path #{user_path} ..."
|
94
99
|
dest = user_path + '/gems/' + patch_gem_eventmachine + '/lib'
|
95
100
|
end
|
96
101
|
src = patch_eventmachine_source_path
|
@@ -106,7 +111,7 @@ module J1
|
|
106
111
|
if Dir.exist?(dest)
|
107
112
|
FileUtils.cp(src, dest)
|
108
113
|
else
|
109
|
-
J1.logger.info "SETUP: Skipped install patches for execjs-2.7.0 ..."
|
114
|
+
J1.logger.info "#{timestamp} - SETUP: Skipped install patches for execjs-2.7.0 ..."
|
110
115
|
end
|
111
116
|
end
|
112
117
|
|
data/lib/j1/commands/site.rb
CHANGED
@@ -17,9 +17,10 @@ module J1
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def process(args, options = {})
|
20
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
20
21
|
if J1::Utils::is_project?
|
21
22
|
if J1::Utils::is_project_setup?
|
22
|
-
J1.logger.info "SITE: Starting up your site ..."
|
23
|
+
J1.logger.info "#{timestamp} - SITE: Starting up your site ..."
|
23
24
|
process = J1::Utils::Exec2.run('SITE','npm', 'run', 'j1-site')
|
24
25
|
else
|
25
26
|
raise SystemExit
|
data/lib/j1/utils/exec2.rb
CHANGED
@@ -5,23 +5,49 @@ module J1
|
|
5
5
|
module Exec2
|
6
6
|
extend self
|
7
7
|
|
8
|
-
# Runs a program in a sub-shell
|
8
|
+
# Runs a program in a sub-shell and return a Process::Status on exit
|
9
9
|
#
|
10
|
+
# title - prepend a title on all messages
|
10
11
|
# *args - a list of strings containing the program name and arguments
|
11
12
|
#
|
12
|
-
# Returns a Process::Status and a String of output in an array in
|
13
|
-
# that order.
|
14
13
|
def run(title, *args)
|
15
|
-
# title = 'TITLE'
|
16
14
|
Open3.popen3(*args) do |stdin, stdout, stderr, status|
|
15
|
+
|
16
|
+
# manage software interrupt on Ctrl-C
|
17
17
|
trap('INT') {
|
18
|
-
|
18
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
19
|
+
puts "#{timestamp} - #{title}: Received Ctrl-C to stop"
|
20
|
+
[stdin, stdout, stderr].each(&:close)
|
19
21
|
raise SystemExit
|
20
22
|
}
|
21
|
-
|
22
|
-
|
23
|
+
|
24
|
+
# manage messages on stdout
|
25
|
+
stdout_thr = Thread.new do
|
26
|
+
# exit the tread silently
|
27
|
+
Thread.current.report_on_exception = false
|
28
|
+
stdout.each_line do |line|
|
29
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
30
|
+
puts "#{timestamp} - #{title}: #{line}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# manage messages on stdout
|
35
|
+
stderr_thr = Thread.new do
|
36
|
+
# exit the tread silently
|
37
|
+
Thread.current.report_on_exception = false
|
38
|
+
stderr.each_line do |line|
|
39
|
+
timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
40
|
+
puts "#{timestamp} - " + "\e[31m" + "#{title}: #{line}" + "\e[0m"
|
41
|
+
end
|
23
42
|
end
|
43
|
+
|
44
|
+
# combine channels stdout, stderr for output
|
45
|
+
[stdout_thr, stderr_thr].each(&:join)
|
46
|
+
|
47
|
+
# close channels explicitly to exit gracefully
|
24
48
|
[stdin, stdout, stderr].each(&:close)
|
49
|
+
|
50
|
+
# exit and return Process::Status
|
25
51
|
status.value
|
26
52
|
end
|
27
53
|
end
|
data/lib/j1/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module J1
|
2
|
-
VERSION = '2022.0.
|
3
|
-
end
|
1
|
+
module J1
|
2
|
+
VERSION = '2022.0.18'
|
3
|
+
end
|
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2022.0.
|
56
|
+
gem 'j1-template', '~> 2022.0.18'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: development
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2022.0.
|
56
|
+
version: 2022.0.18
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -47,148 +47,146 @@ settings:
|
|
47
47
|
enabled: true
|
48
48
|
|
49
49
|
# ----------------------------------------------------------------------------
|
50
|
-
# CAROUSEL
|
50
|
+
# CAROUSEL options
|
51
51
|
# ----------------------------------------------------------------------------
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
#
|
187
|
-
#
|
188
|
-
# ----------------------------------------------------------------------------
|
189
|
-
|
52
|
+
#
|
53
|
+
# enabled
|
54
|
+
# ----------------------------------------------------------------------------
|
55
|
+
# Enables|Disables the use of the OwlCarousel
|
56
|
+
#
|
57
|
+
# values: boolean (true|false)
|
58
|
+
# default: false
|
59
|
+
#
|
60
|
+
# carousel
|
61
|
+
# ----------------------------------------------------------------------------
|
62
|
+
# All shows are configured as elements of the carousel
|
63
|
+
# array
|
64
|
+
#
|
65
|
+
# enabled:
|
66
|
+
# ----------------------------------------------------------------------------
|
67
|
+
# If enabled, show data (JSON) is generated
|
68
|
+
#
|
69
|
+
# values: boolean (false|true)
|
70
|
+
# default: no default
|
71
|
+
#
|
72
|
+
# lightbox:
|
73
|
+
# ---------------------------------------------------
|
74
|
+
# If set to true, J1 Lightbox is enabled for all images
|
75
|
+
# of that carousel|show
|
76
|
+
#
|
77
|
+
# NOTE:
|
78
|
+
# To use Lightbox with Owl Carousel, lazyLoad needs to
|
79
|
+
# be enabled for the show to delay the load of images.
|
80
|
+
# If lightbox is detected as ENABLED, lazyLoad is
|
81
|
+
# automatically ENABLED as well.
|
82
|
+
#
|
83
|
+
# values: boolean (false|true)
|
84
|
+
# default: false
|
85
|
+
#
|
86
|
+
# id
|
87
|
+
# --------------------------------------------------------------------------
|
88
|
+
# A unique id used to create and initialize a
|
89
|
+
# (specific) carousel|show.
|
90
|
+
#
|
91
|
+
# values: string
|
92
|
+
# default: no defaults
|
93
|
+
#
|
94
|
+
#
|
95
|
+
# item_type
|
96
|
+
# --------------------------------------------------------------------------
|
97
|
+
# For a slide show, images or text (HTML code) can be
|
98
|
+
# used as items.
|
99
|
+
#
|
100
|
+
# values: image|text
|
101
|
+
# default: image
|
102
|
+
#
|
103
|
+
# images
|
104
|
+
# --------------------------------------------------------------------------
|
105
|
+
# The images array specifies all images used by a
|
106
|
+
# carousel as items. All images are to be configured
|
107
|
+
# as a comma separated list (of image names with NO path).
|
108
|
+
#
|
109
|
+
# NOTE:
|
110
|
+
# Because NO individual path for images can be configured,
|
111
|
+
# all image files are to be located in the SAME directory.
|
112
|
+
#
|
113
|
+
# values: array|string (image names)
|
114
|
+
# default: no defaults
|
115
|
+
#
|
116
|
+
# slide_height
|
117
|
+
# --------------------------------------------------------------------------
|
118
|
+
# The images are scaled to 100 percent of height per
|
119
|
+
# default. To reduce the height of the images of a
|
120
|
+
# show, slide_height reduce the (viewport) height of
|
121
|
+
# a show down to 10vh (vh, view height).
|
122
|
+
#
|
123
|
+
# IMPORTANT:
|
124
|
+
# This option can be used ONLY for SINGLE image shows
|
125
|
+
# with option "singleItem" set to "true".
|
126
|
+
#
|
127
|
+
# NOTE:
|
128
|
+
# The view port units VH and VW are supported for
|
129
|
+
# browsers supporting CSS3, only. The view port units
|
130
|
+
# scale the view port of an HTML element (e.g DIV)
|
131
|
+
# in relation to the current (window) size of the
|
132
|
+
# browser.
|
133
|
+
#
|
134
|
+
# values: integer [10 .. 100] (vh)
|
135
|
+
# default: 100
|
136
|
+
#
|
137
|
+
# lb_caption
|
138
|
+
# --------------------------------------------------------------------------
|
139
|
+
# The lb_caption array specifies all CAPTION TEXT
|
140
|
+
# used by the LIGHTBOX configured (if a lightbox is
|
141
|
+
# enabled).
|
142
|
+
#
|
143
|
+
# Caption text elements are to be configured as a
|
144
|
+
# comma separated list of the SAME number as IMAGES
|
145
|
+
# configured for a show.
|
146
|
+
#
|
147
|
+
# values: array|string (caption text)
|
148
|
+
# default: no defaults
|
149
|
+
#
|
150
|
+
# images_path
|
151
|
+
# --------------------------------------------------------------------------
|
152
|
+
# Path to the IMAGES configured with the 'images'
|
153
|
+
# sequence (array ).
|
154
|
+
#
|
155
|
+
# values: string (path)
|
156
|
+
# default: no defaults
|
157
|
+
#
|
158
|
+
# text
|
159
|
+
# --------------------------------------------------------------------------
|
160
|
+
# If the slide show items are of type TEXT (item_type),
|
161
|
+
# the text array specifies all text blocks (plain text
|
162
|
+
# of HTML code) used by a carousel as show items. Text
|
163
|
+
# items are configured as a comma separated list of
|
164
|
+
# strings.
|
165
|
+
#
|
166
|
+
# values: array|string (plain text OR HTML code)
|
167
|
+
# default: no defaults
|
168
|
+
#
|
169
|
+
# links
|
170
|
+
# --------------------------------------------------------------------------
|
171
|
+
# On all carousel items, links (URLs) can be specified.
|
172
|
+
#
|
173
|
+
# NOTE:
|
174
|
+
# The number of elements of the 'links' array has to be
|
175
|
+
# the same as the images or text array. The links are
|
176
|
+
# bound to the items the same order. The first link is
|
177
|
+
# bound to the first image|text block, the second link
|
178
|
+
# to the second image|text etc.
|
179
|
+
#
|
180
|
+
# values: array|string (url)
|
181
|
+
# default: no defaults
|
182
|
+
#
|
183
|
+
#
|
184
|
+
# ----------------------------------------------------------------------------
|
185
|
+
#
|
190
186
|
carousel:
|
191
|
-
|
187
|
+
# --------------------------------------------------------------------------
|
188
|
+
# CAROUSEL configurations
|
189
|
+
# --------------------------------------------------------------------------
|
192
190
|
|
193
191
|
# --------------------------------------------------------------------------
|
194
192
|
# demo_text_carousel
|
@@ -197,17 +197,17 @@ settings:
|
|
197
197
|
href: "https://rubygems.org/gems/j1-template"
|
198
198
|
target: blank
|
199
199
|
|
200
|
-
- name:
|
200
|
+
- name: Rocketstart
|
201
201
|
button:
|
202
|
-
id:
|
203
|
-
title:
|
204
|
-
tagline: finished in
|
205
|
-
class: btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2
|
202
|
+
id: rocketstart
|
203
|
+
title: Rocketstart
|
204
|
+
tagline: finished in minutes
|
205
|
+
class: btn btn-raised btn-xl btn-primary text-uppercase text-left mr-2 mb-2
|
206
206
|
style: "min-width: 250px"
|
207
|
-
icon:
|
207
|
+
icon: rocket-launch
|
208
208
|
icon_color:
|
209
209
|
icon_size: 3x
|
210
|
-
href: "https://jekyll.one/pages/public/learn/
|
210
|
+
href: "https://jekyll.one/pages/public/learn/rocketstart/"
|
211
211
|
target: blank
|
212
212
|
|
213
213
|
# --------------------------------------------------------------------------
|