j1-template 2021.1.10 → 2021.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_app.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +1 -1
  4. data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
  5. data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
  6. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  7. data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
  8. data/_includes/themes/j1/layouts/layout_metadata_generator.html +55 -0
  9. data/_includes/themes/j1/modules/connectors/comment/commento.html +31 -0
  10. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +7 -8
  11. data/_includes/themes/j1/modules/connectors/comment/disqus.html +12 -54
  12. data/_includes/themes/j1/modules/connectors/comment/facebook.html +7 -8
  13. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +33 -0
  14. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +31 -0
  15. data/_includes/themes/j1/modules/connectors/comments +3 -0
  16. data/_layouts/default.html +51 -0
  17. data/assets/data/disqus.js +81 -0
  18. data/assets/data/hyvor.js +72 -0
  19. data/assets/error_pages/HTTP204.html +4 -0
  20. data/assets/error_pages/HTTP400.html +4 -0
  21. data/assets/error_pages/HTTP401.html +4 -0
  22. data/assets/error_pages/HTTP403.html +4 -0
  23. data/assets/error_pages/HTTP404.html +4 -0
  24. data/assets/error_pages/HTTP444.html +93 -0
  25. data/assets/error_pages/HTTP500.html +4 -0
  26. data/assets/error_pages/HTTP501.html +4 -0
  27. data/assets/error_pages/HTTP502.html +4 -0
  28. data/assets/error_pages/HTTP503.html +4 -0
  29. data/assets/themes/j1/adapter/js/algolia.js +10 -10
  30. data/assets/themes/j1/adapter/js/asciidoctor.js +6 -6
  31. data/assets/themes/j1/adapter/js/attic.js +17 -17
  32. data/assets/themes/j1/adapter/js/bmd.js +6 -6
  33. data/assets/themes/j1/adapter/js/carousel.js +10 -10
  34. data/assets/themes/j1/adapter/js/clipboard.js +10 -10
  35. data/assets/themes/j1/adapter/js/cookieConsent.js +60 -41
  36. data/assets/themes/j1/adapter/js/fam.js +34 -34
  37. data/assets/themes/j1/adapter/js/framer.js +6 -6
  38. data/assets/themes/j1/adapter/js/j1.js +537 -237
  39. data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -11
  40. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +19 -19
  41. data/assets/themes/j1/adapter/js/lightbox.js +6 -6
  42. data/assets/themes/j1/adapter/js/logger.js +7 -7
  43. data/assets/themes/j1/adapter/js/mmenu.js +25 -25
  44. data/assets/themes/j1/adapter/js/navigator.js +58 -48
  45. data/assets/themes/j1/adapter/js/quicksearch.js +6 -6
  46. data/assets/themes/j1/adapter/js/rouge.js +7 -7
  47. data/assets/themes/j1/adapter/js/rtable.js +6 -6
  48. data/assets/themes/j1/adapter/js/themer.js +149 -96
  49. data/assets/themes/j1/adapter/js/toccer.js +9 -9
  50. data/assets/themes/j1/core/js/template.js +24 -4
  51. data/assets/themes/j1/core/js/template.js.map +1 -1
  52. data/assets/themes/j1/core/js/template.min.js +24 -4
  53. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  54. data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
  55. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +35 -23
  56. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -2
  57. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.js +1 -1
  58. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +74 -55
  59. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +75 -57
  60. data/lib/j1/version.rb +1 -1
  61. data/lib/starter_web/Gemfile +1 -1
  62. data/lib/starter_web/_config.yml +42 -24
  63. data/lib/starter_web/_data/j1_config.yml +22 -11
  64. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +11 -9
  65. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -0
  66. data/lib/starter_web/_data/resources.yml +0 -4
  67. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  68. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  69. data/lib/starter_web/assets/images/modules/attics/matthew-dockery-1920x1280.jpg +0 -0
  70. data/lib/starter_web/index.html +3 -3
  71. data/lib/starter_web/package.json +1 -1
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +3 -0
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
  74. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
  75. data/lib/starter_web/pages/public/blog/navigator/archive.html +4 -0
  76. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +4 -0
  77. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +4 -0
  78. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -1
  79. data/lib/starter_web/pages/public/blog/navigator/index.html +4 -0
  80. data/lib/starter_web/pages/public/cookieConsent.adoc +3 -0
  81. data/lib/starter_web/pages/public/learn/quickstart.adoc +473 -0
  82. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +0 -1
  83. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -1
  84. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +0 -2
  85. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +0 -2
  86. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -1
  87. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +0 -1
  88. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +0 -1
  89. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +0 -1
  90. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +0 -1
  91. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  92. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +3 -1
  93. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
  94. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +81 -20
  95. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +34 -16
  96. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  97. data/lib/starter_web/utilsrv/package.json +1 -1
  98. metadata +10 -8
  99. data/assets/themes/j1/adapter/js/themer.1.js +0 -326
  100. data/assets/themes/j1/modules/util/js/js.cookie.js +0 -163
  101. data/assets/themes/j1/modules/util/js/lite-url.js +0 -203
  102. data/assets/themes/j1/modules/util/js/lite-url.min.js +0 -7
  103. data/assets/themes/j1/modules/util/js/platform.js +0 -1260
  104. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
