j1-template 2022.0.10 → 2022.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/advertising.js +66 -48
  3. data/assets/themes/j1/adapter/js/algolia.js +10 -13
  4. data/assets/themes/j1/adapter/js/analytics.js +259 -0
  5. data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
  6. data/assets/themes/j1/adapter/js/attic.js +10 -5
  7. data/assets/themes/j1/adapter/js/bmd.js +10 -14
  8. data/assets/themes/j1/adapter/js/carousel.js +10 -13
  9. data/assets/themes/j1/adapter/js/clipboard.js +9 -10
  10. data/assets/themes/j1/adapter/js/comments.js +407 -0
  11. data/assets/themes/j1/adapter/js/cookieConsent.js +106 -87
  12. data/assets/themes/j1/adapter/js/fab.js +11 -11
  13. data/assets/themes/j1/adapter/js/framer.js +60 -62
  14. data/assets/themes/j1/adapter/js/j1.js +225 -268
  15. data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
  16. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
  17. data/assets/themes/j1/adapter/js/lightbox.js +12 -9
  18. data/assets/themes/j1/adapter/js/logger.js +11 -5
  19. data/assets/themes/j1/adapter/js/mmenu.js +11 -12
  20. data/assets/themes/j1/adapter/js/navigator.js +13 -12
  21. data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
  22. data/assets/themes/j1/adapter/js/rouge.js +10 -13
  23. data/assets/themes/j1/adapter/js/rtable.js +10 -13
  24. data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
  25. data/assets/themes/j1/adapter/js/scroller.js +13 -11
  26. data/assets/themes/j1/adapter/js/themer.js +12 -3
  27. data/assets/themes/j1/adapter/js/toccer.js +10 -13
  28. data/assets/themes/j1/adapter/js/translator.js +35 -81
  29. data/assets/themes/j1/core/js/template.js +13 -5
  30. data/assets/themes/j1/core/js/template.min.js +1 -1
  31. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  32. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +14 -4
  33. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  34. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  35. data/lib/j1/version.rb +1 -1
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +1 -9
  38. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  39. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  40. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  41. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  42. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  43. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  44. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  45. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  46. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  47. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  48. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  49. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  50. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  51. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  52. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  53. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  54. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  55. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  56. data/lib/starter_web/_data/j1_config.yml +0 -116
  57. data/lib/starter_web/_data/layouts/default.yml +14 -14
  58. data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
  59. data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
  60. data/lib/starter_web/_data/layouts/home.yml +1 -1
  61. data/lib/starter_web/_data/layouts/page.yml +7 -18
  62. data/lib/starter_web/_data/layouts/post.yml +0 -11
  63. data/lib/starter_web/_data/modules/advertising.yml +4 -14
  64. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  65. data/lib/starter_web/_data/modules/attics.yml +3 -2
  66. data/lib/starter_web/_data/modules/comments.yml +55 -0
  67. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  68. data/lib/starter_web/_data/modules/cookies.yml +6 -1
  69. data/lib/starter_web/_data/modules/defaults/advertising.yml +9 -9
  70. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  71. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  72. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  73. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  74. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  75. data/lib/starter_web/_data/modules/defaults/cookies.yml +107 -26
  76. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  77. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  78. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  79. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  80. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  81. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  82. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  83. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  84. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  85. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  86. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  87. data/lib/starter_web/_data/modules/fab.yml +3 -2
  88. data/lib/starter_web/_data/modules/framer.yml +3 -4
  89. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  90. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  91. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  92. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  93. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  94. data/lib/starter_web/_data/modules/themer.yml +2 -3
  95. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  96. data/lib/starter_web/_data/modules/translator.yml +1 -1
  97. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  98. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  99. data/lib/starter_web/_data/resources.yml +442 -309
  100. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  101. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  102. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  103. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
  104. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  105. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  106. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
  107. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
  108. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  109. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  110. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
  111. data/lib/starter_web/index.html +0 -3
  112. data/lib/starter_web/package.json +1 -1
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -4
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -4
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -4
  119. data/lib/starter_web/pages/public/learn/roundtrip/{100_present_images.no_ads.asciidoc → 100_present_images.base.asciidoc} +0 -0
  120. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  121. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
  122. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
  123. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  124. data/lib/starter_web/utilsrv/package.json +1 -1
  125. metadata +14 -26
  126. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  127. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  128. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  129. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  130. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  131. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  132. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  133. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  134. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  135. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  136. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  137. data/_includes/themes/j1/modules/connectors/comments +0 -64
  138. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  139. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  140. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  141. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  142. data/_includes/themes/j1/modules/connectors/translator +0 -58
  143. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  144. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  145. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  146. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  147. data/assets/data/disqus.js +0 -81
  148. data/assets/data/hyvor.js +0 -72
