j1-template 2022.0.6 → 2022.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  3. data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  4. data/_layouts/default.html +0 -57
  5. data/apps/public/cc/index.adoc +0 -1
  6. data/assets/data/article_navigator/index.html +0 -1
  7. data/assets/data/news_panel_posts/index.html +0 -1
  8. data/assets/error_pages/HTTP444.html +4 -4
  9. data/assets/error_pages/HTTP445.html +7 -6
  10. data/assets/error_pages/HTTP446.html +110 -0
  11. data/assets/error_pages/HTTP447.html +110 -0
  12. data/assets/error_pages/HTTP448.html +111 -0
  13. data/assets/themes/j1/adapter/js/advertising.js +416 -0
  14. data/assets/themes/j1/adapter/js/cookieConsent.js +72 -37
  15. data/assets/themes/j1/adapter/js/framer.js +0 -3
  16. data/assets/themes/j1/adapter/js/j1.js +120 -212
  17. data/assets/themes/j1/adapter/js/rouge.js +1 -1
  18. data/assets/themes/j1/adapter/js/scroller.js +1 -1
  19. data/assets/themes/j1/adapter/js/themer.js +0 -1
  20. data/assets/themes/j1/adapter/js/translator.js +147 -98
  21. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +6 -0
  22. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  23. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  24. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  25. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +117 -0
  26. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +29 -13
  27. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  28. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  29. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  30. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  31. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +0 -1
  32. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
  33. data/assets/themes/j1/modules/translator/js/translator.js +98 -63
  34. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  35. data/lib/j1/version.rb +3 -3
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +2 -7
  38. data/lib/starter_web/_data/layouts/default.yml +7 -7
  39. data/lib/starter_web/_data/layouts/home.yml +24 -0
  40. data/lib/starter_web/_data/modules/advertising.yml +137 -10
  41. data/lib/starter_web/_data/modules/cookies.yml +30 -0
  42. data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
  43. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  44. data/lib/starter_web/_data/modules/defaults/cookies.yml +112 -0
  45. data/lib/starter_web/_data/modules/navigator_menu.yml +10 -1
  46. data/lib/starter_web/_data/resources.yml +24 -0
  47. data/lib/starter_web/_includes/attributes.asciidoc +6 -1
  48. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  49. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  50. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  51. data/lib/starter_web/index.html +0 -1
  52. data/lib/starter_web/package.json +1 -1
  53. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  54. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  55. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  58. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -2
  59. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -2
  60. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -2
  61. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -2
  62. data/lib/starter_web/pages/public/blog/navigator/index.html +1 -2
  63. data/lib/starter_web/pages/public/learn/quickstart.adoc +1 -1
  64. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  65. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  66. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.no_ads.asciidoc +237 -0
  67. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +64 -2
  68. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  69. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  70. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  71. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  72. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  73. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  74. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
  75. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  76. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +2 -12
  77. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  78. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  79. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -12
  80. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  81. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +1 -1
  82. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  83. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -1
  84. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  85. data/lib/starter_web/utilsrv/package.json +1 -1
  86. metadata +17 -47
  87. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  88. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  89. data/_includes/themes/j1/modules/connectors/ads +0 -56
  90. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  91. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  92. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  93. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  94. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  95. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  96. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  97. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  98. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  99. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  100. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  101. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  102. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  103. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  104. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  105. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  106. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  107. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  108. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  109. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  110. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  111. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  112. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  113. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  114. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  115. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  116. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  117. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  118. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  119. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  120. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  121. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -233
  122. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  123. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -239
  124. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  125. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  126. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  127. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  128. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  129. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  130. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  131. data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
53
53
 
54
54
  # Theme Rubies, default: J1 Template (NOT used for the development system)
55
55
  #
56
- gem 'j1-template', '~> 2022.0.6'
56
+ gem 'j1-template', '~> 2022.0.10'
57
57
 
58
58
  # ------------------------------------------------------------------------------
59
59
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -53,7 +53,7 @@ environment: development
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2022.0.6
56
+ version: 2022.0.10
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -600,7 +600,6 @@ defaults:
600
600
 
601
601
  analytics: true
602
602
  comments: true
603
- advertising: false
604
603
  youtube: true
605
604
  vimeo: true
606
605
 
@@ -645,7 +644,6 @@ defaults:
645
644
 
646
645
  analytics: true
