j1-template 2022.0.9 → 2022.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) 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/apps/public/cc/index.adoc +0 -1
  5. data/assets/data/article_navigator/index.html +0 -1
  6. data/assets/data/news_panel_posts/index.html +0 -1
  7. data/assets/error_pages/HTTP445.html +5 -4
  8. data/assets/error_pages/HTTP446.html +2 -2
  9. data/assets/error_pages/HTTP447.html +110 -0
  10. data/assets/error_pages/HTTP448.html +111 -0
  11. data/assets/themes/j1/adapter/js/advertising.js +442 -0
  12. data/assets/themes/j1/adapter/js/algolia.js +10 -13
  13. data/assets/themes/j1/adapter/js/analytics.js +259 -0
  14. data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
  15. data/assets/themes/j1/adapter/js/attic.js +10 -5
  16. data/assets/themes/j1/adapter/js/bmd.js +10 -14
  17. data/assets/themes/j1/adapter/js/carousel.js +10 -13
  18. data/assets/themes/j1/adapter/js/clipboard.js +9 -10
  19. data/assets/themes/j1/adapter/js/comments.js +407 -0
  20. data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
  21. data/assets/themes/j1/adapter/js/fab.js +11 -11
  22. data/assets/themes/j1/adapter/js/framer.js +59 -64
  23. data/assets/themes/j1/adapter/js/j1.js +203 -258
  24. data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
  25. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
  26. data/assets/themes/j1/adapter/js/lightbox.js +12 -9
  27. data/assets/themes/j1/adapter/js/logger.js +11 -5
  28. data/assets/themes/j1/adapter/js/mmenu.js +11 -12
  29. data/assets/themes/j1/adapter/js/navigator.js +13 -12
  30. data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
  31. data/assets/themes/j1/adapter/js/rouge.js +11 -14
  32. data/assets/themes/j1/adapter/js/rtable.js +10 -13
  33. data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
  34. data/assets/themes/j1/adapter/js/scroller.js +14 -12
  35. data/assets/themes/j1/adapter/js/themer.js +12 -3
  36. data/assets/themes/j1/adapter/js/toccer.js +10 -13
  37. data/assets/themes/j1/adapter/js/translator.js +50 -96
  38. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  39. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  40. data/assets/themes/j1/core/js/template.js +13 -5
  41. data/assets/themes/j1/core/js/template.min.js +1 -1
  42. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  43. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
  44. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  45. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  46. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  47. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  48. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  49. data/lib/j1/version.rb +1 -1
  50. data/lib/starter_web/Gemfile +1 -1
  51. data/lib/starter_web/_config.yml +1 -13
  52. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  53. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  54. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  55. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  56. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  57. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  58. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  59. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  60. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  61. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  62. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  63. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  64. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  65. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  66. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  67. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  68. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  69. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  70. data/lib/starter_web/_data/j1_config.yml +0 -116
  71. data/lib/starter_web/_data/layouts/default.yml +21 -21
  72. data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
  73. data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
  74. data/lib/starter_web/_data/layouts/home.yml +24 -0
  75. data/lib/starter_web/_data/layouts/page.yml +7 -18
  76. data/lib/starter_web/_data/layouts/post.yml +0 -11
  77. data/lib/starter_web/_data/modules/advertising.yml +139 -12
  78. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  79. data/lib/starter_web/_data/modules/attics.yml +3 -2
  80. data/lib/starter_web/_data/modules/comments.yml +55 -0
  81. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  82. data/lib/starter_web/_data/modules/cookies.yml +1 -1
  83. data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
  84. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  85. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  86. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  87. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  88. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  89. data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
  90. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  91. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  92. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  93. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  94. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  95. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  96. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  97. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  98. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  99. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  100. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  101. data/lib/starter_web/_data/modules/fab.yml +3 -2
  102. data/lib/starter_web/_data/modules/framer.yml +3 -4
  103. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  104. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  105. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  106. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  107. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  108. data/lib/starter_web/_data/modules/themer.yml +2 -3
  109. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  110. data/lib/starter_web/_data/modules/translator.yml +1 -1
  111. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  112. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  113. data/lib/starter_web/_data/resources.yml +447 -290
  114. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  115. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  116. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  117. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  118. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
  119. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
  120. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  121. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  122. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
  123. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
  124. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  125. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  126. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
  127. data/lib/starter_web/index.html +0 -4
  128. data/lib/starter_web/package.json +1 -1
  129. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  130. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  131. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  132. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
  133. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
  134. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  135. data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
  136. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  137. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  138. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  139. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
  140. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  141. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
  142. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  143. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  144. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  145. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  146. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
  147. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
  148. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  149. data/lib/starter_web/utilsrv/package.json +1 -1
  150. metadata +25 -70
  151. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  152. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  153. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  154. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  155. data/_includes/themes/j1/modules/connectors/ads +0 -56
  156. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  157. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  158. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  159. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  160. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  161. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  162. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  163. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  164. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  165. data/_includes/themes/j1/modules/connectors/comments +0 -64
  166. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  167. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  168. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  169. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  170. data/_includes/themes/j1/modules/connectors/translator +0 -58
  171. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  172. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  173. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  174. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  175. data/assets/data/disqus.js +0 -81
  176. data/assets/data/hyvor.js +0 -72
  177. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  178. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  179. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  180. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  181. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  182. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  183. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  184. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  185. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  186. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  187. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  188. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  189. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  190. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  191. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  192. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  193. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  194. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  195. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  196. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  197. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  198. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  199. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  200. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  201. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  202. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  203. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  204. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  205. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  206. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  207. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  208. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
  209. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  210. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
  211. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  212. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  213. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  214. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  215. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  216. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  217. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  218. data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -0,0 +1,262 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/layouts/home.yml
