j1-template 2020.0.1 → 2020.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +22 -18
  3. data/_includes/themes/j1/layouts/content_generator_collection.html +15 -12
  4. data/_includes/themes/j1/layouts/content_generator_page.html +16 -17
  5. data/_includes/themes/j1/layouts/content_generator_post.html +19 -24
  6. data/_includes/themes/j1/modules/navigator/generator.html +62 -40
  7. data/assets/data/menu.html +6 -5
  8. data/assets/data/mmenu.html +455 -0
  9. data/assets/data/{sidebar.html → mmenu_sidebar.html} +24 -18
  10. data/assets/data/mmenu_toc.html +45 -0
  11. data/assets/data/quicklinks.html +9 -4
  12. data/assets/data/ssm.html +227 -0
  13. data/assets/error_pages/HTTP204.html +3 -3
  14. data/assets/themes/j1/core/css/bootstrap.css +116 -93
  15. data/assets/themes/j1/core/css/bootstrap.min.css +4 -4
  16. data/assets/themes/j1/core/css/globals.css +1 -1
  17. data/assets/themes/j1/core/css/theme_extensions.css +186 -96
  18. data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
  19. data/assets/themes/j1/core/css/uno.css +186 -96
  20. data/assets/themes/j1/core/css/uno.min.css +1 -1
  21. data/assets/themes/j1/core/css/vendor.css +130 -104
  22. data/assets/themes/j1/core/css/vendor.min.css +4 -4
  23. data/assets/themes/j1/core/js/template.js +296 -24
  24. data/assets/themes/j1/core/js/template.js.map +1 -1
  25. data/assets/themes/j1/core/js/template.min.js +1 -1
  26. data/lib/j1/version.rb +1 -1
  27. data/lib/j1_app/j1_auth_manager/auth_manager.rb +21 -17
  28. data/lib/j1_app/j1_auth_manager/config.rb +13 -9
  29. data/lib/j1_app/j1_site_manager/static_site.rb +1 -1
  30. data/lib/starter_web/Gemfile +2 -2
  31. data/lib/starter_web/_config.yml +12 -139
  32. data/lib/starter_web/_data/modules/authentication.yml +1 -1
  33. data/lib/starter_web/_data/modules/defaults/navigator.yml +25 -24
  34. data/lib/starter_web/_data/modules/defaults/ssm.yml +50 -0
  35. data/lib/starter_web/_data/modules/defaults/toccer.yml +14 -15
  36. data/lib/starter_web/_data/modules/navigator.yml +164 -97
  37. data/lib/starter_web/_data/modules/ssm.yml +133 -0
  38. data/lib/starter_web/_data/modules/toccer.yml +20 -62
  39. data/lib/starter_web/_data/resources.yml +74 -51
  40. data/lib/starter_web/_data/template_settings.yml +13 -13
  41. data/lib/starter_web/_plugins/uglify.rb +41 -0
  42. data/lib/starter_web/apps/public/{cc → cc/cc.yml} +0 -0
  43. data/lib/starter_web/apps/public/cc/index.adoc +107 -0
  44. data/lib/starter_web/assets/images/modules/icons/j1/{j1..ico → j1.ico} +0 -0
  45. data/lib/starter_web/assets/themes/j1/adapter/js/algolia.js +321 -0
  46. data/lib/starter_web/assets/themes/j1/adapter/js/attic.js +4 -4
  47. data/lib/starter_web/assets/themes/j1/adapter/js/carousel.js +3 -3
  48. data/lib/starter_web/assets/themes/j1/adapter/js/framer.js +3 -3
  49. data/lib/starter_web/assets/themes/j1/adapter/js/j1.js +19 -60
  50. data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js +452 -0
  51. data/lib/starter_web/assets/themes/j1/adapter/js/navigator.js +50 -50
  52. data/lib/starter_web/assets/themes/j1/adapter/js/ssm.js +498 -0
  53. data/lib/starter_web/assets/themes/j1/adapter/js/themer.js +1 -1
  54. data/lib/starter_web/assets/themes/j1/adapter/js/toccer.js +40 -43
  55. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +384 -0
  56. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +384 -0
  57. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +153 -0
  58. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +153 -0
  59. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +11 -0
  60. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +11 -0
  61. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +118 -0
  62. data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +118 -0
  63. data/lib/starter_web/collections/posts/public/{jekyll → featured}/_posts/2018-05-01-confusion-about-base-url.adoc +0 -0
  64. data/lib/starter_web/package.json +1 -1
  65. data/lib/starter_web/pages/public/learn/floating_sidebar.adoc +199 -0
  66. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  67. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -2
  68. data/lib/starter_web/pages/public/learn/whats_up.adoc +12 -11
  69. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  70. data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  71. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -3
  72. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  73. data/lib/starter_web/pages/public/site_search.adoc +196 -0
  74. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  75. data/lib/starter_web/utilsrv/package.json +1 -1
  76. metadata +26 -13
  77. data/assets/themes/j1/core/css/globals.scss +0 -28
  78. data/lib/starter_web/_data/modules/back2top.yml +0 -40
  79. data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
  80. data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
  81. data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
  82. data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
  83. data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