647
646
  comments: true
648
- advertising: false
649
647
  youtube: true
650
648
  vimeo: true
651
649
 
@@ -694,7 +692,6 @@ defaults:
694
692
 
695
693
  analytics: true
696
694
  comments: true
697
- advertising: false
698
695
  youtube: true
699
696
  vimeo: true
700
697
 
@@ -729,15 +726,13 @@ defaults:
729
726
  follow: false
730
727
 
731
728
  personalization: false
732
- exclude_from_search: false
729
+ exclude_from_search: true
733
730
 
734
731
  analytics: false
735
732
  comments: false
736
- advertising: false
737
733
  youtube: false
738
734
  vimeo: false
739
735
 
740
-
741
736
  # ==============================================================================
742
737
  # 6. LAYOUT configuration
743
738
  #
@@ -139,13 +139,13 @@ lanes:
139
139
  # ----------------------------------------------------------------------------
140
140
  # CONNECTORS (advertising)
141
141
  #
142
- - lane:
143
- enabled: true
144
- region: head
145
- type: sync
146
- base: _includes/themes/j1
147
- path: modules/connectors
148
- file: ads
142
+ # - lane:
143
+ # enabled: true
144
+ # region: head
145
+ # type: sync
146
+ # base: _includes/themes/j1
147
+ # path: modules/connectors
148
+ # file: ads
149
149
 
150
150
  # ----------------------------------------------------------------------------
151
151
  # RESOURCE loader
@@ -125,6 +125,18 @@ lanes:
125
125
  type: async
126
126
  properties: mb-0
127
127
 
128
+ # ----------------------------------------------------------------------------
129
+ # Top Advertisment
130
+ #
131
+ - lane:
132
+ enabled: false
133
+ region: body-header
134
+ id: google_ad_top_home
135
+ type: sync
136
+ base: _includes/themes/j1
137
+ path: modules/ads
138
+ file: google_ad_top_home.html
139
+
128
140
  # ----------------------------------------------------------------------------
129
141
  # PAGE CONTENT (region body-main)
130
142
  #
@@ -184,6 +196,18 @@ lanes:
184
196
  type: async
185
197
  properties: mt-4 mr-5 mb-4 ml-5
186
198
 
199
+ # ----------------------------------------------------------------------------
200
+ # Page Advertisment
201
+ #
202
+ - lane:
203
+ enabled: false
204
+ region: body-main
205
+ id: google_ad_content_home
206
+ type: sync
207
+ base: _includes/themes/j1
208
+ path: modules/ads
209
+ file: google_ad_content_home.html
210
+
187
211
  # ----------------------------------------------------------------------------
188
212
  # INTRO panel
189
213
  #
@@ -29,19 +29,146 @@ about_config:
29
29
  settings:
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
- # AD elements
32
+ # Settings
33
33
  #
34
- ads:
34
+ # enabled
35
+ # --------------------------------------------------------------------------
36
+ # Enables or disables the Ad services. If disabled, no ads services are
37
+ # enabled and no unit container get initialized on any page.
38
+ #
39
+ # values: [true|false]
40
+ # default: false
41
+ #
42
+ # provider
43
+ # --------------------------------------------------------------------------
44
+ # Currently, only Google adsense (google) is available as an provider
45
+ # for advertising.
46
+ #
47
+ # values: [google]
48
+ # default: google
49
+ #
50
+ # ----------------------------------------------------------------------------
51
+ #
52
+ enabled: false
53
+
54
+ google:
35
55
 
36
56
  # --------------------------------------------------------------------------