3
+ # Configuration data to specify the (HTML) Layout of all content
4
+ # pages of type HOME placed by the content loader
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ #
14
+ # ------------------------------------------------------------------------------
15
+ # NOTE:
16
+ # By J1 template, "Liquid Procedures" are being used intensively. To load
17
+ # HTML data for a layout, the loader procedure places the data based this
18
+ # YAML data file into the REGION specified with a LANE.
19
+ # ------------------------------------------------------------------------------
20
+
21
+ # ------------------------------------------------------------------------------
22
+ # Layout configuration settings
23
+ #
24
+ # lanes|lane
25
+ # ----------------------------------------------------------------------------
26
+ # Set LANE specific configuration parameters for a page LAYOUT. The
27
+ # LANES array contains multiple (lane) hashes that describes the type
28
+ # of the component that is loaded into a lane and their specific
29
+ # (placement) parameters.
30
+ #
31
+ # region
32
+ # ----------------------------------------------------------------------------
33
+ # J1 templates defines, based on the general structure of a HTML page
34
+ # (head|body), more specific REGIONS based on HTML5 semantic elements
35
+ # to place HTML data:
36
+ #
37
+ # head <head> section. Contains (site-wide) meta data and
38
+ # all CSS and JS files are to be loaded for a page.
39
+ # body-navigation <body> NAV section. Contains the main navigation bar.
40
+ # Placed a the BEGINNING of the <body> section.
41
+ # body-header <body> HEADER section. Contains the page banner (header).
42
+ # Placed AFTER the page navigation but BEFORE the main
43
+ # content (body-main) of a page.
44
+ # body-main <body> MAIN section. J1 template puts a <main> container
45
+ # element in the <body> section to place the (main) content.
46
+ # All content related elements are loaded into the region
47
+ # 'body-main'. Content may components like boxes, panels,
48
+ # quotes etc. and the document content like sections and
49
+ # articles.
50
+ # body-footer <body> FOOTER section. J1 template puts a <footer> element
51
+ # at the end of the <BODY> section. The body-footer region
52
+ # contains all elements that should be loaded at the end
53
+ # of a page; typically the page footer.
54
+ #
55
+ # values: head|body-navigation|body-header|body-main|body-footer
56
+ # default: no defaults
57
+ #
58
+ # type
59
+ # ----------------------------------------------------------------------------
60
+ # The (HTML) content of a lane can be included (from an include file) or
61
+ # loaded asychronously from a HTML data file by AJAX (get|load) calls.
62
+ # J1 template is using jQuery as an interface to AJAX calls.
63
+ #
64
+ # values: include|load
65
+ # default: no defaults
66
+ #
67
+ # source
68
+ # ----------------------------------------------------------------------------
69
+ # The parameter source defines a (site root relativ) path to the data
70
+ # source to be included or loaded.
71
+ #
72
+ # values: string (path)
73
+ # default: no defaults
74
+ #
75
+ # file
76
+ # ----------------------------------------------------------------------------
77
+ # Defines the data file to be included or loaded.
78
+ #
79
+ # values: string
80
+ # default: no defaults
81
+ #
82
+ # id
83
+ # ----------------------------------------------------------------------------
84
+ # Used for AJAX load calls (see parameter type). The id is used twice. First,
85
+ # id references a HTML fragment as part of the (HTML) data file (see parameter
86
+ # data below). Second, the id is used to identify the placeholder (div)
87
+ # element where the AJAX call puts the data on.
88
+ #
89
+ # values: string
90
+ # default: no defaults
91
+ #
92
+ # class
93
+ # ----------------------------------------------------------------------------
94
+ # Additional CSS classes that are put on the placeholder (div) element.
95
+ # Can be used for type 'load', only.
96
+ #
97
+ # values: string (CSS class name)
98
+ # default: no defaults
99
+ #
100
+ # ------------------------------------------------------------------------------
101
+
102
+ # ------------------------------------------------------------------------------
103
+ # Layout configuration settings
104
+ #
105
+ lanes:
106
+
107
+ # ----------------------------------------------------------------------------
108
+ # MASTER header
109
+ #
110
+ - lane:
111
+ enabled: true
112
+ region: body-header
113
+ type: sync
114
+ base: _includes/themes/j1
115
+ path: modules/attics
116
+ file: generator.html
117
+
118
+ # ----------------------------------------------------------------------------
119
+ # MASTER slider
120
+ #
121
+ - lane:
122
+ enabled: false
123
+ id: master_slider
124
+ region: body-header
125
+ type: async
126
+ properties: mb-0
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
+
140
+ # ----------------------------------------------------------------------------
141
+ # PAGE CONTENT (region body-main)
142
+ #
143
+ # NOTE:
144
+ # The CONTENT of a post or page may already rendered (page contains HTML
145
+ # data) or unrendered (page contains MARKUP data). In both cases, rendered
146
+ # or unrendered content, a valid FRONTMATTER is needed to pass the data.
147
+ #
148
+ # The CONTENT generation for posts and pages depends on the data type,
149
+ # the MARKUP language (Markdown, Asciidoc) the page is using. The data
150
+ # type is specified by the file EXTENSION (e.g. ".md" for Markdown or
151
+ # ".adoc" for Asciidoc formatted content).
152
+ #
153
+ # To enable Jekyll running the render phase, the respective processor
154
+ # (e.g.kramdown for MARKDOWN or asciidoctor for ASCIIDOC) needs to be
155
+ # loaded and configured (Gemfile and the side-wide configuration file
156
+ # _config.yml).
157
+ #
158
+ # NOTE:
159
+ # The CONTENT of a PAGE is passed trough a (Liquid) wrapper procedure
160
+ # (page_content.html) to add or inject specific ADDITIONAL data like
161
+ # a TOC etc. that influences the resulting page.
162
+ #
163
+ # To modify the wrapper, DO NOT CHANGE the template files. See with
164
+ # ***URL*** how to create your own wrapper (and OVERLOAD the J1 template
165
+ # system with the data you provided).
166
+ #
167
+ # ----------------------------------------------------------------------------
168
+
169
+ # ----------------------------------------------------------------------------
170
+ # TEASER banner
171
+ #
172
+ - lane:
173
+ enabled: true
174
+ id: home_teaser_banner
175
+ region: body-main
176
+ type: async
177
+ properties: g-2 elevated-z0
178
+
179
+ # ----------------------------------------------------------------------------
180
+ # SERVICE panel
181
+ #
182
+ - lane:
183
+ enabled: false
184
+ id: home_service_panel
185
+ region: body-main
186
+ type: async
187
+ properties: g-2 elevated-z0
188
+
189
+ # ----------------------------------------------------------------------------
190
+ # DIVIDER banner
191
+ #
192
+ - lane:
193
+ enabled: false
194
+ id: divider-1
195
+ region: body-main
196
+ type: async
197
+ properties: mt-4 mr-5 mb-4 ml-5
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
+
211
+ # ----------------------------------------------------------------------------
212
+ # INTRO panel
213
+ #
214
+ - lane:
215
+ enabled: true
216
+ id: home_intro_panel
217
+ region: body-main
218
+ type: async
219
+ properties: g-2 elevated-z2
220
+
221
+ # ----------------------------------------------------------------------------
222
+ # PARALLAX banner
223
+ #
224
+ - lane:
225
+ enabled: true
226
+ id: home_parallax_banner
227
+ region: body-main
228
+ type: async
229
+ properties: elevated-z0
230
+
231
+ # ----------------------------------------------------------------------------
232
+ # IMAGE banner
233
+ #
234
+ - lane:
235
+ enabled: false
236
+ id: home_image_banner
237
+ region: body-main
238
+ type: async
239
+ properties: mb-3
240
+
241
+ # ----------------------------------------------------------------------------
242
+ # NEWS panel
243
+ #
244
+ - lane:
245
+ enabled: true
246
+ id: home_news_panel
247
+ region: body-main
248
+ type: async
249
+ properties: g-2 elevated-z2
250
+
251
+ # ----------------------------------------------------------------------------
252
+ # FAB
253
+ #
254
+ - lane:
255
+ enabled: true
256
+ id: fab-container
257
+ region: body-main
258
+ type: async
259
+ properties: elevated-z0
260
+
261
+ # ------------------------------------------------------------------------------
262
+ # END config
@@ -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: true
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
  #