@@ -0,0 +1,99 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/analytics.yml
3
+ # User configuration settings for J1 Analytics module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description (used for J1 CC only)
16
+ #
17
+ description:
18
+
19
+ title: J1 Analytics
20
+ scope: User settings
21
+ location: _data/modules/analytics.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # User configuration settings
25
+ #
26
+ settings:
27
+
28
+ # ----------------------------------------------------------------------------
29
+ # Settings
30
+ #
31
+ # enabled
32
+ # --------------------------------------------------------------------------
33
+ # Enables or disables the Analytics services. If disabled, the services
34
+ # won't be enabled on any page.
35
+ #
36
+ # values: [true|false]
37
+ # default: false
38
+ #
39
+ # provider
40
+ # --------------------------------------------------------------------------
41
+ # Currently, only Google Analytics (google) is available as an provider
42
+ # for Analytics services.
43
+ #
44
+ # values: [google]
45
+ # default: google
46
+ #
47
+ # ----------------------------------------------------------------------------
48
+ #
49
+ enabled: true
50
+
51
+ provider: google
52
+ google:
53
+ # --------------------------------------------------------------------------
54
+ # Provider settings
55
+ #
56
+ # trackingID
57
+ # ------------------------------------------------------------------------
58
+ # Your tracking id (G-XXX..XX) connected with your Analytices
59
+ # Account the for the domain registered.
60
+ #
61
+ # values: string
62
+ # default: none
63
+ #
64
+ # optInOut
65
+ # ------------------------------------------------------------------------
66
+ # Google Analytics Opt In. GA will be enabled by default and at a
67
+ # later point it can be disabled based on the visitor's privacy
68
+ # settings (Analytics) with the cookie consent dialog.
69
+ #
70
+ # values: [true|false]
71
+ # default: true
72
+ #
73
+ # anonymizeIP
74
+ # ------------------------------------------------------------------------
75
+ # For the use of Google Analytics to comply with the GDPR, the processed
76
+ # IP address at GA can be anonymized (set option 'anonymizeIp' to 'true').
77
+ # The IP anonymization function at Google GA holds the data "in memeory"
78
+ # and sets the last octet for the user's IPv4 addresses and the last
79
+ # 80 bits for IPv6 addresses to zero.
80
+ # That happens at GA shortly after they are sent to Google Analytics.
81
+ # This way, the full IP address is NEVER written to disk or stored
82
+ # permanenty anyway. Geographically dimensions are later derived from
83
+ # the anonymized IP address NOT affected by anonymization.
84
+ #
85
+ # See:
86
+ # https://support.google.com/analytics/answer/2763052
87
+ # https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization?hl=en
88
+ #
89
+ # values: [true|false]
90
+ # default: true
91
+ #
92
+ # --------------------------------------------------------------------------
93
+ #
94
+ trackingID: G-299QGW5RJH # '<your-tracking-id>'
95
+ optInOut: true
96
+ anonymizeIP: true
97
+
98
+ # ------------------------------------------------------------------------------
99
+ # END config
@@ -22,9 +22,8 @@
22
22
  # ------------------------------------------------------------------------------
23
23
 
24
24
  # ------------------------------------------------------------------------------