37
- # Image attic (used for layouts posts|pages, image-based)
38
- #
39
- - name: Full width top
40
- ad:
41
- enabled: true
42
- id: ad_full_width_top
43
- layout: [ page, post ]
44
- type: ad-bla
57
+ # Provider settings
58
+ #
59
+ # publisherID
60
+ # ------------------------------------------------------------------------
61
+ # Your publisher id (ca-pub-xxxx..xxx) connected with your Adsense
62
+ # Account the for the domain registered.
63
+ #
64
+ # values: string
65
+ # default: none
66
+ #
67
+ # autoHideOnUnfilled
68
+ # ------------------------------------------------------------------------
69
+ # For several reasons, the placed ad (unit) containers get unfilled (no
70
+ # ad placed inside). Unfilled unit containers results in blank areas
71
+ # instead. Using the setting autoHideOnUnfilled, unfilled containers
72
+ # can be hidden automatically.
73
+ #
74
+ # values: [true|false]
75
+ # default: true
76
+ #
77
+ # checkTrackingProtection (currently NOT supported)
78
+ # ------------------------------------------------------------------------
79
+ # Modern browsers in their current versions (e.g. FireFox) provide
80
+ # Tracking Protection build-in. If Tracking Protection is enabled
81
+ # for a browser, showing ads may blocked automatically. All unit
82
+ # containers affected by Tracking Protection are hidden automatically.
83
+ #
84
+ # values: [true|false]
85
+ # default: false
86
+ #
87
+ # showErrorPageOnBlocked (currently NOT supported)
88
+ # ------------------------------------------------------------------------
89
+ # If Tracking Protection is detected for a browser, no content is
90
+ # presented to the visitor and an error page is shown (HTML 447).
91
+ #
92
+ # values: [true|false]
93
+ # default: false
94
+ #
95
+ # --------------------------------------------------------------------------
96
+ #
97
+ publisherID: ca-pub-xxxx..xxx
98
+ autoHideOnUnfilled: false
99
+ addBorderOnUnfilled: true
100
+ checkTrackingProtection: true
101
+ showErrorPageOnBlocked: true
102
+ addBorderOnUnfilled: true
103
+
104
+ ads:
105
+
106
+ # ------------------------------------------------------------------------
107
+ # Attributes
108
+ #
109
+ # enabled
110
+ # ----------------------------------------------------------------------
111
+ # Enables or disables an ad unit (container). If an container is
112
+ # disabled, this unit get NOT initialized for ads on any page.
113
+ #
114
+ # values: [true|false]
115
+ # default: true
116
+ #
117
+ # placement (currently NOT supported)
118
+ # ----------------------------------------------------------------------
119
+ # Defines the placements of the unit container specified. For default
120
+ # (manual), all ad units are placed on (home/content) pages manually
121
+ # by adding the <ins>-code.
122
+ #
123
+ # values: [manual|auto|content-top|content-bottom]
124
+ # default: manual
125
+ #
126
+ # adSlot (currently NOT supported)
127
+ # ----------------------------------------------------------------------
128
+ # Defines the slot-id of the unit container specified.
129
+ #
130
+ # values: string
131
+ # default: none
132
+ #
133
+ # adTest (currently NOT supported)
134
+ # ------------------------------------------------------------------------
135
+ # For testing only. If adTest is enabled (true), clicks and impressions
136
+ # aren't recorded by the ad service and advertisers aren't charged.
137
+ #
138
+ # values: [true|false]
139
+ # default: false
140
+ #
141
+ # --------------------------------------------------------------------------
142
+
143
+ # ------------------------------------------------------------------------
144
+ # Google Ad resposive full-width
145
+ #
146
+ # - name: display-ad-horizontal-1
147
+ # ad:
148
+ # enabled: true
149
+ # placement: manual
150
+ # adSlot: xxxx..xxx
151
+ # adTest: false
152
+
153
+ # ------------------------------------------------------------------------
154
+ # Google Ad resposive full-width
155
+ #
156
+ # - name: display-ad-horizontal-2
157
+ # ad:
158
+ # enabled: false
159
+ # placement: manual
160
+ # adSlot: xxxx..xxx
161
+ # adTest: false
162
+
163
+ # ------------------------------------------------------------------------
164
+ # Google Ad resposive full-width
165
+ #
166
+ # - name: in-article-ad-1
167
+ # ad:
168
+ # enabled: false
169
+ # placement: manual
170
+ # adSlot: xxxx..xxx
171
+ # adTest: false
45
172
 
46
173
  # ------------------------------------------------------------------------------
47
174
  # END config