@@ -47,16 +47,21 @@
47
47
 
48
48
  var old = $.fn.bootstrapThemeSwitcher;
49
49
 
50
- var cookie_names = j1.getCookieNames();
51
- const user_state_cookie_name = cookie_names.user_state;
50
+ var cookie_names = j1.getCookieNames();
51
+ var gaCookies = j1.findCookie('_ga');
52
+ var j1Cookies = j1.findCookie('j1');
53
+ var url = new liteURL(window.location.href);
54
+ var hostname = url.hostname;
55
+ var domain = hostname.substring(hostname.lastIndexOf('.', hostname.lastIndexOf('.') - 1) + 1);
56
+ var secure = (url.protocol.includes('https')) ? true : false;
52
57
 
53
58
  var logger = log4javascript.getLogger('j1.core.switcher');
54
59
  var logText;
55
60
 
56
61
  var user_state_detected;
57
- var j1_user_state = {};
58
- var j1_user_state_json;
59
- var j1_user_state_cookie;
62
+ var user_state = {};
63
+ var user_state_json;
64
+ var user_state_cookie;
60
65
 
61
66
  // Constructor
62
67
  // ---------------------------------------------------------------------------
@@ -75,13 +80,13 @@
75
80
  // ---------------------------------------------------------------------------
76
81
  BootstrapThemeSwitcher.prototype = {
77
82
  clear: function () {
78
- logger.debug('bootstrapThemeSwitcher.clear');
83
+ logger.debug('\n' + 'bootstrapThemeSwitcher.clear');
79
84
  return this.$element.each(function () {
80
85
  this.$element.empty();
81
86
  });
82
87
  },
83
88
  update: function () {
84
- logger.debug('bootstrapThemeSwitcher.update');
89
+ logger.debug('\n' + 'bootstrapThemeSwitcher.update');
85
90
  this.getThemes();
86
91
  },
87
92
 
@@ -112,27 +117,29 @@
112
117
  // -------------------------------------------------------------------------
113
118
  switchTheme: function (name, cssFile) {
114
119
 
115
- var $this = $(this);
116
- var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
120
+ var $this = $(this);
121
+ var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
122
+ var id = settings.cssThemeLink;
123
+ var debug = settings.debug;
124
+ var includeCSS = this.settings.includeBootswatch;
117
125
  var themeName;
118
126
  var theme_css;
119
- var theme_extension_css;
120
-
121
- var id = settings.cssThemeLink;
122
- var debug = settings.debug;
123
- var includeCSS = this.settings.includeBootswatch;
124
127
 
125
128
  // detect|set user state cookie
126
- user_state_detected = j1.existsCookie ( 'j1.user.state' );
129
+ user_state_detected = j1.existsCookie (cookie_names.user_state);
127
130
  if ( user_state_detected ) {
128
- logger.debug('cookie found: j1.user.state');
129
- j1_user_state = j1.readCookie(user_state_cookie_name);
131
+ logger.debug('\n' + 'cookie found: ' + cookie_names.user_state);
132
+ user_state = j1.readCookie(cookie_names.user_state);
130
133
  } else {
131
- logger.error('cookie not found: j1.user.state');
134
+ logger.error('\n' + 'cookie not found: ' + cookie_names.user_state);
135
+ logger.debug('\n' + 'j1 cookies found:' + j1Cookies.length);
136
+ j1Cookies.forEach(item => console.log('j1.core.switcher: ' + item));
137
+ logger.debug('\n' + 'ga cookies found:' + gaCookies.length);
138
+ gaCookies.forEach(item => console.log('j1.core.switcher: ' + item));
132
139
  }
133
140
 
134
- themeName = j1_user_state.theme_name;
135
- theme_css = j1_user_state.theme_css;
141
+ themeName = user_state.theme_name;
142
+ theme_css = user_state.theme_css;
136
143
 
137
144
  if (typeof cssFile === 'undefined') { cssFile = this.settings.defaultCssFile; }
138
145
  if (typeof name === 'undefined') { name = cssFile; }
@@ -141,33 +148,36 @@
141
148
  if (settings.saveToCookie) {
142
149
  if ( typeof Cookies === 'undefined' ) {
143
150
  if ( debug === 'true' ) {
144
- logger.error('cookies library not present');
151
+ logger.error('\n' + 'cookies library not present');
145
152
  }
146
153
  return false;
147
154
  }
148
155
 
149
- j1_user_state.theme_name = name;
150
- j1_user_state.theme_css = cssFile;
156
+ user_state.theme_name = name;
157
+ user_state.theme_css = cssFile;
151
158
 
152
- if (!(j1_user_state.theme_name.includes('Uno') || j1_user_state.theme_name == 'Bootstrap')) {
153
- j1_user_state.theme_author = 'Bootswatch';
154
- j1_user_state.theme_author_url = 'https://bootswatch.com/';
159
+ if (!(user_state.theme_name.includes('Uno') || user_state.theme_name == 'Bootstrap')) {
160
+ user_state.theme_author = 'Bootswatch';
161
+ user_state.theme_author_url = 'https://bootswatch.com/';
155
162
  } else {
156
- j1_user_state.theme_author = 'J1 Team';
157
- j1_user_state.theme_author_url = 'https://jekyll.one/';
163
+ user_state.theme_author = 'J1 Team';
164
+ user_state.theme_author_url = 'https://jekyll.one/';
158
165
  }
159
166
 
167
+ logger.debug('\n' + 'write to cookie : ' + cookie_names.user_state);
160
168
  j1.writeCookie({
161
- name: user_state_cookie_name,
162
- data: j1_user_state
169
+ name: cookie_names.user_state,
170
+ data: user_state,
171
+ samesite: 'Strict',
172
+ secure: secure,
173
+ expires: 365
163
174
  });
164
175
 
165
- // force reload the page from the server (skip cache)
166
- // and detect selected theme from cookie
176
+ // reload current page (skip cache)
167
177
  location.reload(true);
168
178
  } else {
169
- logger.warn('write to cookie : disabled');
170
- logger.warn('selected theme not activated: ' + name);
179
+ logger.debug('\n' + 'write to cookie : disabled');
180
+ logger.warn('\n' + 'selected theme not activated: ' + name);
171
181
  } // END if saveToCookie
172
182
 
173
183
  }, // END switchTheme
@@ -178,24 +188,28 @@
178
188
  loadThemeFromCookie: function (options) {
179
189
 
180
190
  if ( typeof Cookies === 'undefined' ) {
181
- logger.error('cookies library not present');
191
+ logger.error('\n' + 'cookies library not present');
182
192
  return false;
183
193
  }
184
194
 
185
195
  var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, options);
186
196
 
187
197
  // detect|set user state cookie
188
- user_state_detected = j1.existsCookie ( 'j1.user.state' );
198
+ user_state_detected = j1.existsCookie (cookie_names.user_state);
189
199
 
190
200
  if ( user_state_detected ) {
191
- logger.info('cookie found: j1.user.state');
192
- j1_user_state = j1.readCookie(user_state_cookie_name);
201
+ logger.info('\n' + 'cookie found: ' + cookie_names.user_state);
202
+ user_state = j1.readCookie(cookie_names.user_state);
193
203
  } else {
194
- logger.error('cookie not found: j1.user.state');
204
+ logger.error('\n' + 'cookie not found: ' + cookie_names.user_state);
205
+ logger.debug('\n' + 'j1 cookies found:' + j1Cookies.length);
206
+ j1Cookies.forEach(item => console.log('j1.core.switcher: ' + item));
207
+ logger.debug('\n' + 'ga cookies found:' + gaCookies.length);
208
+ gaCookies.forEach(item => console.log('j1.core.switcher: ' + item));
195
209
  }
196
210
 
197
- var themeName = j1_user_state.theme_name;
198
- var themeCss = j1_user_state.theme_css;
211
+ var themeName = user_state.theme_name;
212
+ var themeCss = user_state.theme_css;
199
213
  this.switchTheme(themeName, themeCss);
200
214
 
201
215
  }, // END loadThemeFromCookie
@@ -215,11 +229,11 @@
215
229
  // -------------------------------------------------------------------------
216
230
  addThemesToControl: function() {
217
231
  if (typeof this.$element === 'undefined') {
218
- logger.error('bootstrapThemeSelector|addThemesToControl: Element is undefined');
232
+ logger.error('\n' + 'bootstrapThemeSelector|addThemesToControl: Element is undefined');
219
233
  return false;
220
234
  }
221
235
  if (typeof this.themesList === 'undefined') {
222
- logger.error('bootstrapThemeSelector|addThemesToControl: Themes is undefined');
236
+ logger.error('\n' + 'bootstrapThemeSelector|addThemesToControl: Themes is undefined');
223
237
  return false;
224
238
  }
225
239
 
@@ -248,25 +262,29 @@
248
262
  var base = this;
249
263
 
250
264
  if (this.$element.is('ul')) {
251
- var $this = $(this);
252
- var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
253
- var id = settings.cssThemeLink;
265
+ var $this = $(this);
266
+ var settings = $.extend({}, $.fn.bootstrapThemeSwitcher.defaults, $this.data('bootstrapThemeSwitcher'));
267
+ var id = settings.cssThemeLink;
268
+ var debug = settings.debug;
254
269
  var themeName;
255
- var debug = settings.debug;
256
270
 
257
271
  // detect|set user state cookie
258
- user_state_detected = j1.existsCookie ( 'j1.user.state' );
272
+ user_state_detected = j1.existsCookie (cookie_names.user_state);
259
273
  if ( user_state_detected ) {
260
- logger.debug('User state cookie found');
261
- j1_user_state = j1.readCookie(user_state_cookie_name);
274
+ logger.debug('\n' + 'user state cookie found');
275
+ user_state = j1.readCookie(cookie_names.user_state);
262
276
  } else {
263
- logger.error('User state NOT cookie found');
277
+ logger.error('\n' + 'user state NOT cookie found');
278
+ logger.debug('\n' + 'j1 cookies found:' + j1Cookies.length);
279
+ j1Cookies.forEach(item => console.log('j1.core.switcher: ' + item));
280
+ logger.debug('\n' + 'ga cookies found:' + gaCookies.length);
281
+ gaCookies.forEach(item => console.log('j1.core.switcher: ' + item));
264
282
  }
265
283
 
266
- themeName = j1_user_state.theme_name;
284
+ themeName = user_state.theme_name;
267
285
 
268
286
  if ( debug === 'true' ) {
269
- logger.debug('bootstrapThemeSelector: UL element selected');
287
+ logger.debug('\n' + 'bootstrapThemeSelector: UL element selected');
270
288
  }
271
289
  this.$element.empty();
272
290
 
@@ -306,7 +324,7 @@
306
324
  });
307
325
 
308
326
  } else if (this.$element.is('select')) {
309
- logger.debug('bootstrapThemeSelector: SELECT element selected');
327
+ logger.debug('\n' + 'bootstrapThemeSelector: SELECT element selected');
310
328
  this.$element.empty();
311
329
 
312
330
  var optionSelectedMarker;
@@ -328,8 +346,8 @@
328
346
 
329
347
  } else {
330
348
  // no container found to add Theme list
331
- logger.info('bootstrapThemeSelector: no UL or SELECT element found');
332
- logger.error('bootstrapThemeSelector: failed');
349
+ logger.info('\n' + 'bootstrapThemeSelector: no UL or SELECT element found');
350
+ logger.error('\n' + 'bootstrapThemeSelector: failed');
333
351
  // console.warn('bootstrapThemeSelector only works with ul or select elements');
334
352
  }