25
- # About this configuration (used for J1 CC only)
25
+ # Description (used for J1 CC only)
26
26
  #
27
- about_config:
28
27
 
29
28
  title: Attics
30
29
  scope: User settings
@@ -34,6 +33,8 @@ about_config:
34
33
  # SETTINGS
35
34
  #
36
35
  settings:
36
+ enabled: true
37
+
37
38
  # ----------------------------------------------------------------------------
38
39
  # Global settings for text- and image-based header
39
40
  #
@@ -0,0 +1,55 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/comments.yml
3
+ # User configuration settings for J1 Comments Module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description (used for J1 CC only)
16
+ #
17
+ description:
18
+
19
+ title: J1 Comments
20
+ scope: User settings
21
+ location: _data/modules/comments.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # User configuration settings
25
+ #
26
+ settings:
27
+ # ----------------------------------------------------------------------------
28
+ # Base settings
29
+ #
30
+ # enabled
31
+ # --------------------------------------------------------------------------
32
+ # Enables or disable comments services. If disabled, the service
33
+ # won't be enabled on any page.
34
+ #
35
+ # values: [true|false]
36
+ # default: false
37
+ #
38
+ # provider
39
+ # --------------------------------------------------------------------------
40
+ # Specifies the provider to be used for commenting
41
+ #
42
+ # values: [disqus|hyvor|commento|just-comments]
43
+ # default: disqus
44
+ #
45
+ # ----------------------------------------------------------------------------
46
+
47
+ # ----------------------------------------------------------------------------
48
+ # Base settings (required)
49
+ # ----------------------------------------------------------------------------
50
+ enabled: false
51
+
52
+ provider: hyvor
53
+
54
+ # ------------------------------------------------------------------------------
55
+ # END config
@@ -24,9 +24,10 @@ description:
24
24
  # User configuration settings
25
25
  #
26
26
  settings:
27
-
28
27
  enabled: true
28
+
29
29
  show_cookie_icon: true
30
+ expire_cookies_on_required_only: true
30
31
 
31
32
  # ------------------------------------------------------------------------------
32
33
  # END config
@@ -24,7 +24,12 @@ description:
24
24
  # User configuration settings
25
25
  #
26
26
  settings:
27
- check_cookies: false
27
+ enabled: true
28
28
 
29
+ # ----------------------------------------------------------------------------
30
+ # Switches
31
+ # ----------------------------------------------------------------------------
32
+ checkCookies: true
33
+
29
34
  # ------------------------------------------------------------------------------
30
35
  # END config
@@ -16,9 +16,10 @@
16
16
  # ------------------------------------------------------------------------------
17
17
 
18
18
  # ------------------------------------------------------------------------------
19
- # About this configuration (used for J1 CC only)
19
+ # Description (used for J1 CC only)
20
20
  #
21
- about_config:
21
+ description:
22
+
22
23
  title: Advertising
23
24
  scope: Default settings
24
25
  location: _data/modules/default/advertising.yml
@@ -33,11 +34,12 @@ defaults:
33
34
  #
34
35
  # enabled
35
36
  # --------------------------------------------------------------------------
36
- # Enables or disables the Ad services. If disabled, no ads services are
37
- # enabled and no unit container get initialized on any page.
37
+ # Enables or disables the Ad services. If disabled, ad services is NOT
38
+ # initialized and no unit container get initialized on any page even the
39
+ # module is loaded.
38
40
  #
39
41
  # values: [true|false]
40
- # default: false
42
+ # default: true
41
43
  #
42
44
  # provider
43
45
  # --------------------------------------------------------------------------
@@ -49,13 +51,12 @@ defaults:
49
51
  #
50
52
  # ----------------------------------------------------------------------------
51
53
  #
52
- enabled: false
54
+ enabled: true
53
55
  provider: google
54
56
 
55
57
  google:
56
-
57
58
  # --------------------------------------------------------------------------
58
- # Provider settings
59
+ # Provider settings (Google)
59
60
  #
60
61
  # publisherID
61
62
  # ------------------------------------------------------------------------