@@ -0,0 +1,30 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/cookies.yml
3
+ # User configuration settings for J1 Cookie 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: Cookies
20
+ scope: User settings
21
+ location: _data/modules/cookies.yml
22
+
23
+ # ------------------------------------------------------------------------------
24
+ # User configuration settings
25
+ #
26
+ settings:
27
+ check_cookies: false
28
+
29
+ # ------------------------------------------------------------------------------
30
+ # END config
@@ -0,0 +1,105 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/default/advertising.yml
3
+ # Default configuration settings of the Ad 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-org/J1 Template/blob/master/LICENSE
12
+ #
13
+ # ------------------------------------------------------------------------------
14
+ # NOTE:
15
+ #
16
+ # ------------------------------------------------------------------------------
17
+
18
+ # ------------------------------------------------------------------------------
19
+ # About this configuration (used for J1 CC only)
20
+ #
21
+ about_config:
22
+ title: Advertising
23
+ scope: Default settings
24
+ location: _data/modules/default/advertising.yml
25
+
26
+ # ------------------------------------------------------------------------------
27
+ # User settings
28
+ #
29
+ defaults:
30
+
31
+ # ----------------------------------------------------------------------------
32
+ # Settings
33
+ #
34
+ # enabled
35
+ # --------------------------------------------------------------------------
36
+ # Enables or disables the Ad services. If disabled, no ads services are
37
+ # enabled and no unit container get initialized on any page.
38
+ #
39
+ # values: [true|false]
40
+ # default: false
41
+ #
42
+ # provider
43
+ # --------------------------------------------------------------------------
44
+ # Currently, only Google adsense (google) is available as an provider
45
+ # for advertising.
46
+ #
47
+ # values: [google]
48
+ # default: google
49
+ #
50
+ # ----------------------------------------------------------------------------
51
+ #
52
+ enabled: false
53
+ provider: google
54
+
55
+ google:
56
+
57
+ # --------------------------------------------------------------------------
58
+ # Provider settings
59
+ #
60
+ # publisherID
61
+ # ------------------------------------------------------------------------
62
+ # Your publisher id (ca-pub-xxxx..xxx) connected with your Adsense
63
+ # Account the for the domain registered.
64
+ #
65
+ # values: string
66
+ # default: none
67
+ #
68
+ # autoHideOnUnfilled
69
+ # ------------------------------------------------------------------------
70
+ # For several reasons, the placed ad (unit) containers get unfilled (no
71
+ # ad placed inside). Unfilled unit containers results in blank areas
72
+ # instead. Using the setting autoHideOnUnfilled, unfilled containers
73
+ # can be hidden automatically.
74
+ #
75
+ # values: [true|false]
76
+ # default: true
77
+ #
78
+ # checkTrackingProtection (currently NOT supported)
79
+ # ------------------------------------------------------------------------
80
+ # Modern browsers in their current versions (e.g. FireFox) provide
81
+ # Tracking Protection build-in. If Tracking Protection is enabled
82
+ # for a browser, showing ads may blocked automatically. All unit
83
+ # containers affected by Tracking Protection are hidden automatically.
84
+ #
85
+ # values: [true|false]
86
+ # default: false
87
+ #
88
+ # showErrorPageOnBlocked (currently NOT supported)
89
+ # ------------------------------------------------------------------------
90
+ # If Tracking Protection is detected for a browser, no content is
91
+ # presented to the visitor and an error page is shown (HTML 447).
92
+ #
93
+ # values: [true|false]
94
+ # default: false
95
+ #
96
+ # --------------------------------------------------------------------------
97
+ #
98
+ autoHideOnUnfilled: true
99
+ addBorderOnUnfilled: true
100
+ checkTrackingProtection: false
101
+ showErrorPageOnBlocked: false
102
+ addBorderOnUnfilled: true
103
+
104
+ # ------------------------------------------------------------------------------
105
+ # END config
@@ -31,9 +31,9 @@ defaults:
31
31
  dialogLanguage: content # auto|content|one of dialogLanguages
32
32
  dialogLanguages: [en, de] # supported dialog (modal) languages, defaults to FIRST language defined by languages
33
33
  contentURL: /assets/data/cookieconsent # dialog content (modals) for all supported languages
34
- cookieName: j1.user.consent # name of the user consent cookie
35
- cookieStorageDays: 365 # duration the consent cookie is stored
36
- cookieSameSite: Strict # restrict consent cookie to first-party, do NOT send cookie to other domains
34
+ # cookieName: j1.user.consent # name of the user consent cookie
35
+ # cookieStorageDays: 365 # duration the consent cookie is stored
36
+ # cookieSameSite: Strict # restrict consent cookie to first-party, do NOT send cookie to other domains
37
37
  reloadPageOnChange: true # reload current page if user settings has been changed
38
38
  whitelisted: [ '/pages/public/legal/en/privacy' ] # pages NO consent issued, currently NOT supported