335
353
  }, // END addThemesToControl
@@ -352,7 +370,7 @@
352
370
  base.addThemesToControl();
353
371
  },
354
372
  error: function (jqXHR, textStatus, errorThrown) {
355
- logger.error('Failed to retrieve the local feed from: \'' + base.settings.localFeed + '\'');
373
+ logger.error('\n' + 'failed to retrieve the local feed from: \'' + base.settings.localFeed + '\'');
356
374
  }
357
375
  });
358
376
  } else {
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2021.1.10'
2
+ VERSION = '2021.1.14'
3
3
  end
@@ -54,7 +54,7 @@ gem 'jekyll', '~> 4.2'
54
54
 
55
55
  # Theme Rubies, default: J1 Template (NOT used for the development system)
56
56
  #
57
- gem 'j1-template', '~> 2021.1.10'
57
+ gem 'j1-template', '~> 2021.1.14'
58
58
 
59
59
  # ------------------------------------------------------------------------------
60
60
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -53,7 +53,7 @@ environment: production
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2021.1.10
56
+ version: 2021.1.14
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -597,9 +597,13 @@ defaults:
597
597
  index: false
598
598
  follow: false
599
599
 
600
- analytics: false
600
+ personalization: false
601
+
602
+ analytics: true
603
+ comments: true
601
604
  advertising: false
602
- comments: false
605
+ youtube: true
606
+ vimeo: true
603
607
 
604
608
  toc: true
605
609
  fam_menu_id: page_ctrl_simple
@@ -625,7 +629,7 @@ defaults:
625
629
  # PUBLIC - FEATURED
626
630
  #
627
631
  - scope:
628
- path: posts/public/featured/_posts
632
+ path: posts/public/featured
629
633
  type: posts
630
634
 
631
635
  values:
@@ -636,9 +640,13 @@ defaults:
636
640
  index: false
637
641
  follow: false
638
642
 
639
- analytics: false
643
+ personalization: false
644
+
645
+ analytics: true
646
+ comments: true
640
647
  advertising: false
641
- comments: false
648
+ youtube: true
649
+ vimeo: true
642
650
 
643
651
  series: false
644
652
 
@@ -647,13 +655,13 @@ defaults:
647
655
  scrollbar: false
648
656
 
649
657
  icons:
650
- # category-icon: comment-text-outline
658
+ category-icon: false # comment-text-outline
651
659
  family: MDI
652
660
  color: md-blue
653
661
  size: 5x
654
662
 
655
663
  images:
656
- # category-image: img26.jpg
664
+ category-image: false # img26.jpg
657
665
  dir: /assets/images/collections/blog/featured
658
666
 
659
667
  resource_options:
@@ -665,7 +673,7 @@ defaults:
665
673
  #
666
674
  - scope:
667
675
  type: posts
668
- path: posts/public/series/_posts
676
+ path: posts/public/series
669
677
 
670
678
  values:
671
679
  layout: post
@@ -675,24 +683,22 @@ defaults:
675
683
  index: false
676
684
  follow: false
677
685
 
678
- analytics: false
679
- advertising: false
680
- comments: false
686
+ personalization: false
681
687
 
682
- series: true
683
-
684
- toc: true
685
- fam_menu_id: page_ctrl_simple
686
- scrollbar: false
688
+ analytics: true
689
+ comments: true
690
+ advertising: false
691
+ youtube: true
692
+ vimeo: true
687
693
 
688
694
  icons:
689
- # category-icon: dots-horizontal-circle
695
+ category-icon: false # dots-horizontal-circle
690
696
  family: MDI
691
697
  color: md-indigo
692
698
  size: 5x
693
699
 
694
700
  images:
695
- # category-image: img26.jpg
701
+ category-image: false # img26.jpg
696
702
  dir: /assets/images/collections/blog/series
697
703
 
698
704
  # ----------------------------------------------------------------------------
@@ -700,7 +706,7 @@ defaults:
700
706
  #
701
707
  - scope:
702
708
  type: posts
703
- path: posts/public/wikipedia/_posts
709
+ path: posts/public/wikipedia
704
710
 
705
711
  values:
706
712
  layout: post
@@ -710,9 +716,13 @@ defaults:
710
716
  index: false
711
717
  follow: false
712
718
 
713
- analytics: false
714
- advertising: false
719
+ personalization: false
720
+
721
+ analytics: true
715
722
  comments: false
723
+ advertising: false
724
+ youtube: false
725
+ vimeo: false
716
726
 
717
727
  series: false
718
728
 
@@ -721,13 +731,13 @@ defaults:
721
731
  scrollbar: false
722
732
 
723
733
  icons:
724
- # category-icon: wikipedia
734
+ category-icon: false # wikipedia
725
735
  family: MDI
726
736
  color: md-indigo
727
737
  size: 5x
728
738
 
729
739
  images:
730
- category-image:
740
+ category-image: false
731
741
  dir: /assets/images/collections/blog/wikipedia
732
742
 
733
743
  # ----------------------------------------------------------------------------
@@ -749,6 +759,14 @@ defaults:
749
759
  index: false
750
760
  follow: false
751
761
 
762
+ personalization: false
763
+
764
+ analytics: false
765
+ comments: false
766
+ advertising: false
767
+ youtube: false
768
+ vimeo: false
769
+
752
770
  # ==============================================================================
753
771
  # 6. LAYOUT configuration
754
772
  #
@@ -384,19 +384,30 @@ body:
384
384
  # ------------------------------------------------------------------------------
385
385
  comments:
386
386
  enabled: false
387
- provider: disqus
387
+
388
+ xhr_data_path: /assets/data
389
+ provider: hyvor # hyvor | disqus
388
390
 
389
- disqus:
390
- short_name: '<your-site-id>'
391
-
392
- # facebook: # currently NOT supported
393
- # appid: 123
394
- # num_posts: 5
395
- # width: 580
396
- # colorscheme: light
391
+ hyvor:
392
+ site_id: 'hyvor-site-id'
397
393
 
398
- # custom: # currently NOT supported
399
- # custom_data:
394
+ disqus:
395
+ site_id: '<your-site-short-name>'
396
+
397
+ # commento: # currently NOT supported
398
+ # site_id: 'commento-site-id'
399
+ #
400
+ # just-comments: # currently NOT supported
401
+ # site_id: 'just-comments-site-id'
402
+
403
+ # facebook: # currently NOT supported
404
+ # appid: 'facebook-app-id'
405
+ # num_posts: 5
406
+ # width: 580
407
+ # colorscheme: light
408
+
409
+ # custom: # currently NOT supported
410
+ # custom_data:
400
411
 
401
412
  # ------------------------------------------------------------------------------
402
413
  # ANALYTICS settings