@@ -99,7 +100,6 @@ defaults:
99
100
  addBorderOnUnfilled: true
100
101
  checkTrackingProtection: false
101
102
  showErrorPageOnBlocked: false
102
- addBorderOnUnfilled: true
103
103
 
104
104
  # ------------------------------------------------------------------------------
105
105
  # END config
@@ -0,0 +1,93 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/default/analytics.yml
3
+ # Default configuration settings of the Analytics Module (GAD)
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
+ #
13
+ # ------------------------------------------------------------------------------
14
+ # NOTE:
15
+ #
16
+ # ------------------------------------------------------------------------------
17
+
18
+ # ------------------------------------------------------------------------------
19
+ # Description (used for J1 CC only)
20
+ #
21
+ description:
22
+
23
+ title: Analytics
24
+ scope: Default settings
25
+ location: _data/modules/default/analytics.yml
26
+
27
+ # ------------------------------------------------------------------------------
28
+ # Default settings
29
+ #
30
+ defaults:
31
+
32
+ # ----------------------------------------------------------------------------
33
+ # Settings
34
+ #
35
+ # enabled
36
+ # --------------------------------------------------------------------------
37
+ # Enables or disables the Ad services. If disabled, no ads services are
38
+ # enabled and no unit container get initialized on any page.
39
+ #
40
+ # values: [true|false]
41
+ # default: false
42
+ #
43
+ # provider
44
+ # --------------------------------------------------------------------------
45
+ # Currently, only Google adsense (google) is available as an provider
46
+ # for advertising.
47
+ #
48
+ # values: [google]
49
+ # default: google
50
+ #
51
+ # ----------------------------------------------------------------------------
52
+ #
53
+ enabled: false
54
+
55
+ provider: google
56
+ google:
57
+
58
+ # --------------------------------------------------------------------------
59
+ # Provider settings
60
+ #
61
+ # optInOut
62
+ # ------------------------------------------------------------------------
63
+ # Google Analytics Opt In. GA will be enabled by default and at a
64
+ # later point it can be disabled based on the visitor's privacy
65
+ # settings (Analytics) with the cookie consent dialog.
66
+ #
67
+ # values: [true|false]
68
+ # default: true
69
+ #
70
+ # anonymizeIP
71
+ # ------------------------------------------------------------------------
72
+ # For the use of Google Analytics to comply with the GDPR, the processed
73
+ # IP address at GA can be anonymized. The IP anonymization function in
74
+ # analytics sets the last octet for user's IPv4 addresses and the last
75
+ # 80 bits for IPv6 addresses to zero. That happens at GA shortly after
76
+ # they are sent to Google Analytics.
77
+ # This way, the full IP address is never written. Geographically
78
+ # Dimensions are later derived from anonymized IP addresses.
79
+ #
80
+ # See:
81
+ # https://support.google.com/analytics/answer/2763052
82
+ # https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization?hl=en
83
+ #
84
+ # values: [true|false]
85
+ # default: true
86
+ #
87
+ # --------------------------------------------------------------------------
88
+ #
89
+ optInOut: true
90
+ anonymizeIP: true
91
+
92
+ # ------------------------------------------------------------------------------
93
+ # END config
@@ -21,9 +21,9 @@
21
21
  # ------------------------------------------------------------------------------
22
22
 
23
23
  # ------------------------------------------------------------------------------
24
- # About this configuration (used for J1 CC only)
24
+ # Description (used for J1 CC only)
25
25
  #
26
- about_config:
26
+ description:
27
27
 
28
28
  title: Attics
29
29
  scope: Default settings
@@ -33,6 +33,7 @@ about_config:
33
33
  # Default configuration settings
34
34
  #
35
35
  defaults:
36
+ enabled: true
36
37
 
37
38
  # ----------------------------------------------------------------------------
38
39
  # Global settings for text- and image-based header
@@ -13,63 +13,66 @@
13
13
  # ------------------------------------------------------------------------------
14
14
 
15
15
  # ------------------------------------------------------------------------------