39
39
  xhrDataElement: consent-data # container for all language-specific consent modals (taken from contentURL)
@@ -0,0 +1,112 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/defaults/cookies.yml
3
+ # Default configuration settings for J1 Cookie 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
+ # See:
14
+ # https://datatracker.ietf.org/doc/html/rfc6265
15
+ # https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
16
+ #
17
+
18
+ # ------------------------------------------------------------------------------
19
+ # Description (used for J1 CC only)
20
+ #
21
+ description:
22
+
23
+ title: Cookies
24
+ scope: Default settings
25
+ location: _data/modules/defaults/cookies.yml
26
+
27
+ # ------------------------------------------------------------------------------
28
+ # Default settings
29
+ #
30
+ defaults:
31
+
32
+ # ----------------------------------------------------------------------------
33
+ # Settings/Attributes
34
+ #
35
+ # path
36
+ # --------------------------------------------------------------------------
37
+ # Attribute 'path' indicates a URL PATH that must exist in the requested
38
+ # URL in order to send the Cookie header
39
+ #
40
+ # values: string
41
+ # default: '/'
42
+ #
43
+ # domain
44
+ # --------------------------------------------------------------------------
45
+ # Switch 'domain' controls if the value for the attribute 'domain' is
46
+ # used (= auto|domain) or NOT used (false). If 'auto' is given, the domain
47
+ # is calculated from the hostname. Otherwise domain is treates as domain
48
+ # to be used.
49
+ # If the switch 'domain' is to 'false', the attribute 'domain' is
50
+ # automatically set to the (fully qualified) hostname and all subdomains
51
+ # are EXCLUDED from accessing the cookies.
52
+ #
53
+ # NOTE: Be carefull setting switch 'domain' to auto. For sites deployed
54
+ # to hosts of public domain providers like Netlify (netlify.app),
55
+ # this will open the access on cookies to ALL hosts (subdomains)!
56
+ # See 'same_site'.
57
+ #
58
+ # values: [false|auto|domain]
59
+ # default: false
60
+ #
61
+ # expires
62
+ # --------------------------------------------------------------------------
63
+ # lifetime of a cookie [0..365] days. The value of 0 results in a
64
+ # SESSION cookie. For all otrher values >0, the cookie results in a
65
+ # PERMANENT cookie.
66
+ #
67
+ # values: [0..365]
68
+ # default: 0
69
+ #
70
+ # same_site
71
+ # --------------------------------------------------------------------------
72
+ # Lax: sent for all requests (including subdomains).
73
+ # Strict: the cookie is only sent to the site where it originated
74
+ # (excluding subdomains)
75
+ #
76
+ # values: [Strict|Lax]
77
+ # default: Strict
78
+ #
79
+ # http_only
80
+ # --------------------------------------------------------------------------
81
+ # prevent access to cookie values via JavaScript
82
+ #
83
+ # values: [false|true]
84
+ # default: false
85
+ #
86
+ # secure
87
+ # --------------------------------------------------------------------------
88
+ # Cookies are only sent to the server with an encrypted request over
89
+ # the HTTPS protocol
90
+ #
91
+ # values: [false|true]
92
+ # default: false
93
+ #
94
+ # check_cookies
95
+ # --------------------------------------------------------------------------
96
+ # Check if cookies created/available
97
+ #
98
+ # values: [false|true]
99
+ # default: true
100
+ #
101
+ # ----------------------------------------------------------------------------
102
+ #
103
+ check_cookies: false
104
+ path: /
105
+ domain: false
106
+ expires: 365
107
+ same_site: Strict
108
+ http_only: false
109
+ secure: false
110
+
111
+ # ------------------------------------------------------------------------------
112
+ # END config
@@ -81,7 +81,7 @@
81
81
  #
82
82
  - item: Blog
83
83
  sublevel:
84
- - title: Creators Blog
84
+ - title: Starter Blog
85
85
  href: /pages/public/blog/navigator/
86
86
  icon: near-me
87
87
  - title: Categories
@@ -255,6 +255,15 @@
255
255
  - title: This site
256
256
  icon: home-variant-outline
257
257
  href: /pages/public/about/site
258
+ - title: Privacy
259
+ icon: heart
260
+ href: /pages/public/legal/en/privacy/
261
+ - title: Impress
262
+ icon: gavel
263
+ href: /pages/public/legal/en/impress/
264
+ - title: Comments
265
+ icon: comment
266
+ href: /pages/public/legal/en/comment_policy/
258
267
 
