j1-template 2022.5.1.rc0 → 2022.5.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/date-german.proc +67 -0
  3. data/assets/data/banner.html +2 -2
  4. data/assets/data/menu.html +1 -1
  5. data/assets/data/mmenu.html +36 -36
  6. data/assets/themes/j1/adapter/js/attic.js +8 -0
  7. data/assets/themes/j1/adapter/js/cookieConsent.js +42 -25
  8. data/assets/themes/j1/adapter/js/mmenu.js +2 -2
  9. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +2 -2
  10. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  11. data/assets/themes/j1/modules/backstretch/js/backstretch.js +4 -4
  12. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  13. data/assets/themes/j1/modules/mmenuLight/README.md +22 -0
  14. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +224 -243
  15. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +3 -3
  16. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +95 -55
  17. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
  18. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +57 -440
  19. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +4 -15
  20. data/assets/themes/j1/modules/{twemoji/js/picker → themeSwitcher}/LICENSE +21 -21
  21. data/assets/themes/j1/modules/themeSwitcher/README.md +166 -0
  22. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +2 -2
  23. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +1 -1
  26. data/lib/starter_web/README.md +5 -5
  27. data/lib/starter_web/_config.yml +2 -2
  28. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  29. data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -1
  30. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  31. data/lib/starter_web/index.html +34 -12
  32. data/lib/starter_web/package.json +1 -1
  33. data/lib/starter_web/pages/public/features/general.adoc +1 -1
  34. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +139 -0
  35. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +63 -3
  36. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  37. data/lib/starter_web/utilsrv/package.json +1 -1
  38. metadata +6 -9
  39. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +0 -153
  40. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +0 -19
  41. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +0 -304
  42. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +0 -322
  43. data/assets/themes/j1/modules/twemoji/js/twemoji.js +0 -580
  44. data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +0 -19
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 xLs51
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Joseph Guadagno
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,166 @@
1
+ # bootstrapThemeSwitcher
2
+
3
+ jQuery plugin for dynamically loading Twitter Bootstrap themes from Bootswatch. This plugin allows for the automatic populating of `UL` and `SELECT` elements with the names of themes available, can switch a theme, save the selected theme to a cookie and load the selected theme from a cookie.
4
+
5
+ ## Support
6
+
7
+ * Bugs and Feature requests
8
+
9
+ **Bugs** and **Feature requests** can be reported using the [issues tracker](https://github.com/jguadagno/bootstrapThemeSwitcher/issues).
10
+ Please read the [issue guidelines](https://github.com/jguadagno/bootstrapThemeSwitcher/blob/master/CONTRIBUTING.md) before posting.
11
+
12
+ ## Features
13
+
14
+ **Dynamically Load Theme Name**
15
+ The plugin will pull in a list of the latest themes from [Bootswatch](http://www.bootswatch.com). This will populate a `select` or `ul` element with a list of themes to choose.
16
+ **Switch the Bootstrap Theme**
17
+ The dynamically loaded themes will automatically switch the theme when chosen.
18
+ **Saves theme to a cookie**
19
+ Takes the selected theme information and saves it to a cookie to reload later
20
+ **Loads a theme from a cookie**
21
+ Loads a previous saved theme from a cookie
22
+
23
+ ## Requirements
24
+
25
+ ### Mandatory requirements
26
+
27
+ * [jQuery](http://jquery.com/) v1.11+
28
+ * [jQuery Cookie plugin](https://github.com/carhartl/jquery-cookie)
29
+
30
+ ## License
31
+
32
+ Released under the [MIT license](http://www.opensource.org/licenses/MIT).
33
+
34
+ ## Usage
35
+
36
+ ### Clear
37
+
38
+ ```javascript
39
+ $(selector).bootstrapThemeSelector('clear');
40
+ ```
41
+
42
+ Empties/removes the loaded `ul` or `select` element theme names
43
+
44
+ ### Destroy
45
+
46
+ ```javascript
47
+ $(selector).bootstrapThemeSelector('destroy');
48
+ ```
49
+
50
+ Removes any reference to the bootstrapThemeSelector, empties the loaded control and removes the events.
51
+
52
+
53
+ ### LoadThemeFromCookies
54
+
55
+ ```javascript
56
+ $(selector).bootstrapThemeSelector('loadThemeFromCookies');
57
+ ```
58
+
59
+ Checks for the presence of the theme cookie and loads that theme. `options` can be passed in to change the default cookies, path, etc.
60
+
61
+ ### switchTheme
62
+
63
+ ```javascript
64
+ $(selector).bootstrapThemeSelector('switchTheme', themeName, cssFile);
65
+ ```
66
+
67
+ Loads a theme with the given `cssFile`. If the cssFile is `undefined`, the default bootstrap theme will be loaded from a CDN. You can use this option to load your own custom theme.
68
+
69
+ ### Update
70
+
71
+ ```javascript
72
+ $(selector).bootstrapThemeSelector('update');
73
+ ```
74
+
75
+ Refreshs the theme list for the provided `selector`
76
+
77
+ ## Examples
78
+
79
+ Setup an `UL` or `SELECT` with the id of `#ThemeSelect` with a list of themes
80
+ ``` javascript
81
+ // Setup the theme selectors
82
+ $('#ThemeSelect').bootstrapThemeSwitcher();
83
+ ```
84
+
85
+ Change the theme
86
+ ``` javascript
87
+ // Change the theme
88
+ $().bootstrapThemeSwitcher('switchTheme', 'default', '//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css');
89
+ ```
90
+
91
+ Load the previously saved theme from the site cookie
92
+ ``` javascript
93
+ // Load the previously selected theme from the cookies
94
+ $().bootstrapThemeSwitcher('loadThemeFromCookie');
95
+ ```
96
+ ## Plugin Options
97
+
98
+ Bootstrap Theme Switcher can be set globally by setting the `$.bootstrapThemeSwitcher.defaults` object or individually for each call to `$.bootstrapThemeSwitcher()` by
99
+ passing a plain object to the options arguement. Per-call options over the default options.
100
+
101
+ ### cssThemeLink
102
+
103
+ cssThemeLink: 'bootstrapTheme'
104
+
105
+ The ID used for the bootstrap theme css file
106
+
107
+ ### saveToCookie
108
+
109
+ saveToCookie: true
110
+
111
+ If true, a cookie will be saved with the currently selected theme
112
+
113
+ ### cookieThemeName
114
+
115
+ bootstrapTheme.name
116
+
117
+ The name of the cookie to be used to store the theme name
118
+
119
+ ### cookieThemeCss
120
+
121
+ cookieThemeCss: 'bootstrapTheme.css'
122
+
123
+ The name of the cookie to be used to store the css file used for the theme
124
+
125
+ ### cookieExpiration
126
+
127
+ expires: 7
128
+
129
+ The number of days the cookies should expire
130
+
131
+ ### cookiePath
132
+
133
+ cookiePath: '/'
134
+
135
+ The path the cookie should be stored
136
+
137
+ ### defaultCssFile
138
+
139
+ defaultCssFile: '//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'
140
+
141
+ The default css file the plugin should use if it can not load the themes from Bootswatch
142
+
143
+ ### bootswatchApiUrl
144
+
145
+ bootswatchApiUrl: 'http://api.bootswatch.com'
146
+
147
+ The url for the bootswatch api
148
+
149
+ ### bootswatchApiVersion
150
+
151
+ bootswatchApiVersion: '3'
152
+
153
+ The version of the bootswatch api to use.
154
+
155
+ ### localFeed
156
+
157
+ localFeed: ''
158
+
159
+ The path to a JSON file that contains the themes you want to use. If this parameter is used, the control will be loaded
160
+ the themes from here and not go to the bootswatchApiUrl. A sample of the json file can be found at [themes.json](https://github.com/jguadagno/bootstrapThemeSwitcher/blob/master/Examples/themes.json)
161
+
162
+ ### excludeBootswatch
163
+
164
+ excludeBootswatch: ''
165
+
166
+ Comma seperated list of BootSwatch names (e.g. Slate,Yeti) that should be excluded from the rendered <ul> or <select>
@@ -19,7 +19,6 @@
19
19
  # The original version cannot be used with J1 for theme menu creation!
20
20
  # -----------------------------------------------------------------------------
21
21
  */
22
- 'use strict';
23
22
 
24
23
  // -----------------------------------------------------------------------------
25
24
  // ESLint shimming
@@ -43,6 +42,7 @@
43
42
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
44
43
  */
45
44
 
45
+ 'use strict';
46
46
  ;(function ($, window, document, undefined) {
47
47
 
48
48
  var old = $.fn.bootstrapThemeSwitcher;
@@ -308,7 +308,7 @@
308
308
  }
309
309
  var li = $('<li />')
310
310
  .attr('class',cssClass)
311
- .append('<a href="#"><i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: ' +iconColor+ '"></i>' +value.name+ '</a>')
311
+ .append('<a class="link-no-decoration" href="#"><i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: ' +iconColor+ '"></i>' +value.name+ '</a>')
312
312
  .on('click', function () {
313
313
  if (settings.loadFromBootswatch) {
314
314
  base.switchTheme(value.name, value.css);
@@ -19,4 +19,4 @@
19
19
  # The original version cannot be used with J1 for theme menu creation!
20
20
  # -----------------------------------------------------------------------------
21
21
  */
22
- ;(function(d,h,o,g){var b=d.fn.bootstrapThemeSwitcher;var e=j1.getCookieNames();var p=j1.findCookie("_ga");var q=j1.findCookie("j1");var f=new liteURL(h.location.href);var j=f.hostname;var s=j.substring(j.lastIndexOf(".",j.lastIndexOf(".")-1)+1);var l=(f.protocol.includes("https"))?true:false;var r=log4javascript.getLogger("j1.core.switcher");var i;var c;var m={};var k;var a;var n=function(u,t){this.$element=d(u);this.settings=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,t);this.themesList=[];this.getThemes();return this};n.prototype={clear:function(){r.debug("\nbootstrapThemeSwitcher.clear");return this.$element.each(function(){this.$element.empty()})},update:function(){r.debug("\nbootstrapThemeSwitcher.update");this.getThemes()},checkStyleSheetByName:function(t){var w=false;var x="/"+t+"/";var v=new RegExp(x,"i");for(var u=0;u<o.styleSheets.length;u++){if(v.test(o.styleSheets[u].href)){w=true;break}}return w},switchTheme:function(t,z){var A=d(this);var w=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,A.data("bootstrapThemeSwitcher"));var v=w.cssThemeLink;var u=w.debug;var y=this.settings.includeBootswatch;var x;var B;c=j1.existsCookie(e.user_state);if(c){r.debug("\ncookie found: "+e.user_state);m=j1.readCookie(e.user_state)}else{r.error("\ncookie not found: "+e.user_state);r.debug("\nj1 cookies found:"+q.length);q.forEach(function(C){console.log("j1.core.switcher: "+C)});r.debug("\nga cookies found:"+p.length);p.forEach(function(C){console.log("j1.core.switcher: "+C)})}x=m.theme_name;B=m.theme_css;if(typeof z==="undefined"){z=this.settings.defaultCssFile}if(typeof t==="undefined"){t=z}if(w.saveToCookie){if(typeof Cookies==="undefined"){if(u==="true"){r.error("\ncookies library not present")}return false}m.theme_name=t;m.theme_css=z;if(!(m.theme_name.includes("Uno")||m.theme_name=="Bootstrap")){m.theme_author="Bootswatch";m.theme_author_url="https://bootswatch.com/"}else{m.theme_author="J1 Team";m.theme_author_url="https://jekyll.one/"}r.debug("\nwrite to cookie : "+e.user_state);j1.writeCookie({name:e.user_state,data:m,secure:l,expires:365});location.reload(true)}else{r.debug("\nwrite to cookie : disabled");r.warn("\nselected theme not activated: "+t)}},loadThemeFromCookie:function(t){if(typeof Cookies==="undefined"){r.error("\ncookies library not present");return false}var u=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,t);c=j1.existsCookie(e.user_state);if(c){r.info("\ncookie found: "+e.user_state);m=j1.readCookie(e.user_state)}else{r.error("\ncookie not found: "+e.user_state);r.debug("\nj1 cookies found:"+q.length);q.forEach(function(x){console.log("j1.core.switcher: "+x)});r.debug("\nga cookies found:"+p.length);p.forEach(function(x){console.log("j1.core.switcher: "+x)})}var w=m.theme_name;var v=m.theme_css;this.switchTheme(w,v)},addTheme:function(u,t,w,v){if(typeof w==="undefined"){w=0}if(typeof v==="undefined"){v=0}this.themesList.splice(w,v,{name:u,css:t});this.addThemesToControl()},addThemesToControl:function(){if(typeof this.$element==="undefined"){r.error("\nbootstrapThemeSelector|addThemesToControl: Element is undefined");return false}if(typeof this.themesList==="undefined"){r.error("\nbootstrapThemeSelector|addThemesToControl: Themes is undefined");return false}if(this.settings.excludeBootswatch){var A;if(this.settings.excludeBootswatch.indexOf(",")!==-1){A=this.settings.excludeBootswatch.replace(/ /g,"").split(",")}else{A=[];A.push(this.settings.excludeBootswatch)}var w=this.themesList;d.each(w,function(E,F){if(F&&F.name){if(d.inArray(F.name,A)!==-1){w.splice(E,1)}}});this.themesList=w}var v=this;if(this.$element.is("ul")){var B=d(this);var x=d.extend({},d.fn.bootstrapThemeSwitcher.defaults,B.data("bootstrapThemeSwitcher"));var u=x.cssThemeLink;var t=x.debug;var y;c=j1.existsCookie(e.user_state);if(c){r.debug("\nuser state cookie found");m=j1.readCookie(e.user_state)}else{r.error("\nuser state NOT cookie found");r.debug("\nj1 cookies found:"+q.length);q.forEach(function(E){console.log("j1.core.switcher: "+E)});r.debug("\nga cookies found:"+p.length);p.forEach(function(E){console.log("j1.core.switcher: "+E)})}y=m.theme_name;if(t==="true"){r.debug("\nbootstrapThemeSelector: UL element selected")}this.$element.empty();var D;var C="#9E9E9E";d.each(this.themesList,function(F,G){if(v.$element[0].id.includes("mmenu")){D="mmenu-item"}else{D="dropdown-item"}if(G.name===y){if(v.$element[0].id.includes("mmenu")){D="mmenu-item active"}else{D="dropdown-item active"}}var E=d("<li />").attr("class",D).append('<a href="#"><i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: '+C+'"></i>'+G.name+"</a>").on("click",function(){if(x.loadFromBootswatch){v.switchTheme(G.name,G.css)}else{v.switchTheme(G.name,G.cssCdn)}d(this).parent().find("li").removeClass("active");d(this).addClass("active")});v.$element.append(E)})}else{if(this.$element.is("select")){r.debug("\nbootstrapThemeSelector: SELECT element selected");this.$element.empty();var z;d.each(this.themesList,function(E,F){z=null;if(F.name===y){z="selected"}if(x.loadFromBootswatch){v.$element.append("<option "+z+" value='"+F.css+"'>"+F.name+"</option>")}else{v.$element.append("<option "+z+" value='"+F.cssCdn+"'>"+F.name+"</option>")}});this.$element.on("change",function(){var E=d("option:selected",this);v.switchTheme(E.text(),E.val())})}else{r.info("\nbootstrapThemeSelector: no UL or SELECT element found");r.error("\nbootstrapThemeSelector: failed")}}},getThemes:function(){var t=this;if(this.settings.localFeed!==null&&this.settings.localFeed!==""){d.ajax({url:this.settings.localFeed,dataType:"json",success:function(u){t.themesList=u.themes;t.addThemesToControl()},error:function(u,w,v){r.error("\nfailed to retrieve the local feed from: '"+t.settings.localFeed+"'")}})}else{d.ajax({url:this.settings.bootswatchApiUrl+"/"+this.settings.bootswatchApiVersion+".json",dataType:"json",success:function(u){if(typeof u.themes==="undefined"){return null}t.themesList=u.themes;t.themesList.splice(0,0,{name:"default",css:t.settings.defaultCssFile});t.addThemesToControl()}})}},themes:function(t){if(typeof t==="undefined"){return this.themesList}else{this.themesList=t}}};d.fn.bootstrapThemeSwitcher=function(v){var x;var u=Array.prototype.slice.call(arguments,1);var y=d(this);var w=y.data("bootstrapThemeSwitcher");var t=typeof v==="object"&&v;if(!w){y.data("bootstrapThemeSwitcher",(w=new n(this,t)))}if(typeof v==="string"){x=w[v].apply(w,u)}return(typeof x==="undefined")?y:x};d.fn.bootstrapThemeSwitcher.defaults={debug:false,saveToCookie:true,cssThemeLink:"bootstrapTheme",cookieThemeName:"bootstrapTheme.name",cookieThemeCss:"boostrapTheme.css",cookieExpiration:365,cookiePath:"/",defaultCssFile:"https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css",bootswatchApiUrl:"https://bootswatch.com/api/",bootswatchApiVersion:"4",loadFromBootswatch:true,localFeed:"",excludeBootswatch:""};d.fn.bootstrapThemeSwitcher.Constructor=n;d.fn.bootstrapThemeSwitcher.noConflict=function(){d.fn.BootstrapThemeSwitcher=b;return this}})(jQuery,window,document);
22
+ ;"use strict";!function(e,t,o,s){var i=e.fn.bootstrapThemeSwitcher,n=j1.getCookieNames(),r=j1.findCookie("_ga"),a=j1.findCookie("j1"),h=new liteURL(t.location.href),c=h.hostname,l=(c.substring(c.lastIndexOf(".",c.lastIndexOf(".")-1)+1),!!h.protocol.includes("https")),m=log4javascript.getLogger("j1.core.switcher"),d={},u=function(t,o){return this.$element=e(t),this.settings=e.extend({},e.fn.bootstrapThemeSwitcher.defaults,o),this.themesList=[],this.getThemes(),this};u.prototype={clear:function(){return m.debug("\nbootstrapThemeSwitcher.clear"),this.$element.each(function(){this.$element.empty()})},update:function(){m.debug("\nbootstrapThemeSwitcher.update"),this.getThemes()},checkStyleSheetByName:function(e){for(var t=!1,s=new RegExp("/"+e+"/","i"),i=0;i<o.styleSheets.length;i++)if(s.test(o.styleSheets[i].href)){t=!0;break}return t},switchTheme:function(t,o){var s=e(this),i=e.extend({},e.fn.bootstrapThemeSwitcher.defaults,s.data("bootstrapThemeSwitcher")),h=(i.cssThemeLink,i.debug);this.settings.includeBootswatch;if(j1.existsCookie(n.user_state)?(m.debug("\ncookie found: "+n.user_state),d=j1.readCookie(n.user_state)):(m.error("\ncookie not found: "+n.user_state),m.debug("\nj1 cookies found:"+a.length),a.forEach(function(e){console.log("j1.core.switcher: "+e)}),m.debug("\nga cookies found:"+r.length),r.forEach(function(e){console.log("j1.core.switcher: "+e)})),d.theme_name,d.theme_css,void 0===o&&(o=this.settings.defaultCssFile),void 0===t&&(t=o),i.saveToCookie){if("undefined"==typeof Cookies)return"true"===h&&m.error("\ncookies library not present"),!1;d.theme_name=t,d.theme_css=o,d.theme_name.includes("Uno")||"Bootstrap"==d.theme_name?(d.theme_author="J1 Team",d.theme_author_url="https://jekyll.one/"):(d.theme_author="Bootswatch",d.theme_author_url="https://bootswatch.com/"),m.debug("\nwrite to cookie : "+n.user_state),j1.writeCookie({name:n.user_state,data:d,secure:l,expires:365}),location.reload(!0)}else m.debug("\nwrite to cookie : disabled"),m.warn("\nselected theme not activated: "+t)},loadThemeFromCookie:function(t){if("undefined"==typeof Cookies)return m.error("\ncookies library not present"),!1;e.extend({},e.fn.bootstrapThemeSwitcher.defaults,t);j1.existsCookie(n.user_state)?(m.info("\ncookie found: "+n.user_state),d=j1.readCookie(n.user_state)):(m.error("\ncookie not found: "+n.user_state),m.debug("\nj1 cookies found:"+a.length),a.forEach(function(e){console.log("j1.core.switcher: "+e)}),m.debug("\nga cookies found:"+r.length),r.forEach(function(e){console.log("j1.core.switcher: "+e)}));var o=d.theme_name,s=d.theme_css;this.switchTheme(o,s)},addTheme:function(e,t,o,s){void 0===o&&(o=0),void 0===s&&(s=0),this.themesList.splice(o,s,{name:e,css:t}),this.addThemesToControl()},addThemesToControl:function(){if(void 0===this.$element)return m.error("\nbootstrapThemeSelector|addThemesToControl: Element is undefined"),!1;if(void 0===this.themesList)return m.error("\nbootstrapThemeSelector|addThemesToControl: Themes is undefined"),!1;if(this.settings.excludeBootswatch){var t;-1!==this.settings.excludeBootswatch.indexOf(",")?t=this.settings.excludeBootswatch.replace(/ /g,"").split(","):(t=[]).push(this.settings.excludeBootswatch);var o=this.themesList;e.each(o,function(s,i){i&&i.name&&-1!==e.inArray(i.name,t)&&o.splice(s,1)}),this.themesList=o}var s=this;if(this.$element.is("ul")){var i,h,c=e(this),l=e.extend({},e.fn.bootstrapThemeSwitcher.defaults,c.data("bootstrapThemeSwitcher")),u=(l.cssThemeLink,l.debug);j1.existsCookie(n.user_state)?(m.debug("\nuser state cookie found"),d=j1.readCookie(n.user_state)):(m.error("\nuser state NOT cookie found"),m.debug("\nj1 cookies found:"+a.length),a.forEach(function(e){console.log("j1.core.switcher: "+e)}),m.debug("\nga cookies found:"+r.length),r.forEach(function(e){console.log("j1.core.switcher: "+e)})),i=d.theme_name,"true"===u&&m.debug("\nbootstrapThemeSelector: UL element selected"),this.$element.empty();e.each(this.themesList,function(t,o){h=s.$element[0].id.includes("mmenu")?"mmenu-item":"dropdown-item",o.name===i&&(h=s.$element[0].id.includes("mmenu")?"mmenu-item active":"dropdown-item active");var n=e("<li />").attr("class",h).append('<a class="link-no-decoration" href="#"><i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>'+o.name+"</a>").on("click",function(){l.loadFromBootswatch?s.switchTheme(o.name,o.css):s.switchTheme(o.name,o.cssCdn),e(this).parent().find("li").removeClass("active"),e(this).addClass("active")});s.$element.append(n)})}else if(this.$element.is("select")){var f;m.debug("\nbootstrapThemeSelector: SELECT element selected"),this.$element.empty(),e.each(this.themesList,function(e,t){f=null,t.name===i&&(f="selected"),l.loadFromBootswatch?s.$element.append("<option "+f+" value='"+t.css+"'>"+t.name+"</option>"):s.$element.append("<option "+f+" value='"+t.cssCdn+"'>"+t.name+"</option>")}),this.$element.on("change",function(){var t=e("option:selected",this);s.switchTheme(t.text(),t.val())})}else m.info("\nbootstrapThemeSelector: no UL or SELECT element found"),m.error("\nbootstrapThemeSelector: failed")},getThemes:function(){var t=this;null!==this.settings.localFeed&&""!==this.settings.localFeed?e.ajax({url:this.settings.localFeed,dataType:"json",success:function(e){t.themesList=e.themes,t.addThemesToControl()},error:function(e,o,s){m.error("\nfailed to retrieve the local feed from: '"+t.settings.localFeed+"'")}}):e.ajax({url:this.settings.bootswatchApiUrl+"/"+this.settings.bootswatchApiVersion+".json",dataType:"json",success:function(e){if(void 0===e.themes)return null;t.themesList=e.themes,t.themesList.splice(0,0,{name:"default",css:t.settings.defaultCssFile}),t.addThemesToControl()}})},themes:function(e){if(void 0===e)return this.themesList;this.themesList=e}},e.fn.bootstrapThemeSwitcher=function(t){var o,s=Array.prototype.slice.call(arguments,1),i=e(this),n=i.data("bootstrapThemeSwitcher"),r="object"==typeof t&&t;return n||i.data("bootstrapThemeSwitcher",n=new u(this,r)),"string"==typeof t&&(o=n[t].apply(n,s)),void 0===o?i:o},e.fn.bootstrapThemeSwitcher.defaults={debug:!1,saveToCookie:!0,cssThemeLink:"bootstrapTheme",cookieThemeName:"bootstrapTheme.name",cookieThemeCss:"boostrapTheme.css",cookieExpiration:365,cookiePath:"/",defaultCssFile:"https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css",bootswatchApiUrl:"https://bootswatch.com/api/",bootswatchApiVersion:"4",loadFromBootswatch:!0,localFeed:"",excludeBootswatch:""},e.fn.bootstrapThemeSwitcher.Constructor=u,e.fn.bootstrapThemeSwitcher.noConflict=function(){return e.fn.BootstrapThemeSwitcher=i,this}}(jQuery,window,document);
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2022.5.1.rc0'
2
+ VERSION = '2022.5.1.rc1'
3
3
  end
@@ -70,7 +70,7 @@ end
70
70
  # ------------------------------------------------------------------------------
71
71
  # Specify the THEME GEM used for the project
72
72
  #
73
- gem 'j1-template', '~> 2022.5.1.rc0.rc0'
73
+ gem 'j1-template', '~> 2022.5.1.rc1'
74
74
 
75
75
  # ------------------------------------------------------------------------------
76
76
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -380,7 +380,7 @@ This command creates a **initial** project in folder **my-starter**.
380
380
  2022-07-30 18:12:12 - GENERATE: Resolving dependencies...
381
381
  2022-07-30 18:12:12 - GENERATE: Using bundler 2.3.7
382
382
  ...
383
- 2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.5.0.rc2
383
+ 2022-07-30 18:12:12 - GENERATE: Using j1-template 2022.5.1.rc1.rc2
384
384
  2022-07-30 18:12:12 - GENERATE: Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
385
385
  2022-07-30 18:12:12 - GENERATE: Bundled gems are installed into `../../.gem`
386
386
  2022-07-30 18:12:12 - GENERATE: C:/Users/xxx/.gem/ruby/3.1.0;C:/DevTools/Ruby31-x64/lib/ruby/gems/3.1.0;
@@ -416,7 +416,7 @@ commands are available as well.
416
416
  2022-07-30 18:17:48 - SETUP: Initialize the project ...
417
417
  2022-07-30 18:17:48 - SETUP: Be patient, this will take a while ...
418
418
  2022-07-30 18:17:49 - SETUP:
419
- 2022-07-30 18:17:49 - SETUP: > j1@2022.5.0 setup C:\Users\xxx\j1-projects\my-starter
419
+ 2022-07-30 18:17:49 - SETUP: > j1@2022.5.1.rc1 setup C:\Users\xxx\j1-projects\my-starter
420
420
  2022-07-30 18:17:49 - SETUP: > npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*
421
421
  2022-07-30 18:17:49 - SETUP:
422
422
  2022-07-30 18:17:50 - SETUP: Setup project for first use ..
@@ -461,7 +461,7 @@ browser. Let's start the journey ...
461
461
  Check setup state of the J1 project ...
462
462
  2022-07-30 18:26:18 - SITE: Starting up your site ...
463
463
  2022-07-30 18:26:18 - SITE:
464
- 2022-07-30 18:26:18 - SITE: > j1@2022.5.0 j1-site C:\Users\jadams\j1-projects\my-starter
464
+ 2022-07-30 18:26:18 - SITE: > j1@2022.5.1.rc1 j1-site C:\Users\jadams\j1-projects\my-starter
465
465
  2022-07-30 18:26:18 - SITE: > run-p -s j1-site:*
466
466
  2022-07-30 18:26:18 - SITE:
467
467
  2022-07-30 18:26:20 - SITE: Startup UTILSRV ..
@@ -500,7 +500,7 @@ Check setup state of the J1 project ...
500
500
  REBUILD: Rebuild the projects website ...
501
501
  REBUILD: Be patient, this will take a while ...
502
502
  2022-07-30 18:45:09 - REBUILD:
503
- 2022-07-30 18:45:09 - REBUILD: > j1@2022.5.0 rebuild C:\Users\xxx\j1-projects\my-starter
503
+ 2022-07-30 18:45:09 - REBUILD: > j1@2022.5.1.rc1 rebuild C:\Users\xxx\j1-projects\my-starter
504
504
  2022-07-30 18:45:09 - REBUILD: > run-s -s rebuild:* && run-s -s post-rebuild:*
505
505
  2022-07-30 18:45:09 - REBUILD:
506
506
  2022-07-30 18:45:10 - REBUILD: Rebuild site incremental ..
@@ -548,7 +548,7 @@ using Lerna for all packages:
548
548
  2022-07-30 18:29:07 - RESET: Reset the project to factory state ...
549
549
  2022-07-30 18:29:07 - RESET: Be patient, this will take a while ...
550
550
  2022-07-30 18:29:08 - RESET:
551
- 2022-07-30 18:29:08 - RESET: > j1@2022.5.0 reset C:\Users\xxx\j1-projects\my-starter
551
+ 2022-07-30 18:29:08 - RESET: > j1@2022.5.1.rc1 reset C:\Users\xxx\j1-projects\my-starter
552
552
  2022-07-30 18:29:08 - RESET: > run-s -s reset:*
553
553
  2022-07-30 18:29:08 - RESET:
554
554
  2022-07-30 18:29:08 - RESET: Reset project to factory state ..
@@ -55,7 +55,7 @@ environment: development
55
55
  # ------------------------------------------------------------------------------
56
56
  # Sets the build version of J1 Template Gem
57
57
  #
58
- version: 2022.5.1.rc0
58
+ version: 2022.5.1.rc1
59
59
 
60
60
  # version
61
61
  # ------------------------------------------------------------------------------
@@ -220,7 +220,7 @@ doctype: html
220
220
  # default: false
221
221
  #
222
222
  title: Jekyll One
223
- slogan: template for jekyll
223
+ slogan: j1 template starter web
224
224
  description: >
225
225
  Made for Jekyll · Made for Your Web
226
226
  keywords: >
@@ -113,7 +113,7 @@ settings:
113
113
  # id: new-version
114
114
  # image: /assets/images/sticker/600x600/sticker-new-version.png
115
115
  # size: 200
116
- # title: Get new version 2022.5.1.rc0
116
+ # title: Get new version 2022.5.1.rc1
117
117
  # style: "width: 140px; height: 120px;"
118
118
  # href: "https://rubygems.org/gems/j1-template"
119
119
  # target: blank
@@ -122,7 +122,7 @@ defaults:
122
122
  # not set, but automatically set by the browser to the (fully qualified)
123
123
  # hostname and all subdomains are excluded from accessing the cookies.
124
124
  #
125
- # NOTE: Be carefull setting switch 'domain' to auto. For sites deployed
125
+ # NOTE: Be careful by setting switch 'domain' to auto. For sites deployed
126
126
  # to hosts of public domain providers like Netlify (netlify.app),
127
127
  # this will open the access on cookies to ALL hosts (subdomains)!
128
128
  # See 'same_site'.
@@ -369,6 +369,6 @@ end
369
369
 
370
370
  module Jekyll
371
371
  module J1LunrSearch
372
- VERSION = '2022.5.1.rc0'
372
+ VERSION = '2022.5.1.rc1'
373
373
  end
374
374
  end
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: home
3
+ compress: true
3
4
 
4
5
  title: Jekyll One
5
- tagline: start using j1 template
6
- date: 2022-01-01 00:00:00
6
+ tagline: j1 template starter web
7
7
  description: >
8
8
  Jekyll One Template. Gem-based template made for Jekyll.
9
9
  J1 meets Jekyll and Bootstrap. And makes a lot of friends.
@@ -12,6 +12,27 @@ description: >
12
12
  Jekyll One Template is OpenSource and the modules included
13
13
  are free to use as well.
14
14
 
15
+ keywords: >
16
+ j1, jekyllone, gem, gem-based, template, system,
17
+ opensource, free, load, download, start, starter, example,
18
+ high, easy, use, secure, encrypt, standard, popular,
19
+ generate, develop, create, learn, distribute, publish, deploy,
20
+ beginner, advanced, expert, student, learner, writer, reader, visitor
21
+ framework, toolkit, integration, extension, module, api,
22
+ dynamic, static, generator, client, server, internet, local, localhost
23
+ page, web, website, webdesign, material, design, responsive,
24
+ javascript, nodejs, ruby, windows, linux, osx, mac, os,
25
+ http, https, html, html5, css, scss, style,
26
+ browser, firefox, chrome, edge, opera, safari,
27
+ configuration, generator, navigation, menu, dropdown, fab, action, button
28
+ application, interface, provider, api, repository,
29
+ cookie, language, translation, gdpr, dsgvo, privacy,
30
+ asciidoc, aciidoctor, bootstrap, jekyll, liquid,
31
+ hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
32
+ provider, service, internet, support,
33
+ google, analytics, advertising, search, console, silverlight, score,
34
+ j1, template, jekyllone, comment
35
+
15
36
  categories: [ Site ]
16
37
  tags: [ Home ]
17
38
 
@@ -20,23 +41,24 @@ robots:
20
41
  follow: true
21
42
 
22
43
  personalization: false
23
- exclude_from_search: true
44
+ comments: false
45
+ exclude_from_search: false
24
46
 
25
47
  fab_menu_id: default
26
48
  scrollbar: false
27
49
  toc: false
28
- compress: true
29
50
 
30
- regenerate: true
51
+ regenerate: false
31
52
 
32
- resources: [ animate, scroller ]
53
+ resources: [ animate, iconify, scroller ]
33
54
  resource_options:
34
55
  - attic:
35
56
 
36
57
  circuit: true
37
58
  pauseOnHover: true
59
+ padding_top: 550
38
60
 
39
- duration: 4000
61
+ duration: 6000
40
62
  transition: push_left|cover_up|cover_down|fade|fadeInOut
41
63
  transitionDuration: 1200
42
64
 
@@ -45,12 +67,12 @@ resource_options:
45
67
  - url: /assets/images/modules/attics/runner-1920x1200.jpg
46
68
  alt: runner-1920x1200.jpg
47
69
  title: Jekyll One
48
- tagline: start using j1 template
70
+ tagline: explore what j1 can do
49
71
 
50
72
  - url: /assets/images/modules/attics/1920x1280/firmbee-com.jpg
51
73
  alt: Photo by Firmbee.com on Unsplash
52
74
  title: Jekyll One
53
- tagline: ready to use build-in web
75
+ tagline: ready to use build-in web available
54
76
  badge:
55
77
  type: unsplash
56
78
  author: Firmbee.com
@@ -59,16 +81,16 @@ resource_options:
59
81
  - url: /assets/images/modules/attics/1920x1280/ben-kolde.jpg
60
82
  alt: Photo by Ben Kolde on Unsplash
61
83
  title: Create Your Web
62
- tagline: build an fast and secure website
84
+ tagline: build modern, fast and secure websites
63
85
  badge:
64
86
  type: unsplash
65
87
  author: Ben Kolde
66
88
  href: https://unsplash.com/@benkolde
67
89
 
68
90
  - url: /assets/images/modules/attics/spacex-1920x1280.jpg
69
- alt: hoto by SpaceX on Unsplash
91
+ alt: photo by SpaceX on Unsplash
70
92
  title: Start using J1 Template
71
- tagline: go for rocketstart to be ready in minutes
93
+ tagline: go for rocketstart, ready to go in minutes
72
94
  badge:
73
95
  type: unsplash
74
96
  author: SpaceX
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2022.5.1-rc0",
4
+ "version": "2022.5.1-rc1",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -114,7 +114,7 @@ common operating systems like Windows, Linux, and OSX.
114
114
 
115
115
  === Ruby
116
116
 
117
- For the latest versions of J1 Template (>= *2022.5.1.rc0*), Ruby V3 is recommended.
117
+ For the latest versions of J1 Template (>= *2022.5.1.rc1*), Ruby V3 is recommended.
118
118
  The latest Ruby versions offer much better run-time performance. Ruby 3 will
119
119
  be up to three times faster compared to Ruby 2.0. This will definively
120
120
  speed-up the development processes for your new website.