16
- # Authentication (j1_auth)
16
+ # Description (used for J1 CC only)
17
17
  #
18
- # If a site is started as an app, this transforms the web into an
19
- # Web Application based on Rack and Sinatra using the Omniauth
20
- # software stack for authentication to enable User Management
21
- # and Authentication services for secured private web sites.
22
- #
23
- # enabled
24
- # ------------------------------------------------------------------------------
25
- # Enables or disables the Auth Manager services for the web.
26
- # If disabled, all pages are accessible without authentication.
27
- #
28
- # values: true|false
29
- # default: false
30
- #
31
- # ssl
32
- # ------------------------------------------------------------------------------
33
- # Enforce SSL communication for the app. If you've got SSL
34
- # set up, ensure SSL is enforced.
35
- #
36
- # values: true|false
37
- # default: false
38
- #
39
- # provider
40
- # ------------------------------------------------------------------------------
41
- # List of enabled OAuth providers to be used for the auth
42
- # service for authentication. The first provider in a list
43
- # is used for default.
44
- #
45
- # values: [disqus|github|facebook|patreon|twitter]
46
- # default: none
47
- #
48
- # whitelist
49
- # ------------------------------------------------------------------------------
50
- # List of pages (and assets) skipped for authentication.
51
- # Values can be given as regular expressions.
52
- #
53
- # values: string
54
- # default: none
55
- #
56
- # ------------------------------------------------------------------------------
57
-
58
-
59
- # ------------------------------------------------------------------------------
60
- # About this configuration (used for J1 CC only)
61
- #
62
- about_config:
18
+ description:
63
19
 
64
20
  title: Authentication
65
21
  scope: Default settings
66
22
  location: _data/modules/defaults/authentication.yml
67
23
 
68
24
  # ------------------------------------------------------------------------------
69
- # Default configuration settings
25
+ # Default settings
70
26
  #
71
27
  defaults:
28
+ enabled: true
72
29
 
30
+ # ----------------------------------------------------------------------------
31
+ # Authentication (j1_auth)
32
+ #
33
+ # If a site is started as an app, this transforms the web into an
34
+ # Web Application based on Rack and Sinatra using the Omniauth
35
+ # software stack for authentication to enable User Management
36
+ # and Authentication services for secured private web sites.
37
+ #
38
+ # enabled
39
+ # ----------------------------------------------------------------------------
40
+ # Enables or disables the Auth Manager services for the web.
41
+ # If disabled, all pages are accessible without authentication.
42
+ #
43
+ # values: true|false
44
+ # default: false
45
+ #
46
+ # ssl
47
+ # ----------------------------------------------------------------------------
48
+ # Enforce SSL communication for the app. If you've got SSL
49
+ # set up, ensure SSL is enforced.
50
+ #
51
+ # values: true|false
52
+ # default: false
53
+ #
54
+ # provider
55
+ # ----------------------------------------------------------------------------
56
+ # List of enabled OAuth providers to be used for the auth
57
+ # service for authentication. The first provider in a list
58
+ # is used for default.
59
+ #
60
+ # values: [disqus|github|facebook|patreon|twitter]
61
+ # default: none
62
+ #
63
+ # whitelist
64
+ # ----------------------------------------------------------------------------
65
+ # List of pages (and assets) skipped for authentication.
66
+ # Values can be given as regular expressions.
67
+ #
68
+ # values: string
69
+ # default: none
70
+ #
71
+ # ----------------------------------------------------------------------------
72
+
73
+ # ----------------------------------------------------------------------------
74
+ # Provider settings
75
+ #
73
76
  j1_auth:
74
77
  enabled: false
75
78
  ssl: false
@@ -196,7 +199,7 @@ defaults:
196
199
  # blacklist: []
197
200
 
198
201
  # ----------------------------------------------------------------------------
199
- # Auth CLIENT
202
+ # Auth CLIENT settings
200
203
  #
201
204
  auth_client:
202
205
  enabled: false
