j1-template 2022.0.14 → 2022.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +221 -0
- data/assets/themes/j1/adapter/js/customModule.js +221 -0
- data/assets/themes/j1/adapter/js/dropdowns.js +319 -0
- data/assets/themes/j1/adapter/js/rtable.js +2 -6
- data/assets/themes/j1/core/css/vendor.css +6 -1
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +4 -3
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.css +109 -0
- data/assets/themes/j1/modules/dropdowns/css/theme/uno/dropdowns.min.css +15 -0
- data/assets/themes/j1/modules/dropdowns/js/cash.js +978 -0
- data/assets/themes/j1/modules/dropdowns/js/dropdowns.js +864 -0
- data/exe/j1 +31 -11
- data/lib/j1/commands/generate.rb +48 -42
- data/lib/j1/commands/help.rb +35 -0
- data/lib/j1/commands/patch.rb +76 -0
- data/lib/j1/commands/rebuild.rb +42 -0
- data/lib/j1/commands/reset.rb +44 -0
- data/lib/j1/commands/setup.rb +123 -0
- data/lib/j1/commands/site.rb +36 -0
- data/lib/j1/external.rb +1 -1
- data/lib/j1/utils/{exec.rb → exec1.rb} +1 -1
- data/lib/j1/utils/exec2.rb +57 -0
- data/lib/j1/utils.rb +55 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/apps/carousel.yml +138 -140
- data/lib/starter_web/_data/blocks/banner.yml +7 -7
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +164 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +3 -2
- data/lib/starter_web/_data/modules/dropdowns.yml +77 -0
- data/lib/starter_web/_data/modules/themer.yml +2 -1
- data/lib/starter_web/_data/resources.yml +73 -2
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +2 -2
- data/lib/starter_web/package.json +6 -2
- data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +8 -8
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/manuals/j1-dropdown.adoc +294 -0
- data/lib/starter_web/pages/public/manuals/{dropdown-help.adoc → msdropdown.adoc} +0 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +22 -7
- data/assets/themes/j1/modules/fab/css/theme/uno/fab.css +0 -373
- data/assets/themes/j1/modules/fab/css/theme/uno/fab.min.css +0 -15
@@ -0,0 +1,77 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_data/modules/dropdowns.yml
|
3
|
+
# User Configuration of the Dropdowns Module
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2021 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
# NOTE:
|
15
|
+
#
|
16
|
+
# ------------------------------------------------------------------------------
|
17
|
+
|
18
|
+
# ------------------------------------------------------------------------------
|
19
|
+
# Description (used for J1 CC only)
|
20
|
+
#
|
21
|
+
description:
|
22
|
+
|
23
|
+
title: Dropdowns Module
|
24
|
+
scope: User settings
|
25
|
+
location: _data/modules/dropdowns.yml
|
26
|
+
|
27
|
+
# ------------------------------------------------------------------------------
|
28
|
+
# User settings
|
29
|
+
#
|
30
|
+
settings:
|
31
|
+
enabled: true
|
32
|
+
|
33
|
+
dropdowns:
|
34
|
+
# --------------------------------------------------------------------------
|
35
|
+
# DROPDOWN configurations
|
36
|
+
# --------------------------------------------------------------------------
|
37
|
+
|
38
|
+
# --------------------------------------------------------------------------
|
39
|
+
# icon dropdown
|
40
|
+
#
|
41
|
+
- dropdown:
|
42
|
+
enabled: true
|
43
|
+
|
44
|
+
id: icon-dropdown
|
45
|
+
items: >
|
46
|
+
<li><a href="#"><i class="flag-icon flag-icon-de squared size-1x"></i></a></li>
|
47
|
+
<li class="divider" tabindex="-1"></li>
|
48
|
+
<li><a href="#"><i class="flag-icon flag-icon-be squared size-1x"></i></a></li>
|
49
|
+
<li><a href="#"><i class="flag-icon flag-icon-dk squared size-1x"></i></a></li>
|
50
|
+
<li><a href="#"><i class="flag-icon flag-icon-es squared size-1x"></i></a></li>
|
51
|
+
|
52
|
+
options:
|
53
|
+
alignment: bottom
|
54
|
+
hover: true
|
55
|
+
inDuration: 300
|
56
|
+
outDuration: 300
|
57
|
+
|
58
|
+
# --------------------------------------------------------------------------
|
59
|
+
# button dropdown
|
60
|
+
#
|
61
|
+
- dropdown:
|
62
|
+
enabled: true
|
63
|
+
|
64
|
+
id: button-dropdown
|
65
|
+
items: >
|
66
|
+
<li><a href="#"><i class="flag-icon flag-icon-de squared size-1x"></i></a></li>
|
67
|
+
<li class="divider" tabindex="-1"></li>
|
68
|
+
<li><a href="#"><i class="flag-icon flag-icon-be squared size-1x"></i></a></li>
|
69
|
+
<li><a href="#"><i class="flag-icon flag-icon-dk squared size-1x"></i></a></li>
|
70
|
+
<li><a href="#"><i class="flag-icon flag-icon-es squared size-1x"></i></a></li>
|
71
|
+
|
72
|
+
options:
|
73
|
+
alignment: left
|
74
|
+
hover: false
|
75
|
+
|
76
|
+
# ------------------------------------------------------------------------------
|
77
|
+
# END config
|
@@ -777,12 +777,11 @@ resources:
|
|
777
777
|
files: [
|
778
778
|
modules/fab/js/cash.js, # adapted|old (1.3.5) version from Materialize
|
779
779
|
modules/fab/js/fab.js, # modified version for J1 (former: button.js)
|
780
|
-
adapter/js/fab.js
|
780
|
+
adapter/js/fab.js
|
781
781
|
]
|
782
782
|
js: []
|
783
783
|
init_function: [ j1.adapter.fab.init ]
|
784
784
|
|
785
|
-
|
786
785
|
# ----------------------------------------------------------------------------
|
787
786
|
# lunr search engine, JS API used for the QuickSearch feature
|
788
787
|
# of J1 Template based on the Lunr JS API
|
@@ -911,6 +910,50 @@ resources:
|
|
911
910
|
# J1 Resources loaded ONDEMAND
|
912
911
|
# ----------------------------------------------------------------------------
|
913
912
|
|
913
|
+
# ----------------------------------------------------------------------------
|
914
|
+
# Custom module
|
915
|
+
#
|
916
|
+
- name: CustomModule
|
917
|
+
resource:
|
918
|
+
enabled: false
|
919
|
+
|
920
|
+
id: CustomModule
|
921
|
+
comment: Custom module
|
922
|
+
region: head
|
923
|
+
layout: [ all ]
|
924
|
+
required: ondemand
|
925
|
+
preload: false
|
926
|
+
script_load: async
|
927
|
+
dependencies: false
|
928
|
+
pass_init_data: false
|
929
|
+
data:
|
930
|
+
css: []
|
931
|
+
files: [ adapter/js/customModule.js ]
|
932
|
+
js: []
|
933
|
+
init_function: [ j1.adapter.customModule.init ]
|
934
|
+
|
935
|
+
# ----------------------------------------------------------------------------
|
936
|
+
# Custom functions
|
937
|
+
#
|
938
|
+
- name: CustomFunctions
|
939
|
+
resource:
|
940
|
+
enabled: false
|
941
|
+
|
942
|
+
id: customFunctions
|
943
|
+
comment: Custom functions
|
944
|
+
region: head
|
945
|
+
layout: [ all ]
|
946
|
+
required: ondemand
|
947
|
+
preload: false
|
948
|
+
script_load: async
|
949
|
+
dependencies: false
|
950
|
+
pass_init_data: false
|
951
|
+
data:
|
952
|
+
css: []
|
953
|
+
files: [ adapter/js/customFunctions.js ]
|
954
|
+
js: []
|
955
|
+
init_function: [ j1.adapter.customFunctions.init ]
|
956
|
+
|
914
957
|
# ----------------------------------------------------------------------------
|
915
958
|
# Rouge, pure Ruby themeable code highlighter
|
916
959
|
# See: http://rouge.jneen.net/
|
@@ -1161,6 +1204,8 @@ resources:
|
|
1161
1204
|
required: ondemand
|
1162
1205
|
preload: false
|
1163
1206
|
script_load: defer
|
1207
|
+
dependencies: false
|
1208
|
+
pass_init_data: false
|
1164
1209
|
data:
|
1165
1210
|
files: [
|
1166
1211
|
adapter/js/algolia.js,
|
@@ -1526,5 +1571,31 @@ resources:
|
|
1526
1571
|
js: []
|
1527
1572
|
init_function: [ j1.adapter.comments.init ]
|
1528
1573
|
|
1574
|
+
# ----------------------------------------------------------------------------
|
1575
|
+
# Dropdowns. JS API to create simple dropdown menus
|
1576
|
+
#
|
1577
|
+
- name: Dropdowns
|
1578
|
+
resource:
|
1579
|
+
enabled: true
|
1580
|
+
|
1581
|
+
id: dropdowns
|
1582
|
+
comment: Dropdown Menus
|
1583
|
+
region: head
|
1584
|
+
layout: [ all ]
|
1585
|
+
required: ondemand
|
1586
|
+
preload: false
|
1587
|
+
script_load: sync
|
1588
|
+
dependencies: false
|
1589
|
+
pass_init_data: false
|
1590
|
+
data:
|
1591
|
+
css: [ modules/dropdowns/css/theme/uno/dropdowns ]
|
1592
|
+
files: [
|
1593
|
+
modules/dropdowns/js/cash.js, # adapted|old (1.3.5) version from Materialize
|
1594
|
+
modules/dropdowns/js/dropdowns.js, # modified version for J1
|
1595
|
+
adapter/js/dropdowns.js
|
1596
|
+
]
|
1597
|
+
js: []
|
1598
|
+
init_function: [ j1.adapter.dropdowns.init ]
|
1599
|
+
|
1529
1600
|
# ------------------------------------------------------------------------------
|
1530
1601
|
# END config
|
@@ -437,7 +437,7 @@ end::tables[]
|
|
437
437
|
// -----------------------------------------------------------------------------
|
438
438
|
tag::products[]
|
439
439
|
:j1--license: MIT License
|
440
|
-
:j1--version: 2022.0.
|
440
|
+
:j1--version: 2022.0.18
|
441
441
|
:j1--site-name: Jekyll One
|
442
442
|
end::products[]
|
443
443
|
|
@@ -284,7 +284,7 @@ module Jekyll
|
|
284
284
|
elsif defined?(site.data['date'])
|
285
285
|
date = site.data['date']
|
286
286
|
else
|
287
|
-
date = '
|
287
|
+
date = '2022-01-01 00:00:00'
|
288
288
|
end
|
289
289
|
|
290
290
|
tagline = site.data['tagline']
|
@@ -364,6 +364,6 @@ end
|
|
364
364
|
|
365
365
|
module Jekyll
|
366
366
|
module J1LunrSearch
|
367
|
-
VERSION = '2022.0.
|
367
|
+
VERSION = '2022.0.18'
|
368
368
|
end
|
369
369
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"private": true,
|
3
|
-
"name": "
|
4
|
-
"version": "2022.0.
|
3
|
+
"name": "j1",
|
4
|
+
"version": "2022.0.18",
|
5
5
|
"description": "J1 Template Starter Web",
|
6
6
|
"homepage": "https://your.site",
|
7
7
|
"author": {
|
@@ -129,6 +129,10 @@
|
|
129
129
|
"site:jekyll": "echo Startup the site .. && cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec jekyll s --incremental --livereload --livereload-port $npm_package_jekyll_opt_livereload_port --open",
|
130
130
|
"site:utilsrv": "npm --prefix ./utilsrv --silent run utilsrv",
|
131
131
|
|
132
|
+
"j1-site": "run-p -s j1-site:*",
|
133
|
+
"j1-site:jekyll": "bundle exec jekyll s --incremental --livereload --open",
|
134
|
+
"j1-site:utilsrv": "npm --prefix ./utilsrv --silent run utilsrv",
|
135
|
+
|
132
136
|
"bump": "run-s -s ver && run-s -s bump:* && run-s -s ver",
|
133
137
|
"ver": "cross-var cross-env echo \"Project version: $npm_package_version\"",
|
134
138
|
"bump:project": "cross-var cross-env npm version $npm_package_config_bumplevel",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Skeleton
|
3
3
|
tagline: multi document
|
4
|
-
date:
|
4
|
+
date: 2022-01-01 00:00:00
|
5
5
|
description: >
|
6
6
|
Multi-chapter documents are used for more complex articles of a website. If
|
7
7
|
the number of chapters is or exceeds three for an article, it could make sense
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
4
|
+
date: 2020-11-03 00:00:00
|
5
5
|
description: >
|
6
6
|
Welcome to the preview page focussing on the image module. This page
|
7
7
|
shows some valuable features of the J1 Template to manage your image-based
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
4
|
+
date: 2020-11-03 00:00:00
|
5
5
|
description: >
|
6
6
|
Welcome to the preview page focussing on the image module. This page
|
7
7
|
shows some valuable features of the J1 Template to manage your image-based
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
4
|
+
date: 2020-11-03 00:00:00
|
5
5
|
description: >
|
6
6
|
Welcome to the preview page focussing on the image module. This page
|
7
7
|
shows some valuable features of the J1 Template to manage your image-based
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: present images
|
4
|
-
date: 2020-11-03 00:00:00
|
4
|
+
date: 2020-11-03 00:00:00
|
5
5
|
description: >
|
6
6
|
Welcome to the preview page focussing on the image module. This page
|
7
7
|
shows some valuable features of the J1 Template to manage your image-based
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: typography
|
4
|
-
date: 2020-11-05 00:00:00
|
4
|
+
date: 2020-11-05 00:00:00
|
5
5
|
description: >
|
6
6
|
The character font serves as one of the most crucial branding elements for
|
7
7
|
any business. Typography matters for any media presenting text. The text will
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: asciidoc extensions
|
4
|
-
date: 2020-11-07 00:00:00
|
4
|
+
date: 2020-11-07 00:00:00
|
5
5
|
description: >
|
6
6
|
J1 Template implements some incubating Ruby-based
|
7
7
|
extensions for Asciidoctor. Most extensions are based
|
@@ -72,7 +72,7 @@ valuable extensions to the Markup language Asciidoc to the Markup language
|
|
72
72
|
Asciidoc is made especially for documents of the Jekyll content type pages
|
73
73
|
(but can be used for posts or collections as well).
|
74
74
|
|
75
|
-
== Asciidoc
|
75
|
+
== Asciidoc Result Extension
|
76
76
|
|
77
77
|
J1 Template adds a simple Javascript based on the `View Result Extension` to
|
78
78
|
any `listingblock`. The extension adds an interactive toggle button `VIEW`
|
@@ -92,7 +92,7 @@ Asciidoc code and how the resulting (HTML) code would look alike.
|
|
92
92
|
|
93
93
|
[.result]
|
94
94
|
====
|
95
|
-
displayed till clicked, but closed on second click
|
95
|
+
displayed till clicked, but closed on second click (toggle)
|
96
96
|
====
|
97
97
|
|
98
98
|
== Asciidoc Admonitions
|
@@ -268,7 +268,7 @@ flag:country[style, size, modifier] <1> <2> <3> <4>
|
|
268
268
|
<4> The `modifier` can be used to add individual CSS classes e.g. for
|
269
269
|
BS styles for margin setting and other
|
270
270
|
|
271
|
-
.Click on
|
271
|
+
.Click on button `VIEW` to see how it's looks alike
|
272
272
|
[source, prometheus, role="noclip"]
|
273
273
|
----
|
274
274
|
flag:de[rectangle, 2x, ml-3 mr-2 mb-2] Germany (rectangle) +
|
@@ -367,7 +367,7 @@ mdi:icon_name[icon_size, modifier] <1> <2> <3>
|
|
367
367
|
<3> The `modifier` can be used to set the e.g the color (md-blue), an
|
368
368
|
animation (fa-pulsed) or the orientation (fa-rotate-45)
|
369
369
|
|
370
|
-
.Click on
|
370
|
+
.Click on button `VIEW` to see how it's looks alike
|
371
371
|
[source, prometheus, role="noclip"]
|
372
372
|
----
|
373
373
|
mdi:home[2x, mdi-pulsed ml-3 mr-2 mb-2] Symbol icon (pulsed) +
|
@@ -401,7 +401,7 @@ fas:icon_name[icon_size, modifier] <1> <2> <3>
|
|
401
401
|
<3> The `modifier` can be used to set e.g the color (md-blue), an
|
402
402
|
animation (fa-pulsed) or the orientation (fa-rotate-45) of an icon
|
403
403
|
|
404
|
-
.Click on
|
404
|
+
.Click on button `VIEW` to see how it's looks alike
|
405
405
|
[source, prometheus, role="noclip"]
|
406
406
|
----
|
407
407
|
fas:home[2x, fa-pulsed ml-2 mr-2 mb-2] Solid icon (pulsed) +
|
@@ -436,7 +436,7 @@ iconify:icon_name[icon_size, modifier] <1> <2> <3>
|
|
436
436
|
<3> The `modifier` can be used to set e.g the color (md-blue) or additional
|
437
437
|
positioning classes for margings and padding
|
438
438
|
|
439
|
-
.Click on
|
439
|
+
.Click on button `VIEW` to see how it's looks alike
|
440
440
|
[source, prometheus, role="noclip"]
|
441
441
|
----
|
442
442
|
iconify:logos:opensource[2x, ml-4 mr-2 mb-2] Brand icon OpenSource +
|
@@ -478,7 +478,7 @@ emoji:icon_name[icon_size] <1> <2>
|
|
478
478
|
link:{url-previewer--emoji}[Twitter Emoji's]
|
479
479
|
<2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
|
480
480
|
|
481
|
-
.Click on
|
481
|
+
.Click on button `VIEW` to see how it's look alike
|
482
482
|
[source, prometheus, role="noclip"]
|
483
483
|
----
|
484
484
|
This is an example of how you can emoji:heart[2x, pulsed mt-1] Asciidoctor
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Roundtrip
|
3
3
|
tagline: responsive tables
|
4
|
-
date: 2020-11-09 00:00:00
|
4
|
+
date: 2020-11-09 00:00:00
|
5
5
|
description: >
|
6
6
|
Creating a design for responsive tables is challenging. The approach used by
|
7
7
|
J1 Template is based on pure CSS on top of the classic Bootstrap styles for
|