@@ -123,13 +123,13 @@ lanes:
123
123
  # ----------------------------------------------------------------------------
124
124
  # Ad Block
125
125
  #
126
- - lane:
127
- enabled: false
128
- region: body-header
129
- type: sync
130
- base: _includes/themes/j1
131
- path: blocks/ads
132
- file: ad.html
126
+ # - lane:
127
+ # enabled: false
128
+ # region: body-header
129
+ # type: sync
130
+ # base: _includes/themes/j1
131
+ # path: blocks/ads
132
+ # file: ad.html
133
133
 
134
134
  # ----------------------------------------------------------------------------
135
135
  # PAGE CONTENT (region body-main)
@@ -170,17 +170,6 @@ lanes:
170
170
  path: layouts
171
171
  file: content_generator_page.html
172
172
 
173
- # ----------------------------------------------------------------------------
174
- # COMMENT connector (e.g. for DISQUS as part of the CONTENT section)
175
- #
176
- - lane:
177
- enabled: true
178
- region: body-main
179
- type: sync
180
- base: _includes/themes/j1
181
- path: modules/connectors
182
- file: comments
183
-
184
173
  # ----------------------------------------------------------------------------
185
174
  # FAM
186
175
  #
@@ -160,17 +160,6 @@ lanes:
160
160
  path: layouts
161
161
  file: content_generator_post.html
162
162
 
163
- # ----------------------------------------------------------------------------
164
- # COMMENT connector
165
- #
166
- - lane:
167
- enabled: true
168
- region: body-main
169
- type: sync
170
- base: _includes/themes/j1
171
- path: modules/connectors
172
- file: comments
173
-
174
163
  # ----------------------------------------------------------------------------
175
164
  # FAM
176
165
  #
@@ -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: User settings
24
25
  location: _data/modules/advertising.yml
@@ -29,19 +30,145 @@ about_config:
29
30
  settings:
30
31
 
31
32
  # ----------------------------------------------------------------------------
32
- # AD elements
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
+ # ----------------------------------------------------------------------------
33
52
  #
34
- ads:
53
+ enabled: false
54
+
55
+ google:
35
56
 
36
57
  # --------------------------------------------------------------------------
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
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
+ publisherID: '<your-publisher-id>'
99
+ autoHideOnUnfilled: false
100
+ addBorderOnUnfilled: true
101
+ checkTrackingProtection: true
102
+ showErrorPageOnBlocked: 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,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
  #