@@ -0,0 +1,114 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/default/comments.yml
3
+ # Default configuration settings for the J1 Comments Module
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2021 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description (used for J1 CC only)
16
+ #
17
+ description:
18
+
19
+ title: J1 Comments
20
+ scope: Default settings
21
+ location: _data/modules/default/comments.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # Default settings
25
+ #
26
+ defaults:
27
+
28
+ # ----------------------------------------------------------------------------
29
+ # Base settings
30
+ #
31
+ # enabled
32
+ # --------------------------------------------------------------------------
33
+ # Enables or disable comments services. If disabled, the service
34
+ # won't be enabled on any page.
35
+ #
36
+ # values: [true|false]
37
+ # default: false
38
+ #
39
+ # comments_headline
40
+ # --------------------------------------------------------------------------
41
+ # A comment block is prepended by a headline (<h2> HTML element).
42
+ # The text for headline is automatically chosen based on the language
43
+ # detected for the site.
44
+ #
45
+ # values: iso-639 language code
46
+ # default: en
47
+ #
48
+ # provider
49
+ # --------------------------------------------------------------------------
50
+ # Specifies the provider to be used for commenting
51
+ #
52
+ # values: [disqus|hyvor|commento|just-comments]
53
+ # default: disqus
54
+ #
55
+ # ----------------------------------------------------------------------------
56
+ #
57
+ enabled: false
58
+
59
+ # ----------------------------------------------------------------------------
60
+ # Base settings
61
+ # ----------------------------------------------------------------------------
62
+ provider: disqus
63
+ comments_headline:
64
+ "en": Leave a comment
65
+ "bg": Оставите коментар
66
+ "de": Kommentieren
67
+ "dk": Efterlad en kommentar
68
+ "nl": Laat een reactie achter
69
+ "fr": Laissez un commentaire
70
+ "gr": Αφήστε ένα σχόλιο
71
+ "hr": Ostavite komentar
72
+ "es": Deja un comentario
73
+ "it": Lascia un commento
74
+ "pt": Deixe um comentário
75
+ "se": Lämna en kommentar
76
+ "si": Zanechať komentár
77
+ "fi": Jätä kommentti
78
+ "no": Legg igjen en kommentar
79
+ "hu": Szólj hozzá
80
+ "cz": Zanechat komentář
81
+ "tr": Yorum yap
82
+ "ee": Jäta kommentaar
83
+ "lv": Atstājiet savu komentāru
84
+ "lt": Palikite komentarą
85
+ "pl": Zostaw komentarz
86
+ "ro": Lasa un comentariu
87
+ "ru": Оставить комментарий
88
+
89
+ # ----------------------------------------------------------------------------
90
+ # Provider settings
91
+ # ----------------------------------------------------------------------------
92
+ hyvor:
93
+ site_id: '<your-hyvor-site-id>'
94
+
95
+ disqus:
96
+ site_id: '<your-site-short-name>'
97
+
98
+ # currently NOT supported
99
+ commento:
100
+ site_id: '<your-commento-site-id>'
101
+
102
+ # currently NOT supported
103
+ just-comments:
104
+ site_id: '<your-just-comments-site-id>'
105
+
106
+ # currently NOT supported
107
+ facebook:
108
+ site_id: '<your-facebook-app-id>'
109
+ num_posts: 5
110
+ width: 580
111
+ colorscheme: light
112
+
113
+ # ------------------------------------------------------------------------------
114
+ # END config
@@ -12,9 +12,10 @@
12
12
  # ------------------------------------------------------------------------------
13
13
 
14
14
  # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
15
+ # Description (used for J1 CC only)
16
16
  #
17
- about_config:
17
+ description:
18
+
18
19
  title: CookieConsent
19
20
  scope: Default settings
20
21
  location: _data/modules/defaults/cookieconsent.yml
@@ -23,7 +24,6 @@ about_config:
23
24
  # Default settings
24
25
  #
25
26
  defaults:
26
-
27
27
  enabled: false
28
28
 
29
29
  reloadPageOnChange: true