259
268
  # ------------------------------------------------------------------------------
260
269
  # END config
@@ -1369,5 +1369,29 @@ resources:
1369
1369
  js: [ modules/translator/js/translator ]
1370
1370
  init_function: [ j1.adapter.translator.init ]
1371
1371
 
1372
+ # ----------------------------------------------------------------------------
1373
+ # Advertising, JS API to provide Ads for J1 Template
1374
+ #
1375
+ - name: Advertising
1376
+ resource:
1377
+ id: advertising
1378
+ enabled: true
1379
+ comment: module advertising
1380
+ region: head
1381
+ layout: [ all ]
1382
+ required: ondemand
1383
+ preload: false
1384
+ script_load: sync
1385
+ dependencies: false
1386
+ pass_init_data: false
1387
+ data:
1388
+ css: []
1389
+ files: [
1390
+ modules/advertising/js/google/adInitializer.js,
1391
+ adapter/js/advertising.js
1392
+ ]
1393
+ js: []
1394
+ init_function: [ j1.adapter.advertising.init ]
1395
+
1372
1396
  # ------------------------------------------------------------------------------
1373
1397
  # END config
@@ -195,6 +195,7 @@ tag::urls[]
195
195
  :url-jekyll-sass-converter--gh-repo: https://github.com/jekyll/jekyll-sass-converter/
196
196
  :url-jekyll-sitemap--gh-repo: https://github.com/jekyll/jekyll-sitemap/
197
197
 
198
+
198
199
  :url-jquery--home: https://jquery.com/
199
200
 
200
201
  :url-js-yaml--gh-repo: https://github.com/nodeca/js-yaml/
@@ -234,6 +235,10 @@ tag::urls[]
234
235
  :url-materialize--home: https://materializecss.com/
235
236
  :url-materialize--gh-repo: https://github.com/Dogfalo/materialize/
236
237
 
238
+ :url-mdi--home: https://materialdesignicons.com/
239
+ :url-mdi--gh-repo: https://github.com/Templarian/MaterialDesign/
240
+ :url-mdi--cheatsheet: https://pictogrammers.github.io/@mdi/font/5.9.55/
241
+
237
242
  :url-mobile-menu-light--home: https://www.mmenujs.com/mmenu-light/
238
243
  :url-mobile-menu-light--gh-repo: https://github.com/FrDH/mmenu-light
239
244
 
@@ -432,7 +437,7 @@ end::tables[]
432
437
  // -----------------------------------------------------------------------------
433
438
  tag::products[]
434
439
  :j1--license: MIT License
435
- :j1--version: 2022.0.6
440
+ :j1--version: 2022.0.10
436
441
  :j1--site-name: Jekyll One
437
442
  end::products[]
438
443
 
@@ -0,0 +1,11 @@
1
+ <!-- insert gad container -->
2
+ <div id="xxx..xx" class="mb-5">
3
+ <!-- display-ad-horizontal-2 -->
4
+ <ins class="adsbygoogle"
5
+ style="display:block"
6
+ data-ad-client="ca-pub-xxxx..xxx"
7
+ data-ad-slot="xxxx..xx"
8
+ data-ad-format="auto"
9
+ data-full-width-responsive="true">
10
+ </ins>
11
+ </div>
@@ -0,0 +1,11 @@
1
+ <!-- insert gad container -->
2
+ <div id="xxx..xx" class="mb-5">
3
+ <!-- display-ad-horizontal-1 -->
4
+ <ins class="adsbygoogle"
5
+ style="display:block"
6
+ data-ad-client="ca-pub-xxxx..xxx"
7
+ data-ad-slot="xxx..xx"
8
+ data-ad-format="auto"
9
+ data-full-width-responsive="true">
10
+ </ins>
11
+ </div>
@@ -364,6 +364,6 @@ end
364
364
 
365
365
  module Jekyll
366
366
  module J1LunrSearch
367
- VERSION = '2022.0.6'
367
+ VERSION = '2022.0.10'
368
368
  end
369
369
  end
@@ -23,7 +23,6 @@ personalization: false
23
23
  exclude_from_search: false
24
24
 
25
25
  analytics: true
26
- advertising: false
27
26
  comments: false
28
27
 
29
28
  fab_menu_id: default