j1-template 2022.4.10 → 2022.5.0.rc0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +6 -6
- data/assets/data/fab.html +1 -1
- data/assets/data/panel.html +1 -1
- data/assets/themes/j1/adapter/js/attic.js +18 -3
- data/assets/themes/j1/adapter/js/navigator.js +19 -85
- data/assets/themes/j1/adapter/js/themer.js +5 -0
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +23 -26
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +7 -7
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +5 -1
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/lib/j1/commands/generate.rb +12 -1
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/rubyeventmachine.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +270 -223
- data/lib/starter_web/_config.yml +6 -9
- data/lib/starter_web/_data/modules/attics.yml +13 -4
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
- data/lib/starter_web/_data/modules/navigator.yml +3 -3
- data/lib/starter_web/_data/modules/navigator_menu.yml +238 -157
- data/lib/starter_web/_includes/_attributes.asciidoc +575 -0
- data/lib/starter_web/_includes/attributes.asciidoc +41 -40
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/{modules/icons → icons}/asciidoc/logo-512x512.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh-32x32.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/logo-160x160.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bootstrap-solid-32x32.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bs-docs-masthead-pattern.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-outline.svg +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-punchout.svg +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-solid.svg +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/angular.ui.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/angularjs.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/aws.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/bootstrap.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/c9.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/chai.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/emmet.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/express.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/git.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/github.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/gulp.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/heroku.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-1.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-2.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/jasmine.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/javascript.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/jquery.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/kanban.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/leanux.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/linkedin.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/mean.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/mongodb.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/node.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/postgresql.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/protractor.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/rails.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/ruby.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/sass.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/scrum.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/components/twitter.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/github/avatar-icon.png +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.24x24.png +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.512x512.png +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/hyvore-talk.ico +0 -0
- data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +81 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/j1/scalable/j1.svg +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter-32x32.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/logo.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos-icon.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.gif +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_black_hex.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_orange_hex.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-black_hex.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-orange_hex.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/ubuntu.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_flags_color.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_hdd.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_store.ico +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/amazon.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/behance.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/blogger.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/deviantart.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/dribbble.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/dropbox.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/evernote.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/facebook.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/forrst.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/github.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/googleplus.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/instagram.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/jolicloud.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/last-fm.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/linkedin.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/picasa.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/pintrest.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/rss.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/skype.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/spotify.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/stumbleupon.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/tumblr.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/twitter.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/vimeo.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/vk.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/wordpress.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/xing.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/yahoo.png +0 -0
- data/lib/starter_web/assets/images/{modules/icons → icons}/social/youtube.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/harpal-singh.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +3 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/{2022-02-28-about-j1.adoc → 2022-02-01-about-j1.adoc} +2 -3
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/index.html +6 -2
- data/lib/starter_web/package.json +2 -2
- data/lib/starter_web/pages/public/features/general.adoc +0 -1
- data/lib/starter_web/pages/public/features/template.adoc +4 -5
- data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -747
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -1250
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
- data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +313 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +281 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +253 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +579 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +719 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +91 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +420 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +250 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +425 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +118 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
- data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -28
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +6 -6
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +5 -5
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +3 -3
- data/lib/starter_web/pages/public/se/se-fake.adoc +44 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +179 -149
- data/assets/data/twa_v1.json +0 -7039
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +0 -196
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +0 -182
data/lib/starter_web/Gemfile
CHANGED
@@ -1,223 +1,270 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/Gemfile (runtime)
|
3
|
-
# Provides package information to bundle all Ruby gem needed
|
4
|
-
# for Jekyll and J1 template (managed by Ruby Gem Bundler)
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# https://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2022 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# ------------------------------------------------------------------------------
|
14
|
-
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
# ------------------------------------------------------------------------------
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
|
34
|
-
# ------------------------------------------------------------------------------
|
35
|
-
source
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
#
|
41
|
-
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
|
46
|
-
#
|
47
|
-
#
|
48
|
-
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
|
53
|
-
|
54
|
-
#
|
55
|
-
#
|
56
|
-
|
57
|
-
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
|
62
|
-
|
63
|
-
#
|
64
|
-
#
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
gem '
|
74
|
-
|
75
|
-
# ------------------------------------------------------------------------------
|
76
|
-
# Gem needed
|
77
|
-
#
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
#
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
#
|
87
|
-
|
88
|
-
|
89
|
-
gem '
|
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
|
-
gem '
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
#
|
128
|
-
#
|
129
|
-
|
130
|
-
#
|
131
|
-
|
132
|
-
#
|
133
|
-
#
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
# gem '
|
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
|
-
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
|
196
|
-
#
|
197
|
-
#
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
# ------------------------------------------------------------------------------
|
212
|
-
#
|
213
|
-
#
|
214
|
-
|
215
|
-
|
216
|
-
#
|
217
|
-
#
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
#
|
223
|
-
#
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/Gemfile (runtime)
|
3
|
+
# Provides package information to bundle all Ruby gem needed
|
4
|
+
# for Jekyll and J1 template (managed by Ruby Gem Bundler)
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2022 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
|
15
|
+
# ------------------------------------------------------------------------------
|
16
|
+
# NOTE:
|
17
|
+
# To install all gem needed for Jekyll and J1 Template:
|
18
|
+
# bundle install
|
19
|
+
#
|
20
|
+
# TIP:
|
21
|
+
# If all packages needed are installed, a list of all gem and dependencies
|
22
|
+
# installed for the bundle canbe created by running:
|
23
|
+
# bundle list
|
24
|
+
#
|
25
|
+
# ------------------------------------------------------------------------------
|
26
|
+
# NOTE:
|
27
|
+
# If you see warnings like:
|
28
|
+
# WARN: Unresolved specs during Gem::Specification.reset
|
29
|
+
# you may need to cleanup your bundle by running:
|
30
|
+
# gem cleanup
|
31
|
+
#
|
32
|
+
# ------------------------------------------------------------------------------
|
33
|
+
|
34
|
+
# ------------------------------------------------------------------------------
|
35
|
+
# Define the (download) source, Ruby GEMs are to be loaded from REMOTE
|
36
|
+
#
|
37
|
+
source 'https://rubygems.org'
|
38
|
+
|
39
|
+
# ------------------------------------------------------------------------------
|
40
|
+
# Specify your Ruby version if the J1 Project is used as an container-based
|
41
|
+
# web application. This makes sure to use identical Ruby runtime environments
|
42
|
+
# for BUILD and RUN (e.g. for Docker images or a Dyno on Heroku).
|
43
|
+
#
|
44
|
+
# ruby '3.1'
|
45
|
+
|
46
|
+
# ------------------------------------------------------------------------------
|
47
|
+
# Jekyll
|
48
|
+
# ------------------------------------------------------------------------------
|
49
|
+
# NOTE:
|
50
|
+
# J1 Template is using Jekyll v4.0 and above
|
51
|
+
#
|
52
|
+
# ------------------------------------------------------------------------------
|
53
|
+
# NOTE:
|
54
|
+
# Use|Install a Jekyll version loaded from 'Github' (branch: master):
|
55
|
+
# gem 'jekyll', github: 'jekyll/jekyll'
|
56
|
+
# ------------------------------------------------------------------------------
|
57
|
+
# NOTE:
|
58
|
+
# For default, the Jekyll GEM is loaded from REMOTE
|
59
|
+
# ------------------------------------------------------------------------------
|
60
|
+
#
|
61
|
+
gem 'jekyll', '~> 4.0'
|
62
|
+
|
63
|
+
# ------------------------------------------------------------------------------
|
64
|
+
# Install Webrick GEM (internally used Web Server) if Ruby V3 is used
|
65
|
+
#
|
66
|
+
install_if -> { RUBY_VERSION =~ /3/ } do
|
67
|
+
gem 'webrick', '~> 1.7'
|
68
|
+
end
|
69
|
+
|
70
|
+
# ------------------------------------------------------------------------------
|
71
|
+
# Specify the THEME GEM used for the project
|
72
|
+
#
|
73
|
+
gem 'j1-template', '~> 2022.5.0.rc0'
|
74
|
+
|
75
|
+
# ------------------------------------------------------------------------------
|
76
|
+
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
77
|
+
#
|
78
|
+
|
79
|
+
# ------------------------------------------------------------------------------
|
80
|
+
# Code Highlighter Rouge
|
81
|
+
#
|
82
|
+
gem 'rouge', '~> 3.3'
|
83
|
+
|
84
|
+
# ------------------------------------------------------------------------------
|
85
|
+
# XML|HTML processing
|
86
|
+
#
|
87
|
+
gem 'builder', '~> 3.2'
|
88
|
+
gem 'nokogiri', '>= 1.10.3'
|
89
|
+
gem 'nokogiri-pretty', '>= 0.1.0'
|
90
|
+
gem 'htmlbeautifier', '>= 1.2.1'
|
91
|
+
|
92
|
+
# ------------------------------------------------------------------------------
|
93
|
+
# Compress JS and JSON files
|
94
|
+
#
|
95
|
+
gem 'uglifier', '~> 4.2'
|
96
|
+
gem 'json-minify', '~> 0.0.3'
|
97
|
+
|
98
|
+
# ------------------------------------------------------------------------------
|
99
|
+
# Run JS code (from Ruby) to create the index for Lunr
|
100
|
+
#
|
101
|
+
gem 'execjs', '~> 2.7'
|
102
|
+
|
103
|
+
# ------------------------------------------------------------------------------
|
104
|
+
# Timezone support (multi-platform)
|
105
|
+
#
|
106
|
+
gem 'tzinfo', '>= 1.2.2'
|
107
|
+
|
108
|
+
# ------------------------------------------------------------------------------
|
109
|
+
# Platform specific GEM
|
110
|
+
#
|
111
|
+
# NOTE:
|
112
|
+
# Windows does not include zoneinfo files (timezone support).
|
113
|
+
# To provide zoneinfo, tzinfo-data gem is bundled on win platforms
|
114
|
+
#
|
115
|
+
# ------------------------------------------------------------------------------
|
116
|
+
# NOTE:
|
117
|
+
# Windows Directory Monitor (WDM) required to monitor directories
|
118
|
+
# for changes
|
119
|
+
#
|
120
|
+
# ------------------------------------------------------------------------------
|
121
|
+
#
|
122
|
+
install_if -> { Gem.win_platform? } do
|
123
|
+
gem 'tzinfo-data'
|
124
|
+
gem 'wdm', '>= 0.1.1'
|
125
|
+
end
|
126
|
+
|
127
|
+
# ------------------------------------------------------------------------------
|
128
|
+
# Jekyll Plugins
|
129
|
+
# If any (additional) Jekyll Plugins are used, they goes here
|
130
|
+
#
|
131
|
+
group :jekyll_plugins do
|
132
|
+
# Base Jekyll Plugins (required)
|
133
|
+
#
|
134
|
+
gem 'asciidoctor', '~> 2.0'
|
135
|
+
gem 'jekyll-asciidoc', '>= 3.0.0'
|
136
|
+
gem 'j1-paginator', '>= 2021.1.1'
|
137
|
+
#
|
138
|
+
# Additional Supporting GEMs (optional)
|
139
|
+
#
|
140
|
+
# gem 'algolia', '~> 2.0', '>= 2.0.4' # Required for Algolia support only
|
141
|
+
# gem 'asciidoctor-pdf', '>= 1.5.4' # Required for Asciidoctor PDF creation only
|
142
|
+
# gem 'jekyll-sass-converter', '>= 2.1.0' # Required for Jekyll|SASS (file) conversion support
|
143
|
+
#
|
144
|
+
# Additional Jekyll Plugins (optional)
|
145
|
+
#
|
146
|
+
gem 'jekyll-sitemap', '>= 1.2.0' # Create XML sitemap (recommended)
|
147
|
+
# gem 'jekyll-feed', ">= 0.15.1"
|
148
|
+
# gem 'jekyll-gist', '>= 1.5.0'
|
149
|
+
# gem 'jekyll-redirect-from', '>= 0.16.0'
|
150
|
+
end
|
151
|
+
|
152
|
+
# ------------------------------------------------------------------------------
|
153
|
+
# GEM needed for the Jekyll and J1 dev environment
|
154
|
+
#
|
155
|
+
# NOTE:
|
156
|
+
# For the build (npm|yarn), J1 Template is using scss_lint
|
157
|
+
# for linting the SCSS (Sass) components.
|
158
|
+
#
|
159
|
+
# ------------------------------------------------------------------------------
|
160
|
+
# NOTE:
|
161
|
+
# scss_lint is based on old gem 'sass', '~> 3.5.5'. A replacement
|
162
|
+
# is needed (?) for a linter using the new Ruby Sass GEM (sassc)
|
163
|
+
# gem 'scss_lint', '~> 0.56.0', require: false
|
164
|
+
#
|
165
|
+
# ------------------------------------------------------------------------------
|
166
|
+
gem 'sassc', '~> 2.4'
|
167
|
+
gem 'bump', '~> 0.10'
|
168
|
+
|
169
|
+
# ------------------------------------------------------------------------------
|
170
|
+
# Web Application specific RubyGems
|
171
|
+
#
|
172
|
+
|
173
|
+
# ------------------------------------------------------------------------------
|
174
|
+
# Ruby Task Manager
|
175
|
+
#
|
176
|
+
# NOTE:
|
177
|
+
# Enable the `rake` Gem if needed. For container-based apps, Rake can
|
178
|
+
# be used as a pre-processor engine running # tasks defined by a
|
179
|
+
# Rakefile prior running the app|web.
|
180
|
+
#
|
181
|
+
# ------------------------------------------------------------------------------
|
182
|
+
# gem 'rake', '~> 12.0'
|
183
|
+
|
184
|
+
# html-proofer. Automate the process of checking links on your site
|
185
|
+
#
|
186
|
+
# bundle exec htmlproofer \
|
187
|
+
# --allow_missing_href \
|
188
|
+
# --allow_hash_href \
|
189
|
+
# --assume_extension \
|
190
|
+
# --directory_index_file \
|
191
|
+
# --directory_index_file \
|
192
|
+
# --empty_alt_ignore ./_site/index.html &> out.txt
|
193
|
+
#
|
194
|
+
# gem 'html-proofer', '~> 3.10'
|
195
|
+
|
196
|
+
# ------------------------------------------------------------------------------
|
197
|
+
# Web server used by applications
|
198
|
+
#
|
199
|
+
# NOTE:
|
200
|
+
# Define the build environment and the web server for J1 sites that
|
201
|
+
# runs as an web application. To improve the production (run-time)
|
202
|
+
# performance for the web, the RubyGems e.g Puma or Passenger can be
|
203
|
+
# used to replace the internal server WEBrick used by Jekyll for
|
204
|
+
# default.
|
205
|
+
# The web server Puma, a multi-threaded native Ruy-based web server
|
206
|
+
# can be used on ALL platforms. Passenger integrates the web server
|
207
|
+
# NginX but supported for Linux and Unix platforms only.
|
208
|
+
# For container-based apps, Rake can be used as a pre-processor engine
|
209
|
+
# running # tasks defined by a Rakefile prior running the app|web.
|
210
|
+
#
|
211
|
+
# ------------------------------------------------------------------------------
|
212
|
+
#
|
213
|
+
# gem 'passenger', '>= 5.3'
|
214
|
+
gem 'puma', '>= 5.5.2'
|
215
|
+
|
216
|
+
# ------------------------------------------------------------------------------
|
217
|
+
# Data encryption (currently NOT supported)
|
218
|
+
#
|
219
|
+
# NOTE:
|
220
|
+
# OpenSSL provides SSL, TLS and general purpose cryptography. Used to
|
221
|
+
# encrypt 'private' data used by applications.
|
222
|
+
#
|
223
|
+
# ------------------------------------------------------------------------------
|
224
|
+
# gem 'openssl'
|
225
|
+
|
226
|
+
# ------------------------------------------------------------------------------
|
227
|
+
# Runtime environment for applications
|
228
|
+
#
|
229
|
+
# NOTE:
|
230
|
+
# If J1 is transformed into a (Rack and Sinatra based) Web
|
231
|
+
# application, the site can be secured using user authentication
|
232
|
+
# for accessing private pages. J1 is using the Omniauth stack for
|
233
|
+
# authentication. For default, the Omniauth (authentication) strategies
|
234
|
+
# for Github, Twitter, Facebook and Patreon are implemented.
|
235
|
+
#
|
236
|
+
# ------------------------------------------------------------------------------
|
237
|
+
gem 'rack', '~> 2.2', '>= 2.2.3'
|
238
|
+
gem 'rack-protection', '~> 2.0'
|
239
|
+
gem 'rack-ssl-enforcer', '~> 0.2'
|
240
|
+
gem 'rest-client', '~> 2.0'
|
241
|
+
gem 'sinatra', '~> 2.0'
|
242
|
+
gem 'warden', '~> 1.2'
|
243
|
+
|
244
|
+
# ------------------------------------------------------------------------------
|
245
|
+
# Authentication
|
246
|
+
#
|
247
|
+
# NOTE:
|
248
|
+
# For the base gem omniauth, the currtent version >= 2 cannot be
|
249
|
+
# used. For unknown reason, a WRONG redirect URL is calculated
|
250
|
+
# e.g. for strategy oauth2/github
|
251
|
+
# Wrong: http://localhost:xxx/auth/github
|
252
|
+
# Correct: https://github.com/login?client_id=xx&return=yyy
|
253
|
+
#
|
254
|
+
# ------------------------------------------------------------------------------
|
255
|
+
# Note:
|
256
|
+
# For upcoming J1 versions, v2.x version will be used
|
257
|
+
# gem 'omniauth', '~> 2.0'
|
258
|
+
# ------------------------------------------------------------------------------
|
259
|
+
gem 'omniauth', '~> 1.9'
|
260
|
+
gem 'omniauth-oauth2', '~> 1.7'
|
261
|
+
|
262
|
+
# ------------------------------------------------------------------------------
|
263
|
+
# Logging
|
264
|
+
# GEM required for J1 logger based on log4r (middleware)
|
265
|
+
# ------------------------------------------------------------------------------
|
266
|
+
gem 'log4r', '~> 1.1', '>= 1.1.10'
|
267
|
+
gem 'date', '~> 2.0'
|
268
|
+
|
269
|
+
# ------------------------------------------------------------------------------
|
270
|
+
# END
|
data/lib/starter_web/_config.yml
CHANGED
@@ -10,6 +10,8 @@
|
|
10
10
|
# J1 Template is licensed under the MIT License.
|
11
11
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
12
|
# ------------------------------------------------------------------------------
|
13
|
+
# WARNING: This configuration can only be used for Ruby V3
|
14
|
+
# ------------------------------------------------------------------------------
|
13
15
|
|
14
16
|
# ==============================================================================
|
15
17
|
# 1. BUILD configuration
|
@@ -53,7 +55,7 @@ environment: development
|
|
53
55
|
# ------------------------------------------------------------------------------
|
54
56
|
# Sets the build version of J1 Template Gem
|
55
57
|
#
|
56
|
-
version: 2022.
|
58
|
+
version: 2022.5.0.rc0
|
57
59
|
|
58
60
|
# version
|
59
61
|
# ------------------------------------------------------------------------------
|
@@ -74,16 +76,11 @@ copyright: © 2022 J1 · All rights reserved
|
|
74
76
|
# components are available public at RubyGems.org.
|
75
77
|
#
|
76
78
|
#
|
77
|
-
# theme
|
79
|
+
# theme
|
78
80
|
# ------------------------------------------------------------------------------
|
79
81
|
# Sets the name of the (gem-based) theme used for Jekyll
|
80
82
|
# serve and build
|
81
83
|
#
|
82
|
-
# Note: Do not change anything here because (gem-based) theme name
|
83
|
-
# information is bumped-in by the build process automatically
|
84
|
-
#
|
85
|
-
# default: j1-template
|
86
|
-
#
|
87
84
|
theme: j1-template
|
88
85
|
|
89
86
|
# ------------------------------------------------------------------------------
|
@@ -269,7 +266,7 @@ robots:
|
|
269
266
|
# Set the brand image and favicon (located in /asset/images)
|
270
267
|
|
271
268
|
brand:
|
272
|
-
image:
|
269
|
+
image: icons/j1/j1-512x512.png
|
273
270
|
image_height: 48px
|
274
271
|
text: Jekyll One
|
275
272
|
text_color: "#9E9E9E"
|
@@ -277,7 +274,7 @@ brand:
|
|
277
274
|
# Set the favicon and type
|
278
275
|
#
|
279
276
|
favicon:
|
280
|
-
image:
|
277
|
+
image: icons/j1/j1-32x32.ico
|
281
278
|
type: image/ico
|
282
279
|
|
283
280
|
# ==============================================================================
|
@@ -53,13 +53,19 @@ settings:
|
|
53
53
|
enabled: true
|
54
54
|
id: attic_home
|
55
55
|
layout: home
|
56
|
+
# title_animate: animate__fadeInDown
|
57
|
+
# raised_level: 15
|
56
58
|
padding_top: 400
|
57
59
|
padding_bottom: 50
|
58
60
|
opacity: 0.5
|
59
|
-
#
|
60
|
-
#
|
61
|
-
|
62
|
-
|
61
|
+
# background_color_1: transparent
|
62
|
+
# background_color_2: transparent
|
63
|
+
background_color_1: "#0D47A1" # md-blue-900
|
64
|
+
background_color_2: "#0D47A1" # md-blue-900
|
65
|
+
filters:
|
66
|
+
grayscale: 1
|
67
|
+
contrast: 0.8
|
68
|
+
brightness: 0.8
|
63
69
|
|
64
70
|
# --------------------------------------------------------------------------
|
65
71
|
# layouts posts|pages
|
@@ -72,6 +78,9 @@ settings:
|
|
72
78
|
padding_top: 400
|
73
79
|
padding_bottom: 50
|
74
80
|
opacity: 0.5
|
81
|
+
filters:
|
82
|
+
grayscale: 0.5
|
83
|
+
sepia: 0.5
|
75
84
|
|
76
85
|
# --------------------------------------------------------------------------
|
77
86
|
# layouts raw
|
@@ -51,7 +51,7 @@ defaults:
|
|
51
51
|
|
52
52
|
title_size: 3em
|
53
53
|
title_color: rgba(255, 255, 255, 0.8) # rgba_lighten_800
|
54
|
-
title_animate: animate__bounceInDown
|
54
|
+
title_animate: animate__bounceInDown # fadeInDown fadeInLeft
|
55
55
|
title_align: left
|
56
56
|
|
57
57
|
tagline_size: 1.5em
|
@@ -128,7 +128,7 @@ defaults:
|
|
128
128
|
|
129
129
|
raised_level: 5 # level
|
130
130
|
delay_menu_open: 200 # milli seconds
|
131
|
-
max_height:
|
131
|
+
max_height: 600 # px
|
132
132
|
menu_font_size: larger
|
133
133
|
megamenu_font_size: small
|
134
134
|
icon_family: MDI
|
@@ -146,7 +146,7 @@ defaults:
|
|
146
146
|
dropdown_animate_out: fadeOutDown
|
147
147
|
dropdown_animate_duration: .75 # seconds
|
148
148
|
dropdown_item_min_width: 15 # rem
|
149
|
-
dropdown_menu_max_height:
|
149
|
+
dropdown_menu_max_height: 27 # rem
|
150
150
|
dropdown_font_size: small
|
151
151
|
dropdown_padding_x: 18 # rem
|
152
152
|
dropdown_padding_y: 10 # px
|
@@ -240,7 +240,7 @@ defaults:
|
|
240
240
|
close_icon: close
|
241
241
|
clear_icon: format-clear
|
242
242
|
input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
|
243
|
-
background_color:
|
243
|
+
background_color: transparent # md-grey-50
|
244
244
|
placeholder: Your search expression
|
245
245
|
search_heading_lead: ""
|
246
246
|
result_heading_lead: ""
|
@@ -150,7 +150,7 @@ defaults:
|
|
150
150
|
|
151
151
|
reloadPageOnChange: false # reload current page, if theme has been changed
|
152
152
|
retries: 30 # retry to load theme list from API
|
153
|
-
preview_page: /pages/public/previewer/
|
153
|
+
preview_page: /pages/public/previewer/current_theme/
|
154
154
|
menu_icon_family: MDI
|
155
155
|
menu_icon_color: "#9E9E9E"
|
156
156
|
menu_icon_size: mdi-sm
|