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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: j1-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2022.0.6
4
+ version: 2022.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - juergen_jekyll_one
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-04 00:00:00.000000000 Z
11
+ date: 2021-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -269,11 +269,10 @@ files:
269
269
  - _includes/themes/j1/layouts/layout_metadata_generator.html
270
270
  - _includes/themes/j1/layouts/layout_module_generator.html
271
271
  - _includes/themes/j1/layouts/layout_resource_generator.html
272
+ - _includes/themes/j1/modules/ads/google_ad_content_home.html
273
+ - _includes/themes/j1/modules/ads/google_ad_top_home.html
272
274
  - _includes/themes/j1/modules/attics/generator.html
273
275
  - _includes/themes/j1/modules/boards/news_pin_board.html
274
- - _includes/themes/j1/modules/connectors/ad/custom-provider.html
275
- - _includes/themes/j1/modules/connectors/ad/google-adsense.html
276
- - _includes/themes/j1/modules/connectors/ads
277
276
  - _includes/themes/j1/modules/connectors/analytic/custom-provider.html
278
277
  - _includes/themes/j1/modules/connectors/analytic/google-analytics.html
279
278
  - _includes/themes/j1/modules/connectors/analytics
@@ -376,10 +375,14 @@ files:
376
375
  - assets/error_pages/HTTP404.html
377
376
  - assets/error_pages/HTTP444.html
378
377
  - assets/error_pages/HTTP445.html
378
+ - assets/error_pages/HTTP446.html
379
+ - assets/error_pages/HTTP447.html
380
+ - assets/error_pages/HTTP448.html
379
381
  - assets/error_pages/HTTP500.html
380
382
  - assets/error_pages/HTTP501.html
381
383
  - assets/error_pages/HTTP502.html
382
384
  - assets/error_pages/HTTP503.html
385
+ - assets/themes/j1/adapter/js/advertising.js
383
386
  - assets/themes/j1/adapter/js/algolia.js
384
387
  - assets/themes/j1/adapter/js/asciidoctor.js
385
388
  - assets/themes/j1/adapter/js/attic.js
@@ -1020,6 +1023,7 @@ files:
1020
1023
  - assets/themes/j1/core/js/template.js
1021
1024
  - assets/themes/j1/core/js/template.min.js
1022
1025
  - assets/themes/j1/core/js/template.min.js.map
1026
+ - assets/themes/j1/modules/advertising/js/google/adInitializer.js
1023
1027
  - assets/themes/j1/modules/backstretch/js/backstretch.js
1024
1028
  - assets/themes/j1/modules/backstretch/js/backstretch.min.js
1025
1029
  - assets/themes/j1/modules/bmd/js/bmd.js
@@ -1613,9 +1617,12 @@ files:
1613
1617
  - lib/starter_web/_data/modules/attics.yml
1614
1618
  - lib/starter_web/_data/modules/authentication.yml
1615
1619
  - lib/starter_web/_data/modules/cookieconsent.yml
1620
+ - lib/starter_web/_data/modules/cookies.yml
1621
+ - lib/starter_web/_data/modules/defaults/advertising.yml
1616
1622
  - lib/starter_web/_data/modules/defaults/attics.yml
1617
1623
  - lib/starter_web/_data/modules/defaults/authentication.yml
1618
1624
  - lib/starter_web/_data/modules/defaults/cookieconsent.yml
1625
+ - lib/starter_web/_data/modules/defaults/cookies.yml
1619
1626
  - lib/starter_web/_data/modules/defaults/fab.yml
1620
1627
  - lib/starter_web/_data/modules/defaults/framer.yml
1621
1628
  - lib/starter_web/_data/modules/defaults/log4javascript.yml
@@ -1652,6 +1659,8 @@ files:
1652
1659
  - lib/starter_web/_includes/documents/readme
1653
1660
  - lib/starter_web/_includes/tables/jekyll_variables.asciidoc
1654
1661
  - lib/starter_web/_includes/tables/template_variables.asciidoc
1662
+ - lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html
1663
+ - lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html
1655
1664
  - lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-answer.rb
1656
1665
  - lib/starter_web/_plugins/asciidoctor-extensions/admonition-block-question.rb
1657
1666
  - lib/starter_web/_plugins/asciidoctor-extensions/banner.rb
@@ -1946,48 +1955,6 @@ files:
1946
1955
  - lib/starter_web/favicon.ico
1947
1956
  - lib/starter_web/index.html