@@ -1,28 +0,0 @@
1
- -----
2
- # This front matter enables Jekyll to read the SASS file to be transformed
3
- # into CSS.
4
- #
5
- # !!! To enble SASS processing, change the five dashes into triple dashes !!!
6
- #
7
- # NOTE: Only main files contain this front matter, NOT the (SASS) partials
8
- # located under the SASS folder _sass.
9
- -----
10
-
11
- // -----------------------------------------------------------------------------
12
- // ~/assets/themes/j1/core/css/themes/vendor.scss
13
- // J1 Vendor Styles. Partials located in folder _sass/scss/vendor
14
- //
15
- // Product/Info:
16
- // https://jekyll.one
17
- //
18
- // Copyright (C) 2020 Juergen Adams
19
- //
20
- // J1 Template is licensed under the MIT License.
21
- // See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
22
- // -----------------------------------------------------------------------------
23
- // J1 Template Core, generated: {{site.time}}
24
- // -----------------------------------------------------------------------------
25
-
26
- {% comment %} Import Theme Uno SCSS partials
27
- --------------------------------------------------------------- {% endcomment %}
28
- @import "globals";
@@ -1,40 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/back2top.yml
3
- # User configuration settings for J1 Back2Top module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 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
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
-
19
- title: Back2Top
20
- scope: User settings
21
- location: _data/modules/back2top.yml
22
-
23
- # ------------------------------------------------------------------------------
24
- # User configuration settings
25
- #
26
- settings:
27
-
28
- enabled: true
29
- active_color: md_indigo
30
- background_color: md_grey_900
31
-
32
- icon: "f05d"
33
- icon_family: MDI
34
-
35
- scrollto: 0
36
- startline: 100
37
- scrollduration: 1000
38
-
39
- # END config
40
- # ------------------------------------------------------------------------------
@@ -1,147 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/back2top.yml
3
- # Default configuration settings for J1 Back2Top module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 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
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
-
19
- title: Back2Top
20
- scope: Default settings
21
- location: _data/modules/defaults/back2top.yml
22
-
23
- # ------------------------------------------------------------------------------
24
- # Back2Top settings
25
- # If enabled, a Back2Top button at the bottom of every page is displayed
26
- #
27
- # enabled
28
- # ----------------------------------------------------------------------------
29
- # Enables|Disables the use of Back2Top (button)
30
- #
31
- # values: boolean (true|false)
32
- # default: true
33
- #
34
- # color
35
- # ----------------------------------------------------------------------------
36
- # Set the color of the Back2Top icon for an hover event. Possible
37
- # values are the RGB code like "#204a87" or a color name taken from
38
- # file ~/_data/modules/j1_colors.yml
39
- #
40
- # values: string
41
- # default: j1_darkblue
42
- #
43
- # icon
44
- # ----------------------------------------------------------------------------
45
- # Set the font icon used with the Back2Top button. Possible values
46
- # depend on the icon family defined by "icon_family". Use the
47
- # respective hex value for the icon to be used
48
- #
49
- # values: string
50
- # default: "f102"
51
- #
52
- # icon_family
53
- # ----------------------------------------------------------------------------
54
- # Set the icon familiy from what the icon should be taken from. Be
55
- # aware that the CSS file for the font icon set needs to be
56
- # included as a resource.
57
- #
58
- # values: string (FontAwesome|Glyphicons Halflings)
59
- # default: FontAwesome
60
- #
61
- # startline
62
- # ----------------------------------------------------------------------------
63
- # Number of pixels from top of doc scrollbar is scrolled before
64
- # showing control.
65
- #
66
- # values: integer (px)
67
- # default: 100
68
- #
69
- # scrollto
70
- # ----------------------------------------------------------------------------
71
- # Integer or "Scroll_to_Element_ID". Specifies how far to scroll
72
- # a page up when control is clicked on (0=top).
73
- # showing control.
74
- #
75
- # values: integer (px)
76
- # default: 0
77
- #
78
- # scrollduration
79
- # ----------------------------------------------------------------------------
80
- # Time (Duration) measured in msec to scroll the whole page
81
- #
82
- # values: integer (msec)
83
- # default: 1000
84
- #
85
- # fadeduration
86
- # ----------------------------------------------------------------------------
87
- # Fade effect (durationd) measured in msec to show|hide
88
- # the control button
89
- #
90
- # values: integer (msec)
91
- # default: 500
92
- #
93
- # controlHTML
94
- # ----------------------------------------------------------------------------
95
- # HTML code for the control button which is AUTO wrapped in an
96
- # DIV element tha is automatically placed (ID = #topcontrol).
97
- # the control button
98
- #
99
- # values: string (HTML)
100
- # default: '<img src="assets/img/up.png" style="width:51px; height:42px'
101
- #
102
- # controlattrs
103
- # ----------------------------------------------------------------------------
104
- # Offset measured in pixels to place the control (button) relative
105
- # to right|bottom of the window corner.
106
- #
107
- # values: array (integer|px)
108
- # default: [5, 5]
109
- #
110
- # anchorkeyword
111
- # ----------------------------------------------------------------------------
112
- # Anchor|href value of HTML anchors on the page that should be
113
- # used for a "Scroll Up" link.
114
- #
115
- # values: string (ID)
116
- # default: "#top"
117
- #
118
- # ------------------------------------------------------------------------------
119
-
120
- # ------------------------------------------------------------------------------
121
- # Default configuration settings
122
- #
123
- defaults:
124
-
125
- enabled: false
126
- active_color: md_indigo
127
- background_color: md_grey_900
128
-
129
- icon: "f05d"
130
- icon_family: MDI
131
- icon_position: absolute
132
-
133
- startline: 100
134
- scrollto: 0
135
-
136
- scrollduration: 1000
137
- fadeduration:
138
- fadeIn: 500
139
- fadeOut: 500
140
-
141
- controlattrs:
142
- offsetx: 5
143
- offsety: 5
144
-
145
-
146
- # ------------------------------------------------------------------------------
147
- # END config
@@ -1,169 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/defaults/smooth_scroll.yml
3
- # Default configuration settings for J1 Smoothscroll module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 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
-
15
- # ------------------------------------------------------------------------------
16
- # About this configuration (used for J1 CC only)
17
- #
18
- about_config:
19
-
20
- title: SmoothScroll
21
- scope: Default settings
22
- location: _data/modules/defaults/smooth_scroll.yml
23
-
24
- # ------------------------------------------------------------------------------
25
- # User configuration settings
26
- #
27
- defaults:
28
-
29
- # ------------------------------------------------------------------------------
30
- # J1 Scroll Manager settings
31
- # ------------------------------------------------------------------------------
32
- # SmoothScroll settings
33
- # Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
34
- #
35
- # enabled
36
- # ----------------------------------------------------------------------------
37
- # Enables|Disables the use of SmoothControl
38
- #
39
- # values: boolean (true|false)
40
- # default: false
41
- #
42
- # SCROLLING CORE
43
- # --------------
44
- #
45
- # frameRate
46
- # ----------------------------------------------------------------------------
47
- # ...
48
- #
49
- # values: integer (Hz)
50
- # default: 150
51
- #
52
- # animationTime
53
- # ----------------------------------------------------------------------------
54
- # ...
55
- #
56
- # values: integer (msec)
57
- # default: 400
58
- #
59
- # stepSize
60
- # ----------------------------------------------------------------------------
61
- # ...
62
- #
63
- # values: integer (px)
64
- # default: 100
65
- #
66
- # ACCELERATION SETTINGS
67
- # ---------------------
68
- #
69
- # accelerationDelta
70
- # ----------------------------------------------------------------------------
71
- # ...
72
- #
73
- # values: integer
74
- # default: 50
75
- #
76
- # accelerationMax
77
- # ----------------------------------------------------------------------------
78
- # ...
79
- #
80
- # values: integer
81
- # default: 3
82
- #
83
- # KEYBOARD SETTINGS
84
- # -----------------
85
- #
86
- # keyboardSupport
87
- # ----------------------------------------------------------------------------
88
- # Enables|Disables Keyboard support for smooth scrolling
89
- #
90
- # values: boolean (true|false)
91
- # default: true
92
- #
93
- # arrowScroll
94
- # ----------------------------------------------------------------------------
95
- # Number of pixels to scroll when pressing a keyboard arrow key
96
- #
97
- # values: integer (px)
98
- # default: 50
99
- #
100
- # PULSE ALGORITHM SETTINGS
101
- # ------------------------
102
- #
103
- # pulseAlgorithm
104
- # ----------------------------------------------------------------------------
105
- # Enables easing of the scrolling animation. When disabled, the page
106
- # animation will be linear (ratio of "tail" to "acceleration")
107
- #
108
- # values: boolean (true|false)
109
- # default: true
110
- #
111
- # pulseScale
112
- # ----------------------------------------------------------------------------
113
- # Defines the speed of pulse step scrolling
114
- #
115
- # values: integer
116
- # default: 4
117
- #
118
- # pulseNormalize
119
- # ----------------------------------------------------------------------------
120
- # ...
121
- #
122
- # values: integer
123
- # default: 1
124
- #
125
- # TOUCHPAD SETTINGS
126
- # -----------------
127
- #
128
- # touchpadSupport
129
- # ----------------------------------------------------------------------------
130
- # Enables|Disables Touchpad support for smooth scrolling
131
- #
132
- # values: boolean (true|false)
133
- # default: false
134
- #
135
- # OTHER SETTINGS
136
- # --------------
137
- #
138
- # fixedBackground
139
- # ----------------------------------------------------------------------------
140
- # ...
141
- #
142
- # values: boolean (true|false)
143
- # default: true
144
- #
145
- # excluded
146
- # ----------------------------------------------------------------------------
147
- # ...
148
- #
149
- # values: string
150
- # default: empty string
151
- # ------------------------------------------------------------------------------
152
- enabled: false
153
- frameRate: 150
154
- animationTime: 400
155
- stepSize: 100
156
- accelerationDelta: 50
157
- accelerationMax: 3
158
- keyboardSupport: true
159
- arrowScroll: 50
160
- pulseAlgorithm: true
161
- pulseScale: 4
162
- pulseNormalize: 1
163
- touchpadSupport: false
164
- fixedBackground: true
165
- excluded:
166
-
167
-
168
- # ------------------------------------------------------------------------------
169
- # END config
@@ -1,169 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/smooth_scroll.yml
3
- # User configuration settings for J1 Smoothscroll module
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2020 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
-
15
- # ------------------------------------------------------------------------------
16
- # About this configuration (used for J1 CC only)
17
- #
18
- about_config:
19
-
20
- title: SmoothScroll
21
- scope: User settings
22
- location: _data/modules/smooth_scroll.yml
23
-
24
- # ------------------------------------------------------------------------------
25
- # User configuration settings
26
- #
27
- settings:
28
-
29
- # ------------------------------------------------------------------------------
30
- # J1 Scroll Manager settings
31
- # ------------------------------------------------------------------------------
32
- # SmoothScroll settings
33
- # Enables smooth vertical page scrolling on Mouse Wheel, Keyboard and Touchpad
34
- #
35
- # enabled
36
- # ----------------------------------------------------------------------------
37
- # Enables|Disables the use of SmoothControl
38
- #
39
- # values: boolean (true|false)
40
- # default: false
41
- #
42
- # SCROLLING CORE
43
- # --------------
44
- #
45
- # frameRate
46
- # ----------------------------------------------------------------------------
47
- # ...
48
- #
49
- # values: integer (Hz)
50
- # default: 150
51
- #
52
- # animationTime
53
- # ----------------------------------------------------------------------------
54
- # ...
55
- #
56
- # values: integer (msec)
57
- # default: 400
58
- #
59
- # stepSize
60
- # ----------------------------------------------------------------------------
61
- # ...
62
- #
63
- # values: integer (px)
64
- # default: 100
65
- #
66
- # ACCELERATION SETTINGS
67
- # ---------------------
68
- #
69
- # accelerationDelta
70
- # ----------------------------------------------------------------------------
71
- # ...
72
- #
73
- # values: integer
74
- # default: 50
75
- #
76
- # accelerationMax
77
- # ----------------------------------------------------------------------------
78
- # ...
79
- #
80
- # values: integer
81
- # default: 3
82
- #
83
- # KEYBOARD SETTINGS
84
- # -----------------
85
- #
86
- # keyboardSupport
87
- # ----------------------------------------------------------------------------
88
- # Enables|Disables Keyboard support for smooth scrolling
89
- #
90
- # values: boolean (true|false)
91
- # default: true
92
- #
93
- # arrowScroll
94
- # ----------------------------------------------------------------------------
95
- # Number of pixels to scroll when pressing a keyboard arrow key
96
- #
97
- # values: integer (px)
98
- # default: 50
99
- #
100
- # PULSE ALGORITHM SETTINGS
101
- # ------------------------
102
- #
103
- # pulseAlgorithm
104
- # ----------------------------------------------------------------------------
105
- # Enables easing of the scrolling animation. When disabled, the page
106
- # animation will be linear (ratio of "tail" to "acceleration")
107
- #
108
- # values: boolean (true|false)
109
- # default: true
110
- #
111
- # pulseScale
112
- # ----------------------------------------------------------------------------
113
- # Defines the speed of pulse step scrolling
114
- #
115
- # values: integer
116
- # default: 4
117
- #
118
- # pulseNormalize
119
- # ----------------------------------------------------------------------------
120
- # ...
121
- #
122
- # values: integer
123
- # default: 1
124
- #
125
- # TOUCHPAD SETTINGS
126
- # -----------------
127
- #
128
- # touchpadSupport
129
- # ----------------------------------------------------------------------------
130
- # Enables|Disables Touchpad support for smooth scrolling
131
- #
132
- # values: boolean (true|false)
133
- # default: false
134
- #
135
- # OTHER SETTINGS
136
- # --------------
137
- #
138
- # fixedBackground
139
- # ----------------------------------------------------------------------------
140
- # ...
141
- #
142
- # values: boolean (true|false)
143
- # default: true
144
- #
145
- # excluded
146
- # ----------------------------------------------------------------------------
147
- # ...
148
- #
149
- # values: string
150
- # default: empty string
151
- # ------------------------------------------------------------------------------
152
- enabled: false
153
- frameRate: 150
154
- animationTime: 400
155
- stepSize: 100
156
- accelerationDelta: 50
157
- accelerationMax: 3
158
- keyboardSupport: true
159
- arrowScroll: 50
160
- pulseAlgorithm: true
161
- pulseScale: 4
162
- pulseNormalize: 1
163
- touchpadSupport: false
164
- fixedBackground: true
165
- excluded:
166
-
167
-
168
- # ------------------------------------------------------------------------------
169
- # END config