j1-template 2024.3.13 → 2024.3.14
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/layouts/content_generator_news_panel_posts.html +1 -1
- data/_includes/themes/j1/layouts/layout_resource_generator.html +1 -4
- data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +24 -23
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +4 -3
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +37 -6
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +31 -95
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +51 -29
- data/assets/data/amplitude.28.html +887 -0
- data/assets/data/amplitude.29.html +923 -0
- data/assets/data/amplitude.html +311 -46
- data/assets/data/banner.html +9 -7
- data/assets/data/masterslider.html +128 -7
- data/assets/data/panel.html +16 -65
- data/assets/theme/j1/adapter/js/amplitude.23.js +1165 -0
- data/assets/theme/j1/adapter/js/amplitude.24.js +1164 -0
- data/assets/theme/j1/adapter/js/amplitude.25.js +1268 -0
- data/assets/theme/j1/adapter/js/amplitude.js +294 -117
- data/assets/theme/j1/adapter/js/attic.js +14 -11
- data/assets/theme/j1/adapter/js/docsearch.js +2 -2
- data/assets/theme/j1/adapter/js/fab.js +2 -2
- data/assets/theme/j1/adapter/js/j1.js +8 -8
- data/assets/theme/j1/adapter/js/lazyLoader.js +60 -10
- data/assets/theme/j1/adapter/js/masonry.js +1 -1
- data/assets/theme/j1/adapter/js/masterslider.js +2 -2
- data/assets/theme/j1/adapter/js/particles.js +2 -2
- data/assets/theme/j1/adapter/js/scroller.js +2 -2
- data/assets/theme/j1/adapter/js/slick.js +2 -2
- data/assets/theme/j1/adapter/js/themes.js +1 -1
- data/assets/theme/j1/adapter/js/translator.js +2 -2
- data/assets/theme/j1/adapter/js/waves.js +1 -1
- data/assets/theme/j1/core/css/animate.css +1634 -1070
- data/assets/theme/j1/core/css/animate.css.map +1 -0
- data/assets/theme/j1/core/css/animate.min.css +2 -1
- data/assets/theme/j1/core/css/animate.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.css +3060 -1538
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/fontawesome.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/iconify.css +2308 -1153
- data/assets/theme/j1/core/css/icon-fonts/iconify.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/iconify.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/iconify.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdi.css +16716 -8423
- data/assets/theme/j1/core/css/icon-fonts/mdi.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdi.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdi.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdib.css +5554 -2766
- data/assets/theme/j1/core/css/icon-fonts/mdib.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdib.min.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdil.css +742 -441
- data/assets/theme/j1/core/css/icon-fonts/mdil.css.map +1 -0
- data/assets/theme/j1/core/css/icon-fonts/mdil.min.css +2 -1
- data/assets/theme/j1/core/css/icon-fonts/mdil.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css +6552 -3980
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -5
- data/assets/theme/j1/core/css/themes/bootstrap/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.css +6818 -4131
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css +2 -5
- data/assets/theme/j1/core/css/themes/unodark/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +18568 -11577
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -0
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +2 -35
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -0
- data/assets/theme/j1/core/css/vendor.css +1771 -1043
- data/assets/theme/j1/core/css/vendor.css.map +1 -0
- data/assets/theme/j1/core/css/vendor.min.css +2 -1
- data/assets/theme/j1/core/css/vendor.min.css.map +1 -0
- data/assets/theme/j1/core/js/template.js +399 -447
- data/assets/theme/j1/core/js/template.min.js +7 -7
- data/assets/theme/j1/core/js/template.min.js.map +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +4 -2
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +39 -4
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +57 -17
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/pause.png +0 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.png +0 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/blue/play.svg +87 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +60 -0
- data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +59 -0
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.js +65 -21
- data/assets/theme/j1/modules/amplitudejs/js/amplitude.min.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +113 -0
- data/assets/theme/j1/modules/iconPicker/js/universal-icon-picker.js +471 -471
- data/assets/theme/j1/modules/j1LazyLoader/LICENSE +21 -0
- data/assets/theme/j1/modules/j1LazyLoader/js/j1Lazy.js +870 -0
- data/assets/theme/j1/modules/js-cookies/js/js.cookie.js +3 -3
- data/assets/theme/j1/modules/lazyCssLoader/js/main.0.js +166 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/main.1.js +65 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/main.js +66 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/examplePlugin.js +13 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/my-plugin.js +25 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/plugin-interface.js +9 -0
- data/assets/theme/j1/modules/lazyCssLoader/js/plugins/pluginA.js +46 -0
- data/assets/theme/j1/modules/lazyLoader/js/plugins/README.md +324 -0
- data/assets/theme/j1/modules/lazyLoader/js/plugins/jquery.lazy.picture.js +188 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +1 -1
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +794 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +151 -67
- data/assets/theme/j1/modules/slimSelect/js/select.js +1 -1
- data/assets/theme/j1/modules/slimSelect/js/select.min.js +3 -3
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +2 -1
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/dailymotion.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/icon/scalable/dailymotion.svg +62 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.js +832 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/v3.0.0/youtube.min.js +17 -0
- data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.min.js +1 -1
- data/assets/theme/j1/modules/videojs/js/video.js +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +577 -560
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/footer.yml +10 -5
- data/lib/starter_web/_data/blocks/panel.yml +2 -2
- data/lib/starter_web/_data/layouts/default.yml +14 -3
- data/lib/starter_web/_data/modules/amplitude.yml +145 -0
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +29 -7
- data/lib/starter_web/_data/modules/defaults/lazyLoader.yml +2 -2
- data/lib/starter_web/_data/modules/gallery.yml +136 -0
- data/lib/starter_web/_data/modules/lazyLoader.0.yml +118 -0
- data/lib/starter_web/_data/modules/lazyLoader.yml +68 -31
- data/lib/starter_web/_data/modules/masonry.yml +4 -4
- data/lib/starter_web/_data/modules/masterslider.yml +118 -12
- data/lib/starter_web/_data/modules/navigator_menu.yml +831 -803
- data/lib/starter_web/_data/resources.yml +154 -190
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +1 -0
- data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +4 -2
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +58 -46
- data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +26 -19
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +30 -40
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/icons/lanus/favicon.ico +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus-512x512.png +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus.ico +0 -0
- data/lib/starter_web/assets/image/icons/lanus/lanus.png +0 -0
- data/lib/starter_web/assets/image/icons/lanus/scalable/lanus.svg +76 -0
- data/lib/starter_web/assets/image/icons/lanus/scalable/lanus_sw.svg +62 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28 - social.svg +86 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x-28.svg +64 -0
- data/lib/starter_web/assets/image/modules/icons/social/scalable/icon-twitter-x.svg +1 -0
- data/lib/starter_web/assets/image/modules/icons/social/twitter_x.png +0 -0
- data/lib/starter_web/package.json +7 -18
- data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +218 -0
- data/lib/starter_web/pages/public/features/template.adoc +18 -8
- data/lib/starter_web/pages/public/features/template.asciidoc +758 -0
- data/lib/starter_web/pages/public/lazy_loader_tester.adoc +402 -0
- data/lib/starter_web/pages/public/manuals/ytdl/man.adoc +3020 -0
- data/lib/starter_web/pages/public/manuals/ytdl/man.md +2378 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/attributes.asciidoc +0 -16
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/amplitudejs.large.css.asciidoc +505 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_amplitudejs.adoc +172 -0
- data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/tour/_includes/documents/419_advanced_modals_demo.asciidoc +16 -16
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +13 -3
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +12 -3
- data/lib/starter_web/pages/public/tour/highlghter_rouge.adoc +13 -3
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +12 -3
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -6
- data/lib/starter_web/pages/public/tour/{playback_audio.adoc → play_audio.adoc} +207 -188
- data/lib/starter_web/pages/public/tour/{playback_video.adoc → play_video.adoc} +49 -51
- data/lib/starter_web/pages/public/tour/present_images.adoc +27 -5
- data/lib/starter_web/pages/public/tour/quicksearch.adoc +13 -3
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +13 -4
- data/lib/starter_web/pages/public/tour/typography.adoc +12 -3
- metadata +90 -22
- /data/assets/theme/j1/modules/{lazyLoader → j1LazyLoader/js}/plugins/README.md +0 -0
- /data/assets/theme/j1/modules/{lazyLoader/plugins/jquery.lazy.picture.js → j1LazyLoader/js/plugins/picture.js} +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.ajax.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.av.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.iframe.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.noop.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.picture.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.script.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.vimeo.min.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.js +0 -0
- /data/assets/theme/j1/modules/lazyLoader/{plugins → js/plugins}/jquery.lazy.youtube.min.js +0 -0
data/lib/starter_web/README.md
CHANGED
@@ -1,560 +1,577 @@
|
|
1
|
-
# All you need for your new amazing site
|
2
|
-
|
3
|
-
Jekyll meets Bootstrap - and makes a lot of friends. J1
|
4
|
-
the best of
|
5
|
-
`Jekyll`. J1 is
|
6
|
-
private or professional use. Explore this site to learn what's possible if
|
7
|
-
you go to the Jekyll Way.
|
8
|
-
|
9
|
-
![Screenshot](https://github.com/jekyll-one-org/j1-template/raw/main/
|
10
|
-
|
11
|
-
* Fully Responsive. J1
|
12
|
-
devices for best results on PCs, Tablets, and SmartPhones.
|
13
|
-
* Full Bootstpap V5 support. Current Technology and Design. Excellent
|
14
|
-
performance running desktop and mobile websites. Use Jekyll One to
|
15
|
-
present your content at its best.
|
16
|
-
* Start in no time. No programming is needed to start using J1. The
|
17
|
-
Template provides a large number of building blocks to create modern
|
18
|
-
web pages in minutes.
|
19
|
-
|
20
|
-
**Create powerful modern Static Webs: Secure, Flexible and Fast.**
|
21
|
-
|
22
|
-
Have fun!
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
*
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
*
|
53
|
-
*
|
54
|
-
*
|
55
|
-
*
|
56
|
-
*
|
57
|
-
* Responsive
|
58
|
-
|
59
|
-
*
|
60
|
-
*
|
61
|
-
*
|
62
|
-
*
|
63
|
-
*
|
64
|
-
*
|
65
|
-
*
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
*
|
72
|
-
*
|
73
|
-
*
|
74
|
-
*
|
75
|
-
*
|
76
|
-
*
|
77
|
-
*
|
78
|
-
*
|
79
|
-
*
|
80
|
-
* Navigation
|
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
|
-
current
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
### Development packages
|
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
|
-
software
|
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
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
..
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
```
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
1
|
+
# All you need for your new amazing site
|
2
|
+
|
3
|
+
Jekyll meets Bootstrap - and makes a lot of friends. J1 Template combines
|
4
|
+
the best of Open Source software for the Web and the Web site generator
|
5
|
+
`Jekyll`. J1 is Open Source, and so are the packaged modules - no pain for
|
6
|
+
private or professional use. Explore this site to learn what's possible if
|
7
|
+
you go to the Jekyll Way.
|
8
|
+
|
9
|
+
![Screenshot](https://github.com/jekyll-one-org/j1-template/raw/main/starter-screenshot.jpg "J1 Template Web")
|
10
|
+
|
11
|
+
* Fully Responsive. J1 Template supports modern web browsers on all
|
12
|
+
devices for best results on PCs, Tablets, and SmartPhones.
|
13
|
+
* Full Bootstpap V5 support. Current Technology and Design. Excellent
|
14
|
+
performance running desktop and mobile websites. Use Jekyll One to
|
15
|
+
present your content at its best.
|
16
|
+
* Start in no time. No programming is needed to start using J1. The
|
17
|
+
Template provides a large number of building blocks to create modern
|
18
|
+
web pages in minutes.
|
19
|
+
|
20
|
+
**Create powerful modern Static Webs: Secure, Flexible and Fast.**
|
21
|
+
|
22
|
+
Have fun!
|
23
|
+
|
24
|
+
# Live Demo
|
25
|
+
|
26
|
+
J1 Template comes with a build-in Web included, a skeleton for your new Web
|
27
|
+
site. This Web is called the **build-in Web**, a general-purpose Website
|
28
|
+
scaffold to be modified for your needs. The built-in Web can be visited live
|
29
|
+
at [starter.jekyll.one](https://starter.jekyll.one/).
|
30
|
+
|
31
|
+
**Have fun exploring what a modern static web, a Jekyll site can do**!
|
32
|
+
|
33
|
+
# Features
|
34
|
+
|
35
|
+
The template combines the best free software for the web. Jekyll One Theme
|
36
|
+
is Open Source and the modules included are free to use as well. No license
|
37
|
+
issues for private or professional use.
|
38
|
+
|
39
|
+
* Fully Responsive. J1 Theme supports modern web browsers on all
|
40
|
+
devices for best results on PCs, Tablets, and SmartPhones.
|
41
|
+
* Full Bootstpap V5 support. Current Technology and Design. Excellent
|
42
|
+
performance running desktop and mobile websites. Use Jekyll One to
|
43
|
+
present your content at its best.
|
44
|
+
* Start in no time. No programming is needed to start using J1. The
|
45
|
+
Template provides a large number of building blocks to create modern
|
46
|
+
web pages in minutes.
|
47
|
+
|
48
|
+
## General
|
49
|
+
|
50
|
+
* Jekyll V4 support
|
51
|
+
* Ruby V3 support
|
52
|
+
* Bootstrap V5 support
|
53
|
+
* Asciidoc (Asciidoctor) and Markdown support
|
54
|
+
* Asciidoctor plugins included
|
55
|
+
* Responsive Design
|
56
|
+
* Responsive Text
|
57
|
+
* Responsive HTML tables
|
58
|
+
+ Full-text search
|
59
|
+
* Compressed HTML, CSS and Javascript support
|
60
|
+
* Themes support
|
61
|
+
* Icon Font support (MDI, FA, Iconify)
|
62
|
+
* Themeable source code highlighting
|
63
|
+
* Desktop and Mobile Web and Navigation ready
|
64
|
+
* Fully configurable
|
65
|
+
* Highest Google Lighthouse scores
|
66
|
+
|
67
|
+
## Modules and Extensions
|
68
|
+
|
69
|
+
* Bootstrap V5 extensions included
|
70
|
+
* Bootstrap V% Themes Support included
|
71
|
+
* Asciidoctor extensions included
|
72
|
+
* Advanced Banners and Panels included
|
73
|
+
* Source Code Hightlighter (Rouge) included
|
74
|
+
* Smooth Srcoll support
|
75
|
+
* Infine Srcoll support
|
76
|
+
* Animate on Srcoll support
|
77
|
+
* Full-text Search Engine included (Lunr)
|
78
|
+
* Desktop Web Navigation included
|
79
|
+
* Mobile Web Navigation included
|
80
|
+
* Blog Post Navigation included
|
81
|
+
* GDPR compatible Cookie Consent module included
|
82
|
+
* Translator module (Google Translator) included
|
83
|
+
* Master Header module included
|
84
|
+
* Clipboard module included
|
85
|
+
* TOC module included
|
86
|
+
* Floating Action Buttons (FAB) included
|
87
|
+
* Lightbox module included
|
88
|
+
* Gallery module included
|
89
|
+
* Carousel and Slider modules included
|
90
|
+
* Video modules included
|
91
|
+
* Masonry module included
|
92
|
+
|
93
|
+
## Addons and Integrations
|
94
|
+
|
95
|
+
* Featured Example Content included
|
96
|
+
* Royalty Free Images included
|
97
|
+
* Asciidoc (Asciidoctor) and Markdown (Kramdown) support
|
98
|
+
* Icon Fonts (FA, MDI, Iconify) included
|
99
|
+
* Video Player (HTML, YouTube, Vimeo, Dailymotion) included
|
100
|
+
* Scalable Text Support
|
101
|
+
* Comment Provider support (Hyvor and Disqus)
|
102
|
+
* Google Analytics support
|
103
|
+
* Support for Jupyter Notebooks
|
104
|
+
* Deploy on Github Pages (source only), Netlify and Heroku ready
|
105
|
+
|
106
|
+
|
107
|
+
# Supported platforms
|
108
|
+
|
109
|
+
J1 is supported on all current **x64-based** OS:
|
110
|
+
|
111
|
+
* Windows 10, build >= 1903
|
112
|
+
* Windows WSL 2
|
113
|
+
* Linux, Kernel version >= 4.15 (e.g. Ubuntu 18.x LTS)
|
114
|
+
* OSX, version >= 10.10.5 (Yosemite)
|
115
|
+
|
116
|
+
Note that 32-bit versions (x32) are generally **not** supported for
|
117
|
+
**all** platforms.
|
118
|
+
|
119
|
+
|
120
|
+
# Development languages and tools
|
121
|
+
|
122
|
+
To run the Development System for J1 Theme, the following languages and
|
123
|
+
tools expected to be in place with your OS:
|
124
|
+
|
125
|
+
* Ruby language, version >= 2.7
|
126
|
+
* Python language, version > 2.7 (optional) <1>
|
127
|
+
* Javascript language (NodeJS), version >= 14.x < 15.x
|
128
|
+
* Git, version >= 2.29 (optional) <2>
|
129
|
+
* Jekyll, version 4.2.x
|
130
|
+
|
131
|
+
<1> Required only for **full** Jupyter Notebook support.
|
132
|
+
<2> Required only if J1 Projects should be managed as repos.
|
133
|
+
|
134
|
+
**NOTE**: More current or older versions may work, but not tested.
|
135
|
+
|
136
|
+
## Development packages
|
137
|
+
|
138
|
+
For some of the components J1 is using, a working C/C++ development
|
139
|
+
environment is needed to compile platform-specific libraries. Ensure
|
140
|
+
that all dev packages are installed for your OS (Linux, OSX, or Windows).
|
141
|
+
|
142
|
+
### Development packages for Windows
|
143
|
+
|
144
|
+
For Ruby on Windows, a installation using **RubyInstaller** is recommended.
|
145
|
+
A current Ruby of version **3.1** is available at the
|
146
|
+
[RubyInstaller V31](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.3-1/rubyinstaller-devkit-3.1.3-1-x64.exe)
|
147
|
+
site.
|
148
|
+
Note, to automatically install a development environment for Ruby on *Windows*,
|
149
|
+
a version of Ruby should be installed that is already **bundled** with a
|
150
|
+
**DEVKIT** (MSYS2 toolchain).
|
151
|
+
|
152
|
+
### Development packages on Linux (Ubuntu)
|
153
|
+
|
154
|
+
In order to install all required development components on e.g. Ubuntu
|
155
|
+
you run:
|
156
|
+
|
157
|
+
``` sh
|
158
|
+
sudo apt-get -y install \
|
159
|
+
gcc g++ make \
|
160
|
+
autoconf bison build-essential \
|
161
|
+
libssl-dev \
|
162
|
+
libyaml-dev \
|
163
|
+
libreadline-dev \
|
164
|
+
zlib1g-dev \
|
165
|
+
libncurses5-dev \
|
166
|
+
libffi-dev \
|
167
|
+
libgdbm-dev
|
168
|
+
```
|
169
|
+
|
170
|
+
To install the required languages and tools, if not already in place, the
|
171
|
+
following commands can be used to do so:
|
172
|
+
|
173
|
+
``` sh
|
174
|
+
sudo apt-get -y install \
|
175
|
+
curl \
|
176
|
+
git-all \
|
177
|
+
nodejs \
|
178
|
+
ruby
|
179
|
+
```
|
180
|
+
|
181
|
+
Additionally, for Ruby and NodeJS the dev-packages are to be installed to
|
182
|
+
make all header files available for a working C/C++ development environment:
|
183
|
+
|
184
|
+
``` sh
|
185
|
+
sudo apt-get -y install \
|
186
|
+
nodejs-dev \
|
187
|
+
ruby-dev
|
188
|
+
```
|
189
|
+
|
190
|
+
Note that priviliged (administrative) user rights are needed to install
|
191
|
+
system-wide software packages for Ruby and the OS.
|
192
|
+
|
193
|
+
### Development packages on OSX
|
194
|
+
|
195
|
+
For all OSX system, the installation of the Apple Developer Tools (XCode)
|
196
|
+
is expected. Development tools like Ruby, NodeJS, or the bash comes
|
197
|
+
with the OS are **not** recommended to use. Most of the software comes in
|
198
|
+
quite old versions and therefor unusable for J1 development.
|
199
|
+
|
200
|
+
To install recommended versions, the easiest way to install the missing
|
201
|
+
software is [Homebrew](https://brew.sh/). A lot of helpful information
|
202
|
+
how to manage package installations using Homebrew can be found on the
|
203
|
+
internet.
|
204
|
+
|
205
|
+
Beside the base installation of the recommend tools, all other recommendations
|
206
|
+
for Linux systems are for OSX the same.
|
207
|
+
|
208
|
+
## Upgrades needed for all platforms
|
209
|
+
|
210
|
+
If Ruby and NodeJS are in place, some packeages are to be upgraded to more
|
211
|
+
current versions. Install all packages system-wide with their respective
|
212
|
+
product installation pathes.
|
213
|
+
|
214
|
+
### Upgrades needed for Ruby <= v2.7
|
215
|
+
|
216
|
+
Install latest bundler for Ruby:
|
217
|
+
|
218
|
+
``` sh
|
219
|
+
gem install bundler --no-document
|
220
|
+
```
|
221
|
+
|
222
|
+
Install latest RubyGems for Ruby:
|
223
|
+
|
224
|
+
``` sh
|
225
|
+
gem install rubygems-update --no-document
|
226
|
+
update_rubygems --no-document
|
227
|
+
gem update --system
|
228
|
+
```
|
229
|
+
|
230
|
+
### Upgrades needed for NodeJS
|
231
|
+
|
232
|
+
NodeJS comes with NPM pre-installed. The native CLI for the NodeJS package
|
233
|
+
management is `npm`. Besides `npm` there's another quite handy CLI for NPM
|
234
|
+
available: *Yarn*.
|
235
|
+
|
236
|
+
The CLI `yarn` is developed at Facebook and can be used as a replacement
|
237
|
+
for `npm`. From a top-level perspective, both package management clients
|
238
|
+
behave pretty much the same. The syntax `yarn` uses is shorter in writing,
|
239
|
+
making the command-line look a bit more natural. Therefore, we prefer to
|
240
|
+
use `yarn`.
|
241
|
+
|
242
|
+
**NOTE**: Yarn adds some additional features to the NodeJS package
|
243
|
+
management implemented for the needs at Facebook. To use J1 Theme, those
|
244
|
+
add-ons are neither needed nor used.
|
245
|
+
|
246
|
+
Install latest *NPM* and *Yarn* packages for *NodeJS*:
|
247
|
+
|
248
|
+
``` sh
|
249
|
+
npm install -g npm@latest
|
250
|
+
npm install -g yarn@latest
|
251
|
+
```
|
252
|
+
|
253
|
+
# Managing J1 Projects
|
254
|
+
|
255
|
+
Managing J1 Theme projects is very simple:
|
256
|
+
|
257
|
+
* Install J1 Theme
|
258
|
+
* Setup a project
|
259
|
+
* Initialize the project
|
260
|
+
* Run the J1 Project
|
261
|
+
|
262
|
+
## Install J1 Theme
|
263
|
+
|
264
|
+
You can install J1 Theme in two ways:
|
265
|
+
|
266
|
+
* Installing the Ruby Gem of J1 Theme (recommended)
|
267
|
+
* Clone the current J1 Theme Repo from *Github*
|
268
|
+
|
269
|
+
The recommended method to install J1 is using the the **Ruby Gem**.
|
270
|
+
If you're using *Git* already, cloning the Repo at *Github* may an
|
271
|
+
option.
|
272
|
+
|
273
|
+
### Installing the Ruby Gem
|
274
|
+
|
275
|
+
It is highly recommended to install all project-related Ruby GEMs so-called
|
276
|
+
**userized**. The **user install** option of the *RubyGems* CLI **gem** will
|
277
|
+
install all requested Ruby Gems in the **home directory** of a user.
|
278
|
+
Installing userized prevents polluting the System Ruby Installation by
|
279
|
+
packages only needed by specific users or projects.
|
280
|
+
|
281
|
+
**IMPORTANT**: If you're on *Linux* (Unix), a system-wide installation of
|
282
|
+
Ruby GEMs requires **elevated** user rights (root). *Userized* installations
|
283
|
+
of Ruby packages can be done by all users **without** having elevated
|
284
|
+
user rights.
|
285
|
+
|
286
|
+
J1 Theme uses the **user install** option internally by **default**.
|
287
|
+
All depended Ruby GEMs are installed in the user's home directory in
|
288
|
+
folder `.gem`.
|
289
|
+
|
290
|
+
Prior to install the J1 Gem, make sure that a `.gem` folder already **exists**
|
291
|
+
in your **home** directory.
|
292
|
+
|
293
|
+
On *Windows*, run:
|
294
|
+
|
295
|
+
mkdir %HOMEDRIVE%%HOMEPATH%\.gem
|
296
|
+
|
297
|
+
On *Unix/linux*, run:
|
298
|
+
|
299
|
+
md $HOME/.gem
|
300
|
+
|
301
|
+
The latest version of J1 Theme is available at
|
302
|
+
<a href="https://rubygems.org/gems/j1-template/" target="_blank">RubyGems</a>
|
303
|
+
or can installed by the RubyGems CLI **gem**:
|
304
|
+
|
305
|
+
gem install j1-template --no-document --user-install
|
306
|
+
|
307
|
+
**NOTE** The installation of the Gem will resolve all dependencies and
|
308
|
+
downloaad|install all dpended Ruby GEMs as required (userized).
|
309
|
+
|
310
|
+
### Checkout the Repo from Github
|
311
|
+
|
312
|
+
The Repo for the **latest** version of J1 Theme is published on Github.
|
313
|
+
You can get it by **cloning** the repository using **Git**`:
|
314
|
+
|
315
|
+
git clone https://github.com/jekyll-one/j1-starter
|
316
|
+
|
317
|
+
The repo gets written to folder `j1-starter`. Have a look and
|
318
|
+
browse the folder. You'll see a structure like this:
|
319
|
+
|
320
|
+
General J1 Project Repo structure:
|
321
|
+
|
322
|
+
``` sh
|
323
|
+
├──── j1-starter
|
324
|
+
│ └─── _data
|
325
|
+
| └─── _includes
|
326
|
+
│ └─── _plugins
|
327
|
+
│ └─── assets
|
328
|
+
│ └─── collections
|
329
|
+
│ └─── dot.bundle
|
330
|
+
│ └─── pages
|
331
|
+
├──── dot.gitattributes
|
332
|
+
├──── dot.gitignore
|
333
|
+
├──── dot.ruby-version
|
334
|
+
├──── dot.nojekyll
|
335
|
+
├──── dot.ruby-version
|
336
|
+
├──── favicon.ico
|
337
|
+
├──── Gemfile
|
338
|
+
├──── index.html
|
339
|
+
├──── LICENSE.md
|
340
|
+
├──── package.json
|
341
|
+
└──── README.md
|
342
|
+
```
|
343
|
+
|
344
|
+
**NOTE**: It is recommended to rename the folder `j1-template-starter` of
|
345
|
+
the cloned repo to a more specific (project) name.
|
346
|
+
|
347
|
+
All development **tasks** are defined as NPM **scripts** with the project
|
348
|
+
config file `package.json`. For your convenience, the J1 Theme Gem
|
349
|
+
comes with a build-in CLI **j1** run all project-related commands;
|
350
|
+
no need to learn **npm** or how to manage **NodeJS** projects.
|
351
|
+
|
352
|
+
|
353
|
+
## Setup the Project
|
354
|
+
|
355
|
+
The setup procedure depends on how you installed J1 Theme. If you are
|
356
|
+
using the J1 GEM as recommended, you need to **create** a personal project
|
357
|
+
first. If you have cloned the J1 Theme Repo from *Github*, the project
|
358
|
+
is already created by the clone's folder and you can skip the creation of
|
359
|
+
a project; continue on section **Initialize a J1 Project**.
|
360
|
+
|
361
|
+
### Create a J1 Project
|
362
|
+
|
363
|
+
First, you should make a folder holding all your J1 projects.
|
364
|
+
On *Windows*, run:
|
365
|
+
|
366
|
+
mkdir %HOMEDRIVE%%HOMEPATH%\j1-projects
|
367
|
+
|
368
|
+
Managing J1 Projects is simple: all tasks you need are run by the buildin
|
369
|
+
CLI **j1**. To create a new project inside the projects folder, run:
|
370
|
+
|
371
|
+
cd %HOMEDRIVE%%HOMEPATH%\j1-projects && j1 generate my-starter
|
372
|
+
|
373
|
+
This command creates a **initial** project in folder **my-starter**.
|
374
|
+
|
375
|
+
```
|
376
|
+
2023-02-28 18:12:08 - GENERATE: Running bundle install in C:/Users/xxx/j1-projects/my-starter ...
|
377
|
+
2023-02-28 18:12:08 - GENERATE: Install bundle in USER gem folder ~/.gem ...
|
378
|
+
2023-02-28 18:12:12 - GENERATE: Fetching gem metadata from https://rubygems.org/..........
|
379
|
+
2023-02-28 18:12:12 - GENERATE: Resolving dependencies...
|
380
|
+
2023-02-28 18:12:12 - GENERATE: Using bundler 2.3.7
|
381
|
+
...
|
382
|
+
2023-02-28 18:12:12 - GENERATE: Using j1-template 2024.3.14
|
383
|
+
2023-02-28 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
384
|
+
2023-02-28 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
|
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;
|
386
|
+
2023-02-28 18:12:13 - GENERATE: Install patches in USER gem folder ~/.gem ...
|
387
|
+
2023-02-28 18:12:13 - GENERATE: Install patches on path C:/Users/xxx/.gem/ruby/3.1.0 ...
|
388
|
+
2023-02-28 18:12:13 - GENERATE: Patches already installed, skip install.
|
389
|
+
2023-02-28 18:12:13 - GENERATE: Generated Jekyll site installed in folder C:/Users/xxx/j1-projects/my-starter
|
390
|
+
2023-02-28 18:12:13 - GENERATE: To setup the site, change to the project folder C:/Users/xxx/j1-projects/my-starter and run: j1 setup
|
391
|
+
```
|
392
|
+
|
393
|
+
## Initialize the project
|
394
|
+
|
395
|
+
To make a project usable, is has to be initialzed first. This is needed
|
396
|
+
only once after you create a **new** project.
|
397
|
+
On *Windows*, run the `setup` task like so:
|
398
|
+
|
399
|
+
cd %HOMEDRIVE%%HOMEPATH%\j1-projects\my-starter && j1 setup
|
400
|
+
|
401
|
+
**NOTE**: While initializing a project, the J1 Theme Gem is downloaded as
|
402
|
+
a dependecy (if **not** already installed). For the users **cloned** the J1
|
403
|
+
Template repo (as a project), the J1 GEM will be installed and all **j1**
|
404
|
+
commands are available as well.
|
405
|
+
|
406
|
+
```
|
407
|
+
Check consistency of the J1 project ...
|
408
|
+
2023-02-28 18:17:47 - SETUP: Running bundle install in C:/Users/xxx/j1-projects/my-starter ...
|
409
|
+
2023-02-28 18:17:47 - SETUP: Install bundle in USER gem folder ~/.gem ...
|
410
|
+
...
|
411
|
+
2023-02-28 18:17:48 - SETUP: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
412
|
+
2023-02-28 18:17:48 - SETUP: Bundled gems are installed into `../../.gem`
|
413
|
+
2023-02-28 18:17:48 - SETUP: Install patches in USER gem folder ~/.gem ...
|
414
|
+
2023-02-28 18:17:48 - SETUP: Install patches on path C:/Users/xxx/.gem/ruby/3.1.0 ...
|
415
|
+
2023-02-28 18:17:48 - SETUP: Initialize the project ...
|
416
|
+
2023-02-28 18:17:48 - SETUP: Be patient, this will take a while ...
|
417
|
+
2023-02-28 18:17:49 - SETUP:
|
418
|
+
2023-02-28 18:17:49 - SETUP: > j1@2024.3.14 setup C:\Users\xxx\j1-projects\my-starter
|
419
|
+
2023-02-28 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
|
420
|
+
2023-02-28 18:17:49 - SETUP:
|
421
|
+
2023-02-28 18:17:50 - SETUP: Setup project for first use ..
|
422
|
+
2023-02-28 18:17:50 - SETUP: Bootstrap base modules ..
|
423
|
+
2023-02-28 18:18:05 - SETUP: done.
|
424
|
+
2023-02-28 18:18:05 - SETUP: Configure environment ..
|
425
|
+
2023-02-28 18:18:09 - SETUP: done.
|
426
|
+
2023-02-28 18:18:09 - SETUP: Create project folders ..
|
427
|
+
...
|
428
|
+
2023-02-28 18:18:25 - SETUP: done.
|
429
|
+
2023-02-28 18:18:26 - SETUP: Detect OS ..
|
430
|
+
2023-02-28 18:18:27 - SETUP: OS detected: Windows_NT
|
431
|
+
2023-02-28 18:18:28 - SETUP: Build site incremental ..
|
432
|
+
2023-02-28 18:18:31 - SETUP: Configuration file: C:/Users/jadams/j1-projects/my-starter/_config.yml
|
433
|
+
2023-02-28 18:18:34 - SETUP: Source: C:/Users/jadams/j1-projects/my-starter
|
434
|
+
2023-02-28 18:18:34 - SETUP: Destination: C:/Users/jadams/j1-projects/my-starter/_site
|
435
|
+
2023-02-28 18:18:34 - SETUP: Incremental build: enabled
|
436
|
+
2023-02-28 18:18:34 - SETUP: Generating...
|
437
|
+
2023-02-28 18:18:36 - SETUP: J1 Lunr: creating search index ...
|
438
|
+
2023-02-28 18:18:38 - SETUP: J1 Lunr: finished, index ready.
|
439
|
+
2023-02-28 18:18:38 - SETUP: J1 Paginator: autopages, disabled|not configured
|
440
|
+
2023-02-28 18:18:38 - SETUP: J1 Paginator: pagination enabled, start processing ...
|
441
|
+
2023-02-28 18:18:38 - SETUP: J1 Paginator: finished, processed 2 pagination page|s
|
442
|
+
2023-02-28 18:19:28 - SETUP: done in 53.925 seconds.
|
443
|
+
2023-02-28 18:19:28 - SETUP: Auto-regeneration: disabled. Use --watch to enable.
|
444
|
+
2023-02-28 18:19:28 - SETUP: .. build finished.
|
445
|
+
2023-02-28 18:19:29 - SETUP: To open the site, run: yarn site
|
446
|
+
2023-02-28 18:19:29 - SETUP: Initializing the project finished successfully.
|
447
|
+
2023-02-28 18:19:29 - SETUP: To open your site, run: j1 site
|
448
|
+
```
|
449
|
+
|
450
|
+
## Run the J1 Project
|
451
|
+
|
452
|
+
After the setup process has been finished, you can run a project by running
|
453
|
+
`j1 site`. Finally, the buildin Starter Web get openend in your default
|
454
|
+
browser. Let's start the journey ...
|
455
|
+
|
456
|
+
cd %HOMEDRIVE%%HOMEPATH%\j1-projects\mystarter && j1 site
|
457
|
+
|
458
|
+
``` sh
|
459
|
+
Check consistency of the J1 project ...
|
460
|
+
Check setup state of the J1 project ...
|
461
|
+
2023-02-28 18:26:18 - SITE: Starting up your site ...
|
462
|
+
2023-02-28 18:26:18 - SITE:
|
463
|
+
2023-02-28 18:26:18 - SITE: > j1@2024.3.14 j1-site C:\Users\jadams\j1-projects\my-starter
|
464
|
+
2023-02-28 18:26:18 - SITE: > run-p -s j1-site:*
|
465
|
+
2023-02-28 18:26:18 - SITE:
|
466
|
+
2023-02-28 18:26:20 - SITE: Startup UTILSRV ..
|
467
|
+
2023-02-28 18:26:21 - SITE: Log file exists : messages_2023-02-28
|
468
|
+
2023-02-28 18:26:21 - SITE: Stop the server. Exiting ...
|
469
|
+
2023-02-28 18:26:21 - SITE: Reset file: messages_2023-02-28
|
470
|
+
2023-02-28 18:26:21 - SITE: Configuration file: C:/Users/jadams/j1-projects/my-starter/_config.yml
|
471
|
+
2023-02-28 18:26:24 - SITE: Source: C:/Users/jadams/j1-projects/my-starter
|
472
|
+
2023-02-28 18:26:24 - SITE: Destination: C:/Users/jadams/j1-projects/my-starter/_site
|
473
|
+
2023-02-28 18:26:24 - SITE: Incremental build: enabled
|
474
|
+
2023-02-28 18:26:24 - SITE: Generating...
|
475
|
+
2023-02-28 18:26:27 - SITE: J1 Lunr: creating search index ...
|
476
|
+
2023-02-28 18:26:28 - SITE: J1 Lunr: finished, index ready.
|
477
|
+
2023-02-28 18:26:28 - SITE: J1 Paginator: autopages, disabled|not configured
|
478
|
+
2023-02-28 18:26:28 - SITE: J1 Paginator: pagination enabled, start processing ...
|
479
|
+
2023-02-28 18:26:28 - SITE: J1 Paginator: finished, processed 2 pagination page|s
|
480
|
+
2023-02-28 18:26:35 - SITE: done in 10.408 seconds.
|
481
|
+
2023-02-28 18:26:38 - SITE: Auto-regeneration: enabled for '.'
|
482
|
+
2023-02-28 18:26:39 - SITE: LiveReload address: http://localhost:35729
|
483
|
+
2023-02-28 18:26:39 - SITE: Server address: http://localhost:40000/
|
484
|
+
2023-02-28 18:26:39 - SITE: Server running... press ctrl-c to stop.
|
485
|
+
```
|
486
|
+
|
487
|
+
## Rebuild a project
|
488
|
+
|
489
|
+
For some reason, it may needed to re-create an existing project. The task
|
490
|
+
`rebuild` rebuild all documents (pages and posts) from the scratch but
|
491
|
+
leaves the base project files untouched.
|
492
|
+
To **reset** a project, run (inside the project folder):
|
493
|
+
|
494
|
+
j1 reset
|
495
|
+
|
496
|
+
``` sh
|
497
|
+
Check consistency of the J1 project ...
|
498
|
+
Check setup state of the J1 project ...
|
499
|
+
REBUILD: Rebuild the projects website ...
|
500
|
+
REBUILD: Be patient, this will take a while ...
|
501
|
+
2023-02-28 18:45:09 - REBUILD:
|
502
|
+
2023-02-28 18:45:09 - REBUILD: > j1@2024.3.14 rebuild C:\Users\xxx\j1-projects\my-starter
|
503
|
+
2023-02-28 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
|
504
|
+
2023-02-28 18:45:09 - REBUILD:
|
505
|
+
2023-02-28 18:45:10 - REBUILD: Rebuild site incremental ..
|
506
|
+
2023-02-28 18:45:10 - REBUILD: Clean up site files ..
|
507
|
+
2023-02-28 18:45:12 - REBUILD: Configuration file: C:/Users/xxx/j1-projects/my-starter/_config.yml
|
508
|
+
2023-02-28 18:45:13 - REBUILD: Cleaner: Removing _site...
|
509
|
+
2023-02-28 18:45:13 - REBUILD: Cleaner: Removing ./.jekyll-metadata...
|
510
|
+
2023-02-28 18:45:13 - REBUILD: Cleaner: Removing ./.jekyll-cache...
|
511
|
+
2023-02-28 18:45:14 - REBUILD: Cleaner: Nothing to do for .sass-cache.
|
512
|
+
2023-02-28 18:45:17 - REBUILD: Configuration file: C:/Users/xxx/j1-projects/my-starter/_config.yml
|
513
|
+
2023-02-28 18:45:19 - REBUILD: Source: C:/Users/xxx/j1-projects/my-starter
|
514
|
+
2023-02-28 18:45:19 - REBUILD: Destination: C:/Users/xxx/j1-projects/my-starter/_site
|
515
|
+
2023-02-28 18:45:19 - REBUILD: Incremental build: enabled
|
516
|
+
2023-02-28 18:45:19 - REBUILD: Generating...
|
517
|
+
2023-02-28 18:45:21 - REBUILD: J1 Lunr: creating search index ...
|
518
|
+
2023-02-28 18:45:23 - REBUILD: J1 Lunr: finished, index ready.
|
519
|
+
2023-02-28 18:45:23 - REBUILD: J1 Paginator: autopages, disabled|not configured
|
520
|
+
2023-02-28 18:45:23 - REBUILD: J1 Paginator: pagination enabled, start processing ...
|
521
|
+
2023-02-28 18:45:23 - REBUILD: J1 Paginator: finished, processed 2 pagination page|s
|
522
|
+
2023-02-28 18:46:11 - REBUILD: done in 52.09 seconds.
|
523
|
+
2023-02-28 18:46:11 - REBUILD: Auto-regeneration: disabled. Use --watch to enable.
|
524
|
+
2023-02-28 18:46:12 - REBUILD: .. rebuild finished.
|
525
|
+
2023-02-28 18:46:12 - REBUILD: To open the site, run: yarn site
|
526
|
+
REBUILD: The projects website has been rebuild successfully.
|
527
|
+
REBUILD: To open the site, run: j1 site
|
528
|
+
```
|
529
|
+
|
530
|
+
|
531
|
+
## Reset a project
|
532
|
+
|
533
|
+
To start a project from the beginning, you can reset the system to the
|
534
|
+
factory state. The task `reset` does the resetting work for you
|
535
|
+
and cleans up each and everything except the **Git** repo and the modules
|
536
|
+
folder `node_modules` stored in the project root. Both are kept untouched
|
537
|
+
by a reset.
|
538
|
+
|
539
|
+
j1 reset
|
540
|
+
|
541
|
+
The cleanup runs some tasks for the root folder and in parallel sub-tasks
|
542
|
+
using Lerna for all packages:
|
543
|
+
|
544
|
+
```
|
545
|
+
Check consistency of the J1 project ...
|
546
|
+
Check setup state of the J1 project ...
|
547
|
+
2023-02-28 18:29:07 - RESET: Reset the project to factory state ...
|
548
|
+
2023-02-28 18:29:07 - RESET: Be patient, this will take a while ...
|
549
|
+
2023-02-28 18:29:08 - RESET:
|
550
|
+
2023-02-28 18:29:08 - RESET: > j1@2024.3.14 reset C:\Users\xxx\j1-projects\my-starter
|
551
|
+
2023-02-28 18:29:08 - RESET: > run-s -s reset:*
|
552
|
+
2023-02-28 18:29:08 - RESET:
|
553
|
+
2023-02-28 18:29:08 - RESET: Reset project to factory state ..
|
554
|
+
2023-02-28 18:29:09 - RESET: Clean up base modules ..
|
555
|
+
2023-02-28 18:29:10 - RESET: Clean up site files ..
|
556
|
+
2023-02-28 18:29:12 - RESET: Configuration file: C:/Users/xxx/j1-projects/my-starter/_config.yml
|
557
|
+
2023-02-28 18:29:13 - RESET: Cleaner: Removing _site...
|
558
|
+
2023-02-28 18:29:13 - RESET: Cleaner: Removing ./.jekyll-metadata...
|
559
|
+
2023-02-28 18:29:13 - RESET: Cleaner: Removing ./.jekyll-cache...
|
560
|
+
2023-02-28 18:29:13 - RESET: Cleaner: Nothing to do for .sass-cache.
|
561
|
+
2023-02-28 18:29:14 - RESET: Clean up projects files ..
|
562
|
+
2023-02-28 18:29:14 - RESET: Remove bundle config folder ..
|
563
|
+
2023-02-28 18:29:15 - RESET: Remove log folder ..
|
564
|
+
2023-02-28 18:29:15 - RESET: Remove etc folder ..
|
565
|
+
2023-02-28 18:29:15 - RESET: Remove various log files ..
|
566
|
+
2023-02-28 18:29:16 - RESET: Remove lock files ..
|
567
|
+
2023-02-28 18:29:16 - RESET: Clean up utility server ..
|
568
|
+
2023-02-28 18:29:21 - RESET: done.
|
569
|
+
2023-02-28 18:29:21 - RESET: The project reset finished successfully.
|
570
|
+
2023-02-28 18:29:21 - RESET: To setup the project, run: j1 setup
|
571
|
+
```
|
572
|
+
|
573
|
+
Start your work from the scratch by running the `setup` task again:
|
574
|
+
|
575
|
+
j1 setup
|
576
|
+
|
577
|
+
Happy Jekylling!
|