1948
1957
  - lib/starter_web/package.json
1949
- - lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc
1950
- - lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc
1951
- - lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc
1952
- - lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc
1953
- - lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc
1954
- - lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc
1955
- - lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc
1956
- - lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc
1957
- - lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc
1958
- - lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc
1959
- - lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc
1960
- - lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc
1961
- - lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc
1962
- - lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc
1963
- - lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc
1964
- - lib/starter_web/pages/_test_pages/accordion-01-tester.adoc
1965
- - lib/starter_web/pages/_test_pages/accordion-02-tester.adoc
1966
- - lib/starter_web/pages/_test_pages/accordion-03-tester.adoc
1967
- - lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc
1968
- - lib/starter_web/pages/_test_pages/backdrop-tester.adoc
1969
- - lib/starter_web/pages/_test_pages/button-tester-1.adoc
1970
- - lib/starter_web/pages/_test_pages/card-tester.adoc
1971
- - lib/starter_web/pages/_test_pages/cookieConsent.adoc
1972
- - lib/starter_web/pages/_test_pages/deepl.0.adoc
1973
- - lib/starter_web/pages/_test_pages/deepl.adoc
1974
- - lib/starter_web/pages/_test_pages/desandro-button.adoc
1975
- - lib/starter_web/pages/_test_pages/desandro.adoc
1976
- - lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc
1977
- - lib/starter_web/pages/_test_pages/formular-01-tester.adoc
1978
- - lib/starter_web/pages/_test_pages/formular-02-tester.adoc
1979
- - lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc
1980
- - lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc
1981
- - lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc
1982
- - lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc
1983
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc
1984
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc
1985
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc
1986
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc
1987
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc
1988
- - lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc
1989
- - lib/starter_web/pages/_test_pages/list-group-tester.adoc
1990
- - lib/starter_web/pages/_test_pages/tictok.adoc
1991
1958
  - lib/starter_web/pages/private/readme
1992
1959
  - lib/starter_web/pages/protected/readme
1993
1960
  - lib/starter_web/pages/public/about/about_site.adoc
@@ -2021,6 +1988,8 @@ files:
2021
1988
  - lib/starter_web/pages/public/blog/navigator/index.html
2022
1989
  - lib/starter_web/pages/public/learn/quickstart.adoc
2023
1990
  - lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc
1991
+ - lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc
1992
+ - lib/starter_web/pages/public/learn/roundtrip/100_present_images.no_ads.asciidoc
2024
1993
  - lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc
2025
1994
  - lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc
2026
1995
  - lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc
@@ -2043,6 +2012,7 @@ files:
2043
2012
  - lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc
2044
2013
  - lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc
2045
2014
  - lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc
2015
+ - lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js
2046
2016
  - lib/starter_web/pages/public/learn/where_to_go.adoc
2047
2017
  - lib/starter_web/pages/public/legal/de/100_copyright.adoc
2048
2018
  - lib/starter_web/pages/public/legal/de/100_impress.adoc
