j1-template 2022.0.10 → 2022.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +1 -4
- data/assets/themes/j1/adapter/js/algolia.js +1 -4
- data/assets/themes/j1/adapter/js/analytics.js +237 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +1 -4
- data/assets/themes/j1/adapter/js/attic.js +1 -4
- data/assets/themes/j1/adapter/js/bmd.js +1 -4
- data/assets/themes/j1/adapter/js/carousel.js +1 -4
- data/assets/themes/j1/adapter/js/clipboard.js +1 -2
- data/assets/themes/j1/adapter/js/comments.js +387 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +35 -27
- data/assets/themes/j1/adapter/js/fab.js +1 -1
- data/assets/themes/j1/adapter/js/framer.js +1 -4
- data/assets/themes/j1/adapter/js/j1.js +52 -166
- data/assets/themes/j1/adapter/js/justifiedGallery.js +1 -4
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -4
- data/assets/themes/j1/adapter/js/lightbox.js +1 -5
- data/assets/themes/j1/adapter/js/logger.js +1 -2
- data/assets/themes/j1/adapter/js/mmenu.js +2 -3
- data/assets/themes/j1/adapter/js/navigator.js +4 -3
- data/assets/themes/j1/adapter/js/quicksearch.js +1 -4
- data/assets/themes/j1/adapter/js/rouge.js +1 -4
- data/assets/themes/j1/adapter/js/rtable.js +1 -4
- data/assets/themes/j1/adapter/js/rtextResizer.js +1 -4
- data/assets/themes/j1/adapter/js/scroller.js +1 -4
- data/assets/themes/j1/adapter/js/themer.js +1 -1
- data/assets/themes/j1/adapter/js/toccer.js +1 -4
- data/assets/themes/j1/adapter/js/translator.js +25 -68
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -9
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +14 -14
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +3 -2
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +2 -0
- data/lib/starter_web/_data/modules/defaults/advertising.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +19 -8
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +442 -309
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.no_ads.asciidoc → 100_present_images.base.asciidoc} +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +12 -26
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
data/assets/data/disqus.js
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/disqus.js
|
10
|
-
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# https://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2021 Juergen Adams
|
16
|
-
#
|
17
|
-
# J1 Template is licensed under the MIT License.
|
18
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
-
# -----------------------------------------------------------------------------
|
20
|
-
# Test data:
|
21
|
-
# liquid_var: {{ liquid_var | debug }}
|
22
|
-
# config: {{ config | debug }}
|
23
|
-
# -----------------------------------------------------------------------------
|
24
|
-
{% endcomment %}
|
25
|
-
|
26
|
-
{% comment %} Liquid procedures
|
27
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
|
29
|
-
{% comment %} Set global settings
|
30
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
-
{% assign environment = site.environment %}
|
32
|
-
|
33
|
-
{% comment %} Set config files
|
34
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
-
{% assign modules = site.data.modules %}
|
36
|
-
{% assign j1_config = site.data.j1_config %}
|
37
|
-
|
38
|
-
{% comment %} Set variables
|
39
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% assign comment_provider = 'disqus' %}
|
41
|
-
{% assign site_id = j1_config.comments.disqus.site_id %}
|
42
|
-
|
43
|
-
{% comment %} Main
|
44
|
-
================================================================================ {% endcomment %}
|
45
|
-
|
46
|
-
$(document).ready(function() {
|
47
|
-
var dependencies_met_page_finished = setInterval (function () {
|
48
|
-
if (j1.getState() === 'finished') {
|
49
|
-
var disqus_shortname = '{{site_id}}';
|
50
|
-
// -----------------------------------------------------------------
|
51
|
-
// RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE
|
52
|
-
// SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
53
|
-
// LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
|
54
|
-
// https://disqus.com/admin/universalcode/#configuration-variables
|
55
|
-
// -----------------------------------------------------------------
|
56
|
-
//
|
57
|
-
// var disqus_config = function () {
|
58
|
-
// this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
59
|
-
// Replace PAGE_IDENTIFIER with your page's unique
|
60
|
-
// identifier variable
|
61
|
-
// this.page.identifier = PAGE_IDENTIFIER;
|
62
|
-
// };
|
63
|
-
//
|
64
|
-
// DON'T EDIT BELOW THIS LINE
|
65
|
-
// -----------------------------------------------------------------
|
66
|
-
(function() {
|
67
|
-
var d = document,
|
68
|
-
s = d.createElement('script');
|
69
|
-
s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
70
|
-
s.setAttribute('data-timestamp', +new Date());
|
71
|
-
(d.head || d.body).appendChild(s);
|
72
|
-
})();
|
73
|
-
clearInterval(dependencies_met_page_finished);
|
74
|
-
}
|
75
|
-
}, 25);
|
76
|
-
});
|
77
|
-
|
78
|
-
{% endcapture %}
|
79
|
-
|
80
|
-
{{ cache | strip_empty_lines }}
|
81
|
-
{% assign cache = nil %}
|
data/assets/data/hyvor.js
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/disqus.js
|
10
|
-
# Liquid PROCEDURE to generate the JS portion used by J1 Connector Disqus
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# https://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2021 Juergen Adams
|
16
|
-
#
|
17
|
-
# J1 Template is licensed under the MIT License.
|
18
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
-
# -----------------------------------------------------------------------------
|
20
|
-
# Test data:
|
21
|
-
# liquid_var: {{ liquid_var | debug }}
|
22
|
-
# config: {{ config | debug }}
|
23
|
-
# -----------------------------------------------------------------------------
|
24
|
-
{% endcomment %}
|
25
|
-
|
26
|
-
{% comment %} Liquid procedures
|
27
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
|
29
|
-
{% comment %} Set global settings
|
30
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
-
{% assign environment = site.environment %}
|
32
|
-
|
33
|
-
{% comment %} Set config files
|
34
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
-
{% assign modules = site.data.modules %}
|
36
|
-
{% assign j1_config = site.data.j1_config %}
|
37
|
-
|
38
|
-
{% comment %} Set variables
|
39
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% assign comment_provider = 'hyvor' %}
|
41
|
-
{% assign site_id = j1_config.comments.hyvor.site_id %}
|
42
|
-
|
43
|
-
{% assign production = false %}
|
44
|
-
{% if environment == 'prod' or environment == 'production' %}
|
45
|
-
{% assign production = true %}
|
46
|
-
{% endif %}
|
47
|
-
|
48
|
-
{% comment %} Main
|
49
|
-
================================================================================ {% endcomment %}
|
50
|
-
|
51
|
-
$(document).ready(function() {
|
52
|
-
var dependencies_met_page_finished = setInterval (function () {
|
53
|
-
if (j1.getState() === 'finished') {
|
54
|
-
// DON'T EDIT BELOW THIS LINE
|
55
|
-
// -----------------------------------------------------------------------
|
56
|
-
var site_id = {{site_id}};
|
57
|
-
(function() {
|
58
|
-
var HYVOR_TALK_WEBSITE = site_id;
|
59
|
-
var HYVOR_TALK_CONFIG = {
|
60
|
-
url: false,
|
61
|
-
id: false
|
62
|
-
};
|
63
|
-
})();
|
64
|
-
}
|
65
|
-
clearInterval(dependencies_met_page_finished);
|
66
|
-
}, 25);
|
67
|
-
});
|
68
|
-
|
69
|
-
{% endcapture %}
|
70
|
-
|
71
|
-
{{ cache | strip_empty_lines }}
|
72
|
-
{% assign cache = nil %}
|