j1-template 2023.8.1 → 2023.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/themes/j1/adapter/js/j1.js +29 -11
- data/assets/themes/j1/adapter/js/translator.js +4 -2
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +31 -26
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +31 -26
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +34 -29
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/justifiedGallery.yml +3 -3
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +20 -6
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +27 -12
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +12 -4
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +4 -1
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +512 -470
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +20 -6
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +4 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +2 -2
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
@@ -75,11 +75,11 @@ gem 'jekyll', '~> 4.0'
|
|
75
75
|
# Specify the THEME GEM used for the project
|
76
76
|
|
77
77
|
# Loaded from RubyGems
|
78
|
-
gem 'j1-template', '~> 2023.
|
78
|
+
gem 'j1-template', '~> 2023.9.0'
|
79
79
|
|
80
80
|
# Loaded from gem.fury.io
|
81
81
|
#source 'https://gem.fury.io/jekyll-one-org/' do
|
82
|
-
# gem 'j1-template', '~> 2023.
|
82
|
+
# gem 'j1-template', '~> 2023.9.0'
|
83
83
|
#end
|
84
84
|
|
85
85
|
# ------------------------------------------------------------------------------
|
data/lib/starter_web/README.md
CHANGED
@@ -379,7 +379,7 @@ This command creates a **initial** project in folder **my-starter**.
|
|
379
379
|
2023-02-28 18:12:12 - GENERATE: Resolving dependencies...
|
380
380
|
2023-02-28 18:12:12 - GENERATE: Using bundler 2.3.7
|
381
381
|
...
|
382
|
-
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.
|
382
|
+
2023-02-28 18:12:12 - GENERATE: Using j1-template 2023.9.0
|
383
383
|
2023-02-28 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
|
384
384
|
2023-02-28 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
|
385
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;
|
@@ -415,7 +415,7 @@ commands are available as well.
|
|
415
415
|
2023-02-28 18:17:48 - SETUP: Initialize the project ...
|
416
416
|
2023-02-28 18:17:48 - SETUP: Be patient, this will take a while ...
|
417
417
|
2023-02-28 18:17:49 - SETUP:
|
418
|
-
2023-02-28 18:17:49 - SETUP: > j1@2023.
|
418
|
+
2023-02-28 18:17:49 - SETUP: > j1@2023.9.0 setup C:\Users\xxx\j1-projects\my-starter
|
419
419
|
2023-02-28 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
|
420
420
|
2023-02-28 18:17:49 - SETUP:
|
421
421
|
2023-02-28 18:17:50 - SETUP: Setup project for first use ..
|
@@ -460,7 +460,7 @@ browser. Let's start the journey ...
|
|
460
460
|
Check setup state of the J1 project ...
|
461
461
|
2023-02-28 18:26:18 - SITE: Starting up your site ...
|
462
462
|
2023-02-28 18:26:18 - SITE:
|
463
|
-
2023-02-28 18:26:18 - SITE: > j1@2023.
|
463
|
+
2023-02-28 18:26:18 - SITE: > j1@2023.9.0 j1-site C:\Users\jadams\j1-projects\my-starter
|
464
464
|
2023-02-28 18:26:18 - SITE: > run-p -s j1-site:*
|
465
465
|
2023-02-28 18:26:18 - SITE:
|
466
466
|
2023-02-28 18:26:20 - SITE: Startup UTILSRV ..
|
@@ -499,7 +499,7 @@ Check setup state of the J1 project ...
|
|
499
499
|
REBUILD: Rebuild the projects website ...
|
500
500
|
REBUILD: Be patient, this will take a while ...
|
501
501
|
2023-02-28 18:45:09 - REBUILD:
|
502
|
-
2023-02-28 18:45:09 - REBUILD: > j1@2023.
|
502
|
+
2023-02-28 18:45:09 - REBUILD: > j1@2023.9.0 rebuild C:\Users\xxx\j1-projects\my-starter
|
503
503
|
2023-02-28 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
|
504
504
|
2023-02-28 18:45:09 - REBUILD:
|
505
505
|
2023-02-28 18:45:10 - REBUILD: Rebuild site incremental ..
|
@@ -547,7 +547,7 @@ using Lerna for all packages:
|
|
547
547
|
2023-02-28 18:29:07 - RESET: Reset the project to factory state ...
|
548
548
|
2023-02-28 18:29:07 - RESET: Be patient, this will take a while ...
|
549
549
|
2023-02-28 18:29:08 - RESET:
|
550
|
-
2023-02-28 18:29:08 - RESET: > j1@2023.
|
550
|
+
2023-02-28 18:29:08 - RESET: > j1@2023.9.0 reset C:\Users\xxx\j1-projects\my-starter
|
551
551
|
2023-02-28 18:29:08 - RESET: > run-s -s reset:*
|
552
552
|
2023-02-28 18:29:08 - RESET:
|
553
553
|
2023-02-28 18:29:08 - RESET: Reset project to factory state ..
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: development
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of the site
|
55
55
|
#
|
56
|
-
version: 2023.
|
56
|
+
version: 2023.9.0
|
57
57
|
|
58
58
|
# copyright
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -120,7 +120,7 @@ settings:
|
|
120
120
|
mode: lg-fade
|
121
121
|
cssEasing: cubic-bezier(0.25, 0, 0.25, 1)
|
122
122
|
|
123
|
-
#
|
123
|
+
# --------------------------------------------------------------------------
|
124
124
|
# Old Times
|
125
125
|
#
|
126
126
|
- gallery:
|
@@ -144,8 +144,8 @@ settings:
|
|
144
144
|
]
|
145
145
|
captions_lightbox: []
|
146
146
|
gallery_options:
|
147
|
-
rowHeight:
|
148
|
-
margins:
|
147
|
+
rowHeight: 250
|
148
|
+
margins: 3
|
149
149
|
lightbox_options:
|
150
150
|
lightbox: lg
|
151
151
|
mode: lg-fade
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<id>{{ page.url | absolute_url | xml_escape }}</id>
|
58
58
|
<post_limited>{{ limit_posts }}</post_limited>
|
59
59
|
<template_name>J1 Theme</template_name>
|
60
|
-
<template_version>2023.
|
60
|
+
<template_version>2023.9.0</template_version>
|
61
61
|
|
62
62
|
{% assign title = site.title | default: site.name %}
|
63
63
|
{% if page.collection != "posts" %}
|
data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc
CHANGED
@@ -42,10 +42,13 @@ You can find all available stylesheets to be applied on your pages from the
|
|
42
42
|
*Themes* menu. You're invited to check how a page is changing for its design
|
43
43
|
if a different stylesheet for web design is used.
|
44
44
|
|
45
|
-
WARNING
|
45
|
+
[WARNING]
|
46
|
+
====
|
47
|
+
For changing from one style to the next at *runtime*, the current
|
46
48
|
version of the J1 Template system tries add new styles to J1 specific
|
47
49
|
components like fonts, headlines, lists or paragraphs. Changing the style
|
48
50
|
will work for the most *common* elements, but *not all* of them for now.
|
51
|
+
====
|
49
52
|
|
50
53
|
Select a style from the *Themes* menu, and the new BS-based stylesheet is
|
51
54
|
automatically applied to all pages of your website.
|
@@ -68,11 +68,14 @@ extensions to the markup language Asciidoc is made especially for documents
|
|
68
68
|
of the Jekyll content type *page*, but can be used for posts or collections
|
69
69
|
as well.
|
70
70
|
|
71
|
-
TIP
|
71
|
+
[TIP]
|
72
|
+
====
|
73
|
+
Most extensions are based on well-documented examples from the
|
72
74
|
link:{url-asciidoctor--extensions-lab}[Asciidoctor Extensions Lab, {browser-window--new}].
|
73
75
|
To create Asciidoc extensions on your own, it is highly recommended to read the
|
74
76
|
link:{url-asciidoctor--extensions-manual}[extensions section, {browser-window--new}] in
|
75
77
|
the Asciidoctor user manual.
|
78
|
+
====
|
76
79
|
|
77
80
|
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
78
81
|
*15 Minutes* to read
|
@@ -91,8 +94,11 @@ If a result block `[.result]` is placed under a listing block, clicking the
|
|
91
94
|
toggle button *view* `VIEW` displays or hide the content given by the
|
92
95
|
result block.
|
93
96
|
|
94
|
-
TIP
|
97
|
+
[TIP]
|
98
|
+
====
|
99
|
+
The *View Result Extension* is quite helpful for sections discussing
|
95
100
|
code elements.
|
101
|
+
====
|
96
102
|
|
97
103
|
.This example place a button *VIEW* top right of the example box
|
98
104
|
[source, no_template, role="noclip"]
|
@@ -140,8 +146,11 @@ trippings.
|
|
140
146
|
|
141
147
|
|===
|
142
148
|
|
143
|
-
NOTE
|
149
|
+
[NOTE]
|
150
|
+
====
|
151
|
+
All colors for all default admonition blocks set to the standard
|
144
152
|
color set. Find available block types and their colors below.
|
153
|
+
====
|
145
154
|
|
146
155
|
When you want to call attention to a single paragraph, start the first
|
147
156
|
line of the paragraph with the label you want to use. The label must be
|
@@ -543,9 +552,12 @@ mdi:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
|
543
552
|
mdi:apple[2x, md-indigo ml-3 mr-2] Brand icon (colored)
|
544
553
|
====
|
545
554
|
|
546
|
-
NOTE
|
555
|
+
[NOTE]
|
556
|
+
====
|
557
|
+
Parameters for icon size `icon_size` and modifiers `modifier` are
|
547
558
|
optional. If not given, the icons size `size` is set to default `1x`, the
|
548
559
|
color to *black* and no settings for *modifiers* `modifier` are applied.
|
560
|
+
====
|
549
561
|
|
550
562
|
[role="mt-4"]
|
551
563
|
=== Font Awesome Icons
|
@@ -578,10 +590,12 @@ fab:font-awesome[2x, ml-3 mr-2 mb-2] Brand icon +
|
|
578
590
|
fab:apple[2x, md-indigo ml-3 mr-2] Brand icon (colored)
|
579
591
|
====
|
580
592
|
|
581
|
-
NOTE
|
593
|
+
[NOTE]
|
594
|
+
====
|
595
|
+
Parameters for icon size `icon_size` and modifiers `modifier` are
|
582
596
|
optional. If not given, the icons size is set to default `1x`, the color
|
583
597
|
to *black* and no settings for modifiers `modifier` are applied.
|
584
|
-
|
598
|
+
====
|
585
599
|
|
586
600
|
[role="mt-4"]
|
587
601
|
=== Iconify Icons
|
@@ -67,11 +67,14 @@ CSS front-end framework of version V5. The Bootstrap theme feature enables
|
|
67
67
|
the presentation of different versions of the same site using already prepared
|
68
68
|
Bootstrap CSS style sets.
|
69
69
|
|
70
|
-
NOTE
|
70
|
+
[NOTE]
|
71
|
+
====
|
72
|
+
link:{url-bs--home}[Bootstrap, {browser-window--new}] is an HTML, CSS and
|
71
73
|
Javascripts Library that focuses on simplifying the development of modern web
|
72
74
|
pages. The primary purpose of applying the framework to J1 is to provide a
|
73
75
|
general standard for colors, sizes, fonts, and the overall layout of a
|
74
76
|
based site.
|
77
|
+
====
|
75
78
|
|
76
79
|
Using themes results in a uniform appearance for the content in terms of the
|
77
80
|
overall layout, text, tables, and form elements across all modern web browsers
|
@@ -75,9 +75,12 @@ MDI and FA icons are very good in design and have a rich set of different
|
|
75
75
|
icons for many categories used for the Web. See below for some details
|
76
76
|
for <<Material Design Icons>> and <<FontAwesome Icons>>.
|
77
77
|
|
78
|
-
NOTE
|
78
|
+
[NOTE]
|
79
|
+
====
|
80
|
+
Iconify icons are not a locally stored icon-set like MDI or FA.
|
79
81
|
Icons are loaded over the Internet using the so-called *Unified OpenSource Icon
|
80
82
|
Framework*. See section <<Iconify Icons>> for more information.
|
83
|
+
====
|
81
84
|
|
82
85
|
mdi:clock-time-five-outline[24px, md-gray mt-4 mr-2]
|
83
86
|
*10 Minutes* to read
|
@@ -241,9 +244,11 @@ Using Material Design Icons is easy as the inline macro `mdi:` is available
|
|
241
244
|
to place icons wherever you want. See more about this in section
|
242
245
|
link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
|
243
246
|
|
244
|
-
NOTE
|
247
|
+
[NOTE]
|
248
|
+
====
|
249
|
+
_J1 Template_ supports the full set of _MDI_ for the Web. The
|
245
250
|
icon set is fully integrated and can be used out-of-the-box.
|
246
|
-
|
251
|
+
====
|
247
252
|
|
248
253
|
[role="mt-5"]
|
249
254
|
== Material Design Light Icons
|
@@ -389,11 +394,9 @@ included.
|
|
389
394
|
|
390
395
|
Since version 5, the icon set comes in two packages: FontAwesome *Free*
|
391
396
|
and the proprietary, commercial FontAwesome *Pro* version but requires a
|
392
|
-
license fee to pay.
|
393
|
-
|
394
|
-
|
395
|
-
available under SIL Open Font License 1.1, Creative Commons Attribution 4.0,
|
396
|
-
and the MIT License.
|
397
|
+
license fee to pay. The free versions (all releases up to 4 and the free
|
398
|
+
version for 5) are available under SIL Open Font License 1.1, Creative
|
399
|
+
Commons Attribution 4.0, and the MIT License.
|
397
400
|
|
398
401
|
FontAwesome V5 meets the Material Design idea of _Google_, and in comparison
|
399
402
|
to Version 4, the current version is much more than face-lifting. The new
|
@@ -401,19 +404,25 @@ version comes with more than 2300+ icons, but many are available only with
|
|
401
404
|
the Pro license. For the Free version, only a subset of 900+ icons is
|
402
405
|
available.
|
403
406
|
|
404
|
-
NOTE
|
407
|
+
[NOTE]
|
408
|
+
====
|
409
|
+
The CSS styles for FontAwesome V5 have been extended for the J1 Template
|
405
410
|
to the same classes (and their respective names) for other Font Icon sets.
|
406
411
|
Already existing styles like `fa-flip-vertical` are available as `fa-flip-v`
|
407
412
|
as well.
|
413
|
+
====
|
408
414
|
|
409
415
|
You can check out what icons available at
|
410
416
|
link:{url-fontawesome--icons}[FontAwesome Icons, {browser-window--new}].
|
411
417
|
_FontAwesome_ V5 is fully integrated - no need for additional resources to
|
412
418
|
load. But in comparison to Version 4, a lot of differences are to be noticed.
|
413
419
|
|
414
|
-
TIP
|
420
|
+
[TIP]
|
421
|
+
====
|
422
|
+
If you haven't used V5 yet, it is highly recommended to visit the
|
415
423
|
link:{url-fontawesome--get-started}[Get started, {browser-window--new}] pages to
|
416
424
|
learn the basics and features and styles.
|
425
|
+
====
|
417
426
|
|
418
427
|
With version V5 of _FontAwesome_, the icon set is split into two general
|
419
428
|
parts:
|
@@ -422,10 +431,13 @@ parts:
|
|
422
431
|
* brand icons, including symbols for companies and brands,
|
423
432
|
indicated by *FAB*
|
424
433
|
|
425
|
-
NOTE
|
434
|
+
[NOTE]
|
435
|
+
====
|
436
|
+
Using FontAwesome with Asciidoc is quite easy to use as two inline
|
426
437
|
macros `fab:` and `fas:` are available to place icons where ever you want.
|
427
438
|
See more about this in section
|
428
439
|
link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
|
440
|
+
====
|
429
441
|
|
430
442
|
Find below examples of both sets and how to use with J1 Template.
|
431
443
|
|
@@ -626,10 +638,13 @@ the client is build-in and is loaded if Iconify is requested as a resource.
|
|
626
638
|
To see what icon sets are available with that framework, check the page
|
627
639
|
link:{url-iconify--icon-sets}[Iconify Icon Sets, {browser-window--new}].
|
628
640
|
|
629
|
-
NOTE
|
641
|
+
[NOTE]
|
642
|
+
====
|
643
|
+
Using Iconify icons with J1 Template is quite easy. An inline macro
|
630
644
|
`iconify:` is available to place icons where ever you want. See more about
|
631
645
|
this in section
|
632
646
|
link:{url-roundtrip--asciidoc-extensions}#icon-fonts[Asciidoc Extensions].
|
647
|
+
====
|
633
648
|
|
634
649
|
Currently, over 40,000 vector icons are available for many different use cases.
|
635
650
|
Find some examples below.
|
@@ -158,10 +158,13 @@ In this document, there are several fields, like `title`, `tagline`, or
|
|
158
158
|
fields are available, like `tags` or `categories` that can be used for
|
159
159
|
more specific searches based on `identifiers`.
|
160
160
|
|
161
|
-
NOTE
|
161
|
+
[NOTE]
|
162
|
+
====
|
163
|
+
The document *content* is collected by the (intrinsic) field `body`.
|
162
164
|
To limit the index data loaded by the browser, the body field is removed from
|
163
165
|
a document. The `body` field not available as an *explicit* field for searches,
|
164
166
|
but the *content* is still fully searchable.
|
167
|
+
====
|
165
168
|
|
166
169
|
To do a simple full-text search as well as more specific searches, the
|
167
170
|
QuickSearch core engine Lunr offers a query language, a DSL (domain-specific
|
@@ -243,8 +246,11 @@ The above example will match documents that contain either `jekyll` *OR*
|
|
243
246
|
`tutorial`. Documents that contain _both_ will increase the score, and those
|
244
247
|
documents are returned first.
|
245
248
|
|
246
|
-
NOTE
|
249
|
+
[NOTE]
|
250
|
+
====
|
251
|
+
Comparing to a Google search (terms are combined at Google by a
|
247
252
|
logical `AND`) a Quicksearch combines the terms by an `OR`.
|
253
|
+
====
|
248
254
|
|
249
255
|
To combine search terms in a QuickSearch query by a logical *AND*, the terms
|
250
256
|
could be prepended by a plus sign (`+`) to mark them as for the QuickSearch
|
@@ -267,13 +273,15 @@ beginning with `Jek`:
|
|
267
273
|
jek*
|
268
274
|
----
|
269
275
|
|
270
|
-
NOTE
|
276
|
+
[NOTE]
|
277
|
+
====
|
278
|
+
Language grammar rules are not relevant for searches. For simplification,
|
271
279
|
all words (terms) are transformed to lower case. As a result, the word
|
272
280
|
`Jekyll` is the same as `jekyll` from a search-engines perspective. Language
|
273
281
|
variations of `Jekyll's` or plurals like `Generators` are reduced
|
274
282
|
to their base form. For searches, don't take care of grammar rules but the
|
275
283
|
spelling. If you're unsure about the spelling of a word, use wildcards.
|
276
|
-
|
284
|
+
====
|
277
285
|
|
278
286
|
=== Fields
|
279
287
|
|
@@ -82,8 +82,11 @@ Modals are a great choice to bring the user's attention. Using the J1 Template
|
|
82
82
|
enhanced modal styles, emotional weight is added to the information displayed.
|
83
83
|
Ranging from an info level, a simple warning to critical messages.
|
84
84
|
|
85
|
-
TIP
|
85
|
+
[TIP]
|
86
|
+
====
|
87
|
+
For more information on how to use Bootstrap’s JavaScript modal
|
86
88
|
plugin, refer to: link:{url-bs-docs--components-modal}[Bootstrap Docs, {browser-window--new}].
|
89
|
+
====
|
87
90
|
|
88
91
|
// include::{documentdir}/tables/bs_modal_examples.asciidoc[]
|
89
92
|
include::{documentdir}/410_table_bs_modal_examples.asciidoc[]
|