@@ -1,30 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/procedures/provider/ad/custom-provider.html
4
- # Support of your custom advertising provider
5
- #
6
- # Product/Info:
7
- # http://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
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
-
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
- <script>
29
- /* Your code for the custom provider goes here */
30
- </script>
@@ -1,62 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/procedures/provider/ad/google-adsense.html
4
- # Support of advertising provider Google Adsense for J1 Template
5
- #
6
- # Product/Info:
7
- # http://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
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign publisher_id = site.data.j1_config.advertising.google.publisher_id %}
25
-
26
- {% comment %} Main
27
- -------------------------------------------------------------------------------- {% endcomment %}
28
-
29
- <script data-ad-client="{{publisher_id}}"
30
- async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
31
- </script>
32
-
33
- {% comment %} to be checked
34
- --------------------------------------------------------------------------------
35
- <script data-ad-client="{{publisher_id}}"
36
- $(document).ready(function() {
37
- var dependencies_met_page_finished = setInterval (function () {
38
- if (j1.getState() === 'finished') {
39
- async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
40
- clearInterval(dependencies_met_page_finished);
41
- }
42
- }, 25); // END dependencies_met_page_finished
43
- </script>
44
- -------------------------------------------------------------------------------- {% endcomment %}
45
-
46
- {% comment %} to be checked
47
- --------------------------------------------------------------------------------
48
- <script data-ad-client="{{publisher_id}}"
49
- async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
50
- </script>
51
- -------------------------------------------------------------------------------- {% endcomment %}
52
-
53
- {% comment %} Old Ads code
54
- --------------------------------------------------------------------------------
55
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
56
- <script>
57
- (adsbygoogle = window.adsbygoogle || []).push({
58
- google_ad_client: "{{publisher_id}}",
59
- enable_page_level_ads: true
60
- });
61
- </script>
62
- -------------------------------------------------------------------------------- {% endcomment %}
@@ -1,56 +0,0 @@
1
- {% comment %}
2
- # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/procedures/provider/ads
4
- # Liquid CONNECTOR for Advertising Providers supported by J1 Template
5
- #
6
- # Product/Info:
7
- # http://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
- # Test data:
15
- # liquid_var: {{ liquid_var | debug }}
16
- # -----------------------------------------------------------------------------
17
- {% endcomment %}
18
-
19
- {% comment %} Liquid procedures
20
- -------------------------------------------------------------------------------- {% endcomment %}
21
-
22
- {% comment %} Variables
23
- -------------------------------------------------------------------------------- {% endcomment %}
24
- {% assign advertising = site.data.j1_config.advertising.enabled %}
25
- {% assign advertising_page = page.advertising.enabled %}
26
- {% assign advertising_provider = site.data.j1_config.advertising.provider %}
27
-
28
- {% comment %} Main
29
- -------------------------------------------------------------------------------- {% endcomment %}
30
- <!-- [INFO ] [j1.modules.connectors.ads ] [ Check ads settings from SITE configuration ] -->
31
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected ads (site): {{advertising}} ] -->
32
-
33
- {% comment %} Check ads settings from PAGE configuration
34
- -------------------------------------------------------------------------------- {% endcomment %}
35
- <!-- [INFO ] [j1.modules.connectors.ads ] [ Check ads settings from PAGE configuration ] -->
36
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected ads (page): {{page.advertising}} ] -->
37
-
38
- {% if advertising_page <> nil %}
39
- <!-- [INFO ] [j1.modules.connectors.ads ] [ overload ads settings from PAGE ] -->
40
- {% assign advertising = advertising_page %}
41
- {% endif %}
42
-
43
- {% if advertising %}
44
- <!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising provider (j1_config): {{advertising_provider}}} ] -->
45
- <!-- [INFO ] [j1.modules.connectors.ads ] [ start processing load region head, layout: {{page.layout}} ] -->
46
- {% case advertising_provider %}
47
- {% when "google" %}
48
- <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Google Adsense ] -->
49
- {% include themes/{{site.template.name}}/modules/connectors/ad/google-adsense.html %}
50
- {% when "custom" %}
51
- <!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Custom Provider ] -->
52
- {% include themes/{{site.template.name}}/modules/connectors/ad/custom-provider.html %}
53
- {% endcase %}
54
-
55
- {% endif %}
56
- <!-- [INFO ] [j1.modules.connectors.ads ] [ end processing ] -->
@@ -1,244 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: sidebar
4
- date: 2020-11-03 00:00:00 +100
5
- description: >
6
- Welcome to the preview page focussing on the image module. This page
7
- shows some valuable features of the J1 Template to manage your image-based
8
- content using lightboxes, carousels (slider), and galleries.
9
-
10
- categories: [ Testpages ]
11
- tags: [ Example ]
12
-
13
- comments: false
14
- fab_menu_id: page_ctrl_simple
15
-
16
- permalink: /pages/public/learn/side_bar_tester/
17
- regenerate: false
18
-
19
- resources: [
20
- clipboard, rouge, carousel, lightbox,
21
- justifiedGallery, lightGallery
22
- ]
23
- resource_options:
24
- - attic:
25
- padding_top: 400
26
- padding_bottom: 50
27
- opacity: 0.5
28
- slides:
29
- - url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
30
- alt: Photo by Ricardo Gomez Angel on Unsplash
31
- badge:
32
- type: unsplash
33
- author: Ricardo Gomez Angel
34
- href: https://unsplash.com/@ripato/portfolio
35
- ---
36
-
37
- // Page Initializer
38
- // =============================================================================
39
- // Enable the Liquid Preprocessor
40
- :page-liquid:
41
-
42
- // Set (local) page attributes here
43
- // -----------------------------------------------------------------------------
44
- // :page--attr: <attr-value>
45
- :images-dir: {imagesdir}/pages/roundtrip/100_present_images
46
-
47
- // Load Liquid procedures
48
- // -----------------------------------------------------------------------------
49
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
50
-
51
- // Load page attributes
52
- // -----------------------------------------------------------------------------
53
- {% include {{load_attributes}} scope="all" %}
54
-
55
- // Page content
56
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57
-
58
- // Include sub-documents (if any)
59
- // -----------------------------------------------------------------------------
60
-
61
- Welcome to the first preview page focussing on the image module. This page
62
- shows some valuable features of the J1 Template to manage your image-based
63
- content using lightboxes, carousels (slider), and galleries.
64
-
65
- The image module offers complex functionality based on powerful OpenSource
66
- libraries like JustifiedGallery for high-end, masonry-styled preview maps.
67
- J1 Template uses the jQuery plugin Owl Carousel as a base for image sliders.
68
- A carousel app (slider) lets you present your images as shows.
69
-
70
- Lightboxes like LightGallery or Lightbox V2 support your web for enlarged
71
- image views of your picture or video content. Have a look, a quick tour
72
- of what J1 can do for image data. Have fun!
73
-
74
- == J1 Lightboxes
75
-
76
- A Lightbox, in general, is a helper which displays enlarged, almost
77
- screen-filling versions of pictures (or videos) while dimming the rest of the
78
- page. The technique, introduced by Lightbox V2, gained widespread popularity
79
- due to its simple and elegant style. The term lightbox is used since then for
80
- Javascript libraries to support such functionality.
81
-
82
- For the J1 Template, two different lightboxes can be used:
83
-
84
- * Lightbox V2 (lightbox)
85
- * LightGallery
86
-
87
- The default lightbox used by J1 Template is Lightbox V2, a Javascript library
88
- written by _Lokesh Dhakar_. The name of that (build-in) is simply: lightbox.
89
- For more complex use cases, like a thumbnail gallery preview or video support,
90
- LightGallery can be used alternatively.
91
-
92
- NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
93
- _lightbox_. And, LightGallery provides much more functionality on image-based
94
- data rather than enlarged displaying of images. See the examples below to check
95
- for the differences in comparison to the simpler Lightbox V2 lightbox.
96
-
97
- Both lightboxes are fully integrated to be used as standalone modules or
98
- used as helpers *under-the-hood* by other apps or modules focussing on
99
- image-data like gallery or carousel, the build-in carousel module.
100
-
101
- == Lightbox Examples
102
-
103
- Find below an example of using the lightbox Lightbox standalone. See how
104
- single (individual) images are linked for use with Lightbox.
105
-
106
- .Lightbox block for standalone images
107
- lightbox::example-standalone[ 400, {data-images-standalone} ]
108
-
109
- Lightbox supports image groups (image sets). Click on the images below to
110
- see how Lightbox manages a group of images.
111
-
112
- .Lightbox block for grouped images
113
- lightbox::example-group[ 400, {data-images-group}, group ]
114
-
115
- === LightGallery Example
116
-
117
- LightGallery provides more complex functions on image data. The module
118
- supports a gallery-style thumbnail preview plus image resizing, a download
119
- dialog, sharing provider support, and some more helpful. Check what
120
- LightGallery can do by the following example.
121
-
122
- gallery::jg_old_times[]
123
-
124
-
125
- ++++
126
-
127
- <button class="btn u-sidebar-navigation__toggler" id="sideNav-toggler" aria-haspopup="true" aria-expanded="false" aria-controls="sideNav" aria-label="Toggle Header" data-bs-target="#sideNav" style="display: block;">
128
- <i id="fam-icon" class="mdi mdi-wrap mdi-"></i>
129
- </button>
130
-
131
- <style>
132
-
133
- /* Sidebar shortcode navigation styles */
134
- /*------------------------------------
135
- Sidebar Navigation
136
- ------------------------------------*/
137
- @media all and (min-width: 992px) {
138
- .u-sidebar-navigation {
139
- position: fixed;
140
- top: 0;
141
- left: -21.42857rem;
142
- width: 300px;
143
- }
144
- }
145
-
146
- /*
147
- .u-sidebar-navigation-inner {
148
- background-color: #1c2434;
149
- color: #fff;
150
- padding: 20px 0;
151
- }
152
-
153
- .u-sidebar-navigation__search-input {
154
- border-radius: 3px;
155
- border: none;
156
- }
157
-
158
- .u-sidebar-navigation .nav-link {
159
- color: #fff;
160
- padding: 0.5rem 1.42857rem;
161
- }
162
-
163
- .u-sidebar-navigation .nav-link:hover {
164
- background-color: rgba(255, 255, 255, 0.15);
165
- }
166
-
167
- .u-sidebar-navigation .nav-link.active {
168
- background-color: rgba(255, 255, 255, 0.1);
169
- }
170
-
171
- */
172
- .u-sidebar-navigation__toggler {
173
- position: fixed;
174
- top: 120px;
175
- left: 0;
176
- width: 53px;
177
- height: 53px;
178
- background-color: #1c2434;
179
- color: #fff;
180
- border-radius: 0 3px 3px 0;
181
- font-size: 22px;
182
- z-index: 2;
183
- }
184
-
185
- .u-sidebar-navigation__toggler:hover, .u-sidebar-navigation__toggler:focus {
186
- color: #fff;
187
- }
188
-
189
- /*
190
- .u-sidebar-navigation__closer {
191
- position: absolute;
192
- top: 22px;
193
- right: 15px;
194
- width: 25px;
195
- height: 25px;
196
- padding: 0;
197
- color: #fff;
198
- background-color: transparent;
199
- z-index: 3;
200
- }
201
-
202
- .u-sidebar-navigation__closer:hover, .u-sidebar-navigation__closer:focus {
203
- color: #fff;
204
- }
205
-
206
- @media all and (max-width: 992px - 1) {
207
- .u-sidebar-navigation-list {
208
- display: block;
209
- -webkit-columns: 4;
210
- columns: 4;
211
- }
212
- .u-sidebar-navigation-list .dropdown-toggle {
213
- display: none;
214
- }
215
- .u-sidebar-navigation-list .dropdown-menu {
216
- display: block;
217
- max-height: 100%;
218
- margin: 0;
219
- float: none;
220
- opacity: 1;
221
- }
222
- }
223
-
224
- @media all and (max-width: 768px - 1) {
225
- .u-sidebar-navigation-list {
226
- -webkit-columns: 3;
227
- columns: 3;
228
- }
229
- }
230
-
231
- @media all and (max-width: 576px - 1) {
232
- .u-sidebar-navigation-list {
233
- -webkit-columns: 1;
234
- columns: 1;
235
- }
236
- }
237
-
238
- .u-has-sidebar-navigation .u-header__overlay {
239
- display: none;
240
- }
241
- */
242
-
243
- </style>
244
- ++++
@@ -1,110 +0,0 @@
1
- // ~/document_base_folder/000_includes
2
- // Asciidoc attribute includes: attributes.asciidoc
3
- // -----------------------------------------------------------------------------
4
-
5
- // URLs - Internal references and/or sources on the Internet
6
- // -----------------------------------------------------------------------------
7
- tag::urls[]
8
-
9
- :bootstrap-home: https://getbootstrap.com/
10
- :bs_doc_components_modal: https://getbootstrap.com/docs/4.3/components/modal/
11
-
12
- :bootswatch-home: https://bootswatch.com/
13
- :bootswatch-api: https://bootswatch.com/help/#api
14
-
15
- :mdb-home: https://mdbootstrap.com/
16
- :mdb-bs-modals: https://mdbootstrap.com/docs/jquery/modals/basic/
17
- :mdb-bs-modals-legacy: https://mdbootstrap.com/legacy/4.3.2/?page=javascript/modals
18
-
19
- :w3org-css-spec: https://www.w3.org/Style/CSS/specs.en.html
20
- :w3schools-css-tutorial: https://www.w3schools.com/css/default.asp
21
-
22
- :fontawesome-home: https://fontawesome.com/
23
- :fontawesome-icons: https://fontawesome.com/icons?d=gallery
24
- :fontawesome-get-started: https://fontawesome.com/get-started
25
-
26
- :mdi-home: https://materialdesignicons.com/
27
- :mdi-icons-cheatsheet: https://cdn.materialdesignicons.com/3.3.92/
28
-
29
- :iconify-home: https://iconify.design/
30
- :iconify-icon-sets: https://iconify.design/icon-sets/
31
- :iconify-medical-icons: https://iconify.design/icon-sets/medical-icon/
32
- :iconify-brand-icons: https://iconify.design/icon-sets/logos/
33
-
34
- :jekyll-one-core-doc-color-scheme: https://support.jekyll-one.com/user_guide/core/color_scheme
35
-
36
- :light-gallery-license: http://sachinchoolur.github.io/lightGallery/docs/license.html
37
-
38
- :asciidoctor-extensions-lab: https://github.com/asciidoctor/asciidoctor-extensions-lab
39
- :asciidoctor-extensions-use-extension: https://github.com/asciidoctor/asciidoctor-extensions-lab#using-an-extension
40
- :asciidoctor-user-manual-extensions: http://asciidoctor.org/docs/user-manual/#extensions
41
-
42
- :roundtrip_data_slider_picker: /pages/public/learn/roundtrip/data_slider_picker
43
- :roundtrip_image_headers: /pages/public/learn/roundtrip/image_header
44
- :roundtrip_image_headers: /pages/public/learn/roundtrip/image_header
45
-
46
- :roundtrip-readme-first: /pages/public/learn/read_me_first/
47
- :roundtrip-present-images: /pages/public/learn/roundtrip/present_images/
48
- :roundtrip-present-videos: /pages/public/learn/roundtrip/present_videos/
49
- :roundtrip-cards: /pages/public/learn/roundtrip/cards/
50
- :roundtrip-typography: /pages/public/learn/roundtrip/typography/
51
- :roundtrip-asciidoc-extensions: /pages/public/learn/roundtrip/asciidoc_extensions/
52
- :roundtrip-extended-modals: /pages/public/learn/roundtrip/modals/
53
- :roundtrip-icon-fonts: /pages/public/learn/roundtrip/mdi_icon_font/
54
- :roundtrip-responsive-tables: /pages/public/learn/roundtrip/responsive_tables/
55
- :roundtrip-themes: /pages/public/learn/roundtrip/themes/
56
- :roundtrip-quicksearch: /pages/public/learn/roundtrip/quicksearch/
57
-
58
- :github-gist-home: https://gist.github.com/
59
- :asciidoc-extensions-gist-example: https://gist.github.com/mojavelinux/5546622
60
-
61
- :previewer-emoji: /pages/public/previewer/twitter_emoji/
62
- :previewer-mdi: /pages/public/previewer/mdi_font/
63
-
64
- :previewer-theme: /pages/public/previewer/theme/
65
-
66
- :kickstarter-web-in-a-day: https://jekyll.one/pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
67
- end::urls[]
68
-
69
-
70
- // FOOTNOTES, global asciidoc attributes (variables)
71
- // -----------------------------------------------------------------------------
72
- tag::footnotes[]
73
- end::footnotes[]
74
-
75
-
76
- // Tags - Asciidoc attributes used internally
77
- // -----------------------------------------------------------------------------
78
- tag::tags[]
79
- end::tags[]
80
-
81
-
82
- // Data - Data elements for Asciidoctor extensions
83
- // -----------------------------------------------------------------------------
84
- tag::data[]
85
-
86
- :data-images-standalone: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
87
- :data-images-group: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
88
-
89
- :data-quicksearch-icon: "pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg, Search button (magnifier) in the quick access area"
90
- :data-quicksearch-input: "pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg, Input bar for a QuickSearch"
91
-
92
- end::data[]
93
-
94
-
95
- // Images - Images from local include/images folder
96
- // -----------------------------------------------------------------------------
97
- tag::images[]
98
- end::images[]
99
-
100
-
101
- // PRODUCTS, local product information (e.g. release)
102
- // -----------------------------------------------------------------------------
103
- tag::products[]
104
- end::products[]
105
-
106
-
107
- // AUTHORS, local author information (e.g. article)
108
- // -----------------------------------------------------------------------------
109
- tag::authors[]
110
- end::authors[]
@@ -1,28 +0,0 @@
1
- == Github Gist
2
-
3
- Code snippets may helpful to support your readers for existing code examples.
4
- An excellent place for code snippets is Gist at Github. To embed an existing
5
- gist into your documents, the Asciidoc Extention *Gist block* provides the
6
- block macro `gist::` to do so.
7
-
8
- The following gist snippet is taken from {asciidoc-extensions-gist-example}[this example, window="_blank"]:
9
-
10
- [source, prometheus, role="noclip"]
11
- ----
12
- .Gist title
13
- gist::git_address[] <1>
14
- ----
15
- <1> For `git_address`, {github-gist-home}[, window="_blank"] is prepended automatically
16
-
17
- .Example of a gist block
18
- [source, prometheus, role="noclip"]
19
- ----
20
- .Guard setup to live preview AsciiDoc output
21
- gist::mojavelinux/5546622[]
22
- ----
23
-
24
- [.result]
25
- ====
26
- .Guard setup to live preview AsciiDoc output
27
- gist::mojavelinux/5546622[]
28
- ====