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
@@ -1,226 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: listen attribute changes
4
- date: 2021-10-18 00:00:00 +100
5
- description: >
6
- A simple example to demonstrate how the attrchange handler
7
- function is triggered when a style attribute is changed.
8
-
9
- categories: [ Tester ]
10
- tags: [ listen, attribute, changes ]
11
-
12
- comments: false
13
- fab_menu_id: default
14
-
15
- permalink: /pages/public/learn/attr_change/
16
- regenerate: false
17
-
18
- resources: []
19
- resource_options:
20
- - attic:
21
- padding_top: 400
22
- padding_bottom: 50
23
- opacity: 0.5
24
- slides:
25
- - url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
26
- alt: Photo by Ricardo Gomez Angel on Unsplash
27
- badge:
28
- type: unsplash
29
- author: Ricardo Gomez Angel
30
- href: https://unsplash.com/@ripato/portfolio
31
- ---
32
-
33
- // Page Initializer
34
- // =============================================================================
35
- // Enable the Liquid Preprocessor
36
- :page-liquid:
37
-
38
- // Set (local) page attributes here
39
- // -----------------------------------------------------------------------------
40
- // :page--attr: <attr-value>
41
-
42
- // Load Liquid procedures
43
- // -----------------------------------------------------------------------------
44
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
45
-
46
- // Load page attributes
47
- // -----------------------------------------------------------------------------
48
- {% include {{load_attributes}} scope="none" %}
49
-
50
- // Page content
51
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
- // https://github.com/meetselva/attrchange
53
- // http://meetselva.github.io/
54
- // https://codepen.io/meetselva/pen/EVaLmP
55
-
56
- // Include sub-documents (if any)
57
- // -----------------------------------------------------------------------------
58
- == Tester
59
-
60
- .Usage
61
- [source, js]
62
- ----
63
- $([selector]).attrchange({
64
- trackValues: true,
65
- callback: function (event) {
66
- //event.attributeName - Attribute Name
67
- //event.oldValue - Prev Value
68
- //event.newValue - New Value
69
- console.log("attr changed: " +event.newValue);
70
- }
71
- });
72
- ----
73
-
74
- ++++
75
- <section class="row ml-0">
76
-
77
- <p>
78
- A simple example to demonstrate how the attrchange handler
79
- function is triggered when a style attribute is changed.
80
- Click the buttons below to move the blue box left/right 10px.
81
- </p>
82
-
83
- <div>
84
- <h3 class="notoc">Demonstration Highlights</h3>
85
- <ul>
86
- <li>Uses the supported browser specific method to detect attribute changes.</li>
87
- <li>Does not use polling to detect an attribute change</li>
88
- <li>Detected DOM change: <span id="attrchange-demo-attrchange-method"></span> </li>
89
- </ul>
90
- </div>
91
-
92
- <div class="container mb-3">
93
-
94
- <div id="attrchange-demobox">
95
- <div id="attrchange-buttons">
96
- <div class="attrchange-demo-liner">Live Demo <span class="demo-value-name">( Event Count: <span id="attrchange-demo-event-count" class="demo-value">0</span> )</span></div>
97
- <button class="attrchange-demo-button left">&lt;&lt;</button>
98
- <button class="attrchange-demo-button right">&gt;&gt;</button>
99
- </div>
100
- <div id="attrchange-demo" class="attrchange-demo">
101
- Click the buttons above to move this box left/right '10px'
102
- </div>
103
- </div>
104
-
105
- <div id="attrchange-demo-logger">
106
- <div class="attrchange-demo-liner">Logs</div>
107
- <div id="attrchange-demo-logs"></div>
108
- </div>
109
-
110
- </div>
111
- </section>
112
- ++++
113
-
114
- ++++
115
- <script>
116
- $(function () {
117
- var eventCount = 0; //event counter
118
- var $attrchange_logger = $('#attrchange-demo-logs'); //cached logger
119
-
120
- $('.attrchange-demo').attrchange({
121
- trackValues: true, // enables tracking old and new values
122
- callback: function (e) { //callback handler on DOM changes
123
- // log the events in the panel
124
- var $logs = $attrchange_logger.prepend('<p>Attribute <b>' + e.attributeName +
125
- '</b> changed from <b>' + e.oldValue +
126
- '</b> to <b>' + e.newValue +
127
- '</b></p>')
128
- .find('p');
129
-
130
- //remove old logs, lets just keep the last 5 events
131
- $logs.filter(':gt(4)').remove();
132
- // highlight the last log in #333 and rest in #999
133
- $logs.css('color', '#777').first().css('color', '#333');
134
- //show the method used for detecting DOM changes
135
- $("#attrchange-demo-attrchange-method").text($(this).attrchange("getProperties")["method"]);
136
- //show the event count
137
- $('#attrchange-demo-event-count').text(++eventCount);
138
- }
139
- });
140
-
141
- $('.attrchange-demo-button').on('click', function () {
142
- $('#attrchange-demo').css('left', ($(this).hasClass('left') ? "-=10px" : "+=10px"));
143
- });
144
-
145
- });
146
- </script>
147
- ++++
148
-
149
- ++++
150
- <style>
151
- #attrchange-demobox {
152
- height: 230px;
153
- float: left;
154
- width: 33%;
155
- background-color: #f2f2f2;
156
- position: relative;
157
- }
158
-
159
- #attrchange-buttons {
160
- margin: 0;
161
- padding: 0;
162
- }
163
-
164
- .attrchange-demo-button {
165
- margin: 0 5px;
166
- }
167
-
168
- #attrchange-demo {
169
- width: 200px;
170
- height: 40px;
171
- overflow: hidden;
172
- padding: 10px;
173
- border: 1px solid #d2d2d2;
174
- background-color: #C2D9EC;
175
- font-size: 0.9em;
176
- position: absolute;
177
- top: 95px;
178
- left: 5px;
179
- }
180
-
181
- #attrchange-demo-logger {
182
- height: 230px;
183
- float: left;
184
- width: 33%;
185
- background-color: #f2f2f2;
186
- overflow: auto;
187
- }
188
-
189
- #attrchange-demo-logs p {
190
- padding-left: 10px;
191
- }
192
-
193
- .attrchange-demo-liner {
194
- margin: 0 0 15px;
195
- font-weight: bold;
196
- background-color: #d2d2d2;
197
- padding: 5px;
198
- }
199
-
200
- .attrchange-demo-liner span {
201
- font-weight: normal;
202
- font-size: 0.9em;
203
- }
204
-
205
- .attrchange-demo-liner span.demo-value {
206
- color: #7E0136;
207
- }
208
-
209
- #attrchange-demo-highlight {
210
- float: left;
211
- width: 33%;
212
- background-color: #d2d2d2;
213
- height: 230px;
214
- }
215
-
216
- #attrchange-demo-highlight ul li {
217
- margin-top: 10px;
218
- }
219
-
220
- #attrchange-demo-attrchange-method {
221
- color: #7E0136;
222
- font-weight: bold;
223
- }
224
-
225
- </style>
226
- ++++
@@ -1,109 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: backdrop
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/bd_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="global" %}
54
-
55
- // Page content
56
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57
-
58
- // Include sub-documents (if any)
59
- // -----------------------------------------------------------------------------
60
-
61
- ++++
62
- <div class="row mt-3 mr-3 mb-5 ml-3">
63
- <!-- Heading -->
64
- <div class="row">
65
- <div class="animated fadeInUp">
66
- <h2 class="g-font-weight-500 mb-0">Jekyll One Template</h2>
67
- <p class="tagline mb-0"><b>powerful modern static websites</b></p>
68
- <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
69
- </div>
70
- </div>
71
- <!-- End Heading -->
72
- <!-- Body -->
73
- <div class="row animated fadeInUp">
74
- <div class="mr-3 mb-3">
75
- <p class="dropcap">
76
- Jekyll One Template is the first toolbox to create modern webs and a learning platform to experience what is behind current Internet Technologies for the World Wide Web. J1 provides creative people with both: a rich toolset to build websites and the knowledge needed to learn what's all about.
77
- </p>
78
- <p> J1 meets Jekyll and Bootstrap and makes a lot of friends. The template system combines the best free software for the Web. Jekyll One Template is OpenSource and the modules included are free to use as well. No license issues for private or professional use.</p>
79
- <p> Explore what's possible if you go for static websites.</p>
80
- </div>
81
- <!-- Footer|Button row -->
82
- <div class="mt-1 text-center">
83
- <a href="/pages/public/learn/roundtrip/present_images/" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
84
- <i class="mdi mdi-briefcase-search-outline mdi-3x mdi- mr-3"></i>
85
- <span class="float-right text-left mt-2">
86
- Roundtrip
87
- <span class="d-block r-text-200 text-lowercase">learn top features</span>
88
- </span>
89
- </a>
90
- <a href="https://rubygems.org/gems/j1-template" target="blank" rel="noopener" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
91
- <i class="mdi mdi-briefcase-download-outline mdi-3x mdi- mr-3"></i>
92
- <span class="float-right text-left mt-2">
93
- Download
94
- <span class="d-block r-text-200 text-lowercase">get on rubygems</span>
95
- </span>
96
- </a>
97
- <a href="https://jekyll.one/pages/public/learn/quickstart/" target="blank" rel="noopener" class="btn btn-xl btn-primary text-uppercase text-left mr-2 mb-2" style="min-width: 250px">
98
- <i class="mdi mdi-briefcase-check-outline mdi-3x mdi- mr-3"></i>
99
- <span class="float-right text-left mt-2">
100
- Quickstart
101
- <span class="d-block r-text-200 text-lowercase">finished in 15 minutes</span>
102
- </span>
103
- </a>
104
- </div>
105
- </div>
106
- <!-- END Body -->
107
- <!-- End Card -->
108
- </div>
109
- ++++
@@ -1,127 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: button
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/button_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
- ++++
62
- <div>
63
-
64
- <a href="#void" class="btn btn-xl btn-primary text-uppercase mr-2 mb-2">
65
- <i class="mdi mdi-language-ruby mdi-3x mr-2"></i>
66
- <span class="float-right text-left mt-2">Let's Use this Button
67
- <span class="d-block r-text-200">30 days free for all users</span>
68
- </span>
69
- </a>
70
-
71
- <a href="#void" class="btn btn-xl btn-primary text-uppercase mr-2 mb-2">
72
- <i class="mdi mdi-language-ruby mdi-3x mr-2"></i>
73
- <span class="float-right text-left mt-2">Let's Use this Button
74
- <span class="d-block r-text-200">30 days free for all users</span>
75
- </span>
76
- </a>
77
-
78
- </div>
79
-
80
- <style>
81
-
82
- /*
83
- .btn-xl {
84
- line-height: 1.4;
85
- padding: 0.92857rem 1.85714rem;
86
- font-size: 1.28571rem;
87
- }
88
-
89
- .u-btn-content {
90
- white-space: normal;
91
- }
92
-
93
- .g-font-weight-600 {
94
- font-weight: 600 !important;
95
- }
96
-
97
- .g-letter-spacing-0_5 {
98
- letter-spacing: 0.03571rem;
99
- }
100
-
101
- .g-brd-2 {
102
- border-width: 2px !important;
103
- }
104
-
105
- .g-mr-10 {
106
- margin-right: 0.71429rem !important;
107
- }
108
-
109
- .g-mb-15 {
110
- margin-bottom: 1.07143rem !important;
111
- }
112
-
113
- .g-font-size-11 {
114
- font-size: 0.78571rem !important;
115
- }
116
-
117
- .g-font-size-42 {
118
- font-size: 3rem !important;
119
- }
120
-
121
- .pull-left {
122
- float: left;
123
- }
124
- */
125
-
126
- </style>
127
- ++++
@@ -1,128 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: button
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/card_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
- ++++
62
- <div>
63
-
64
- <article class="card raised-z3 mb-5">
65
- <h3 id="35983" class="card-header bg-primary">Welcome</h3>
66
- <!-- h5 class="notoc card-subtitle text-muted mb-2">jekyll for everyone</h5 -->
67
-
68
- <div class="row mx-0">
69
-
70
- <div class="col-md-6 img-bg--fill px-0"
71
- style="border-right: 1px dotted rgba(0, 0, 0, 0.25); background-image: url(/assets/images/modules/attics/katie-moum-1920x1280.jpg);">
72
- </div>
73
-
74
- <!-- div class="col-md-6 px-0">
75
- <img class="img__object--cover" src="/assets/images/modules/attics/katie-moum-1920x1280.jpg" alt="Welcome">
76
- </div -->
77
-
78
- <div class="col-md-6 p-0">
79
- <div class="card-body r-text-300">All you’re doing at the end of the day is writing your content, and the J1 Template does all the tricky things: putting out HTML, Javascript, and CSS. As a result, the site creation process gets out of your way. Sounds fun, isn’t it? ...</div>
80
- <div class="card-footer r-text-200">
81
-
82
- <div class="card-footer-text">
83
- <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i> 2021 March, 28
84
- </div>
85
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/2021/03/28/welcome-to-j1/#readmore">
86
- Read · jekyll for everyone
87
- </a>
88
- </div>
89
- </div>
90
-
91
- </div>
92
-
93
- </article>
94
-
95
-
96
- <article class="card raised-z5 mb-5">
97
- <h3 id="35983" class="card-header bg-primary">Welcome</h3>
98
- <!-- h5 class="notoc card-subtitle text-muted mb-2">jekyll for everyone</h5 -->
99
- <div class="card-body r-text-300">All you’re doing at the end of the day is writing your content, and the J1 Template does all the tricky things: putting out HTML, Javascript, and CSS. As a result, the site creation process gets out of your way. Sounds fun, isn’t it? ...</div>
100
- <div class="card-footer r-text-200">
101
- <div class="card-footer-text">
102
- <i class="mdi mdi-calendar-blank mr-1"></i> 2021 March, 28
103
- </div>
104
- <a class="card-link md-grey-800 font-weight-bold g-font-size-12 text-uppercase" href="/posts/public/featured/2021/03/28/welcome-to-j1/#readmore">
105
- Read · jekyll for everyone
106
- </a>
107
- </div>
108
- </article>
109
-
110
- </div>
111
-
112
- <style>
113
-
114
-
115
- .g-bg-img-hero {
116
- background-size: cover;
117
- background-repeat: no-repeat;
118
- background-position: center;
119
- }
120
-
121
- .g-px-0 {
122
- padding-left: 0 !important;
123
- padding-right: 0 !important;
124
- }
125
-
126
- </style>
127
-
128
- ++++
@@ -1,96 +0,0 @@
1
- ---
2
- title: J1
3
- tagline: Cookie Consent
4
- date: 2021-06-24 00:00:00 +100
5
- description: >
6
- Bootstrap Cookie Consent Module
7
- for J1 Template
8
-
9
- categories: [ Testpages ]
10
- tags: [ Example ]
11
-
12
- scrollbar: false
13
- fab_menu_id: default
14
-
15
- advertising: false
16
- comments: false
17
-
18
- permalink: /pages/public/cookieConsent/
19
- regenerate: true
20
-
21
- resources: [ bsCookieConsent ]
22
- resource_options:
23
- - attic:
24
- padding_top: 400
25
- padding_bottom: 50
26
- opacity: 0.5
27
- slides:
28
- - url: /assets/images/modules/attics/cookies-1920x1200.jpg
29
- ---
30
-
31
- // Page Initializer
32
- // =============================================================================
33
- // Enable the Liquid Preprocessor
34
- :page-liquid:
35
-
36
- // Set (local) page attributes here
37
- // -----------------------------------------------------------------------------
38
- // :page--attr: <attr-value>
39
- :badges-enabled: false
40
-
41
- // Load Liquid procedures
42
- // -----------------------------------------------------------------------------
43
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
44
-
45
- // Load page attributes
46
- // -----------------------------------------------------------------------------
47
- {% include {{load_attributes}} scope="global" %}
48
-
49
-
50
- // Page content
51
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
-
53
- ++++
54
- <div class="container">
55
- <h2>Usage</h2>
56
- <p>Initialize the cookie consent framework with the constructor</p>
57
- <p><code>var cookieSettings = new BootstrapCookieConsent()</code></p>
58
- <h3>Show the Dialog</h3>
59
- <p>
60
- On a new visit the dialog is shown automatically. For reconfiguration
61
- show the Dialog again with <code>cookieSettings.showDialog()</code>.
62
- </p>
63
- <p>
64
- <a href="javascript:showSettingsDialog()" class="btn btn-primary">Cookie Settings</a>
65
- </p>
66
- <h2>Read the settings</h2>
67
- <p>Read all cookie settings with <code>cookieSettings.getSettings()</code></p>
68
- <div class="card mb-4">
69
- <div class="card-body">
70
- <pre class="mb-0" id="settingsOutput"></pre>
71
- </div>
72
- </div>
73
- <p>Read a specific cookie setting with <code>cookieSettings.getSettings('analyses')</code></p>
74
- <div class="card">
75
- <div class="card-body">
76
- <pre class="mb-0" id="settingsAnalysisOutput"></pre>
77
- </div>
78
- </div>
79
- </div>
80
-
81
- <script>
82
-
83
- function showSettingsDialog() {
84
- j1.cookieConsent.showDialog();
85
- }
86
-
87
- var dependencies_met_cookie_consent_ready = setInterval (function (options) {
88
- if ( typeof j1.cookieConsent !== 'undefined' ) {
89
- $("#settingsOutput").text(JSON.stringify(j1.cookieConsent.getSettings()))
90
- $("#settingsAnalysisOutput").text(j1.cookieConsent.getSettings('analyses'))
91
- clearInterval(dependencies_met_cookie_consent_ready);
92
- }
93
- });
94
-
95
- </script>
96
- ++++