j1-template 2022.0.9 → 2022.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) 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 +416 -0
  12. data/assets/themes/j1/adapter/js/cookieConsent.js +8 -3
  13. data/assets/themes/j1/adapter/js/framer.js +0 -3
  14. data/assets/themes/j1/adapter/js/j1.js +6 -2
  15. data/assets/themes/j1/adapter/js/rouge.js +1 -1
  16. data/assets/themes/j1/adapter/js/scroller.js +1 -1
  17. data/assets/themes/j1/adapter/js/translator.js +15 -15
  18. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  19. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  20. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +117 -0
  21. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  22. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  23. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +1 -1
  26. data/lib/starter_web/_config.yml +1 -5
  27. data/lib/starter_web/_data/layouts/default.yml +7 -7
  28. data/lib/starter_web/_data/layouts/home.yml +24 -0
  29. data/lib/starter_web/_data/modules/advertising.yml +137 -10
  30. data/lib/starter_web/_data/modules/cookies.yml +1 -1
  31. data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
  32. data/lib/starter_web/_data/resources.yml +24 -0
  33. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  34. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  35. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  36. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  37. data/lib/starter_web/index.html +0 -1
  38. data/lib/starter_web/package.json +1 -1
  39. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  40. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  41. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  42. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
  43. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
  44. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  45. data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
  46. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  47. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  48. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  49. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.no_ads.asciidoc +237 -0
  50. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
  51. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  52. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  53. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  54. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  55. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  56. data/lib/starter_web/utilsrv/package.json +1 -1
  57. metadata +14 -47
  58. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  59. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  60. data/_includes/themes/j1/modules/connectors/ads +0 -56
  61. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  62. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  63. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  64. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  65. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  66. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  67. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  68. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  69. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  70. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  71. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  72. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  73. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  74. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  75. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  76. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  77. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  78. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  79. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  80. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  81. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  82. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  83. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  84. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  85. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  86. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  87. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  88. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  89. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  90. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  91. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  92. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
  93. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  94. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
  95. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  96. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  97. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  98. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  99. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  100. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  101. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  102. data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -1,222 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: infinite scroll
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/scroller-4/
17
- regenerate: false
18
-
19
- resources: [ j1scroll ]
20
- resource_options:
21
- - attic:
22
- padding_top: 400
23
- padding_bottom: 50
24
- opacity: 0.5
25
- slides:
26
- - url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
27
- alt: Photo by Ricardo Gomez Angel on Unsplash
28
- badge:
29
- type: unsplash
30
- author: Ricardo Gomez Angel
31
- href: https://unsplash.com/@ripato/portfolio
32
- ---
33
-
34
- // Page Initializer
35
- // =============================================================================
36
- // Enable the Liquid Preprocessor
37
- :page-liquid:
38
-
39
- // Set (local) page attributes here
40
- // -----------------------------------------------------------------------------
41
- // :page--attr: <attr-value>
42
- :images-dir: {imagesdir}/pages/roundtrip/100_present_images
43
-
44
- // Load Liquid procedures
45
- // -----------------------------------------------------------------------------
46
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
47
-
48
- // Load page attributes
49
- // -----------------------------------------------------------------------------
50
- {% include {{load_attributes}} scope="global" %}
51
-
52
- // Page content
53
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
-
55
- // Include sub-documents (if any)
56
- // -----------------------------------------------------------------------------
57
-
58
- == Infinite scroll example 3
59
-
60
- lorem:sentences[5]
61
-
62
- ++++
63
- <div class="row">
64
- <ul id="home_news_panel-scroll-group" class="list-group list-group-horizontal align-items-stretch flex-wrap">
65
- <!-- [INFO ] [j1.assets.data.panel.html ] [ write post items ] -->
66
- <li id="home_news_panel-scroll-item" class="list-group-item items-2 p-0">
67
- <article class="card card-same-height raised-z3 mb-3">
68
- <img class="img-fluid img-object--cover g-height-200" src="/assets/images/modules/attics/katie-moum-1920x1280.jpg" alt="Welcome">
69
- <h3 class="card-header bg-primary notoc">Welcome</h3>
70
- <!-- Body|Excerpt -->
71
- <div class="card-body r-text-300 mt-4">
72
- <div class="paragraph dropcap">
73
- <p class="dropcap"><span class="j1-dropcap">A</span>ll you’re doing at the end of the day is writing your content, and the J1
74
- Template does all the tricky things: putting out HTML, Javascript, and CSS.
75
- As a result, the site creation process gets out of your way.</p>
76
- </div>
77
- <div class="paragraph">
78
- <p><strong>Sounds fun, isn’t it</strong>?</p>
79
- </div>
80
- </div>
81
- <!-- End Body|Excerpt -->
82
- <div class="card-footer r-text-200">
83
- <div class="card-footer-text">
84
- <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>2021 March, 28
85
- </div>
86
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/info/2021/03/28/welcome-to-j1/">
87
- read · jekyll for everyone
88
- </a>
89
- </div>
90
- </article>
91
- </li>
92
- <li id="home_news_panel-scroll-item" class="list-group-item items-2 p-0">
93
-
94
- <article class="card card-same-height raised-z3 mb-3">
95
- <img class="img-fluid img-object--cover g-height-200" src="/assets/images/modules/attics/runner-1920x1200.jpg" alt="J1 Template">
96
- <h3 class="card-header bg-primary notoc">J1 Template</h3>
97
- <!-- Body|Excerpt -->
98
- <div class="card-body r-text-300 mt-4">
99
- <div class="paragraph dropcap">
100
- <p class="dropcap"><span class="j1-dropcap">T</span>he template system was initially developed to create a simple but fully
101
- configurable website creation toolset for document servers. Document servers
102
- provide websites or other content formats like PDF, projects, software
103
- documentation, or similar approaches.</p>
104
- </div>
105
- </div>
106
- <!-- End Body|Excerpt -->
107
- <div class="card-footer r-text-200">
108
- <div class="card-footer-text">
109
- <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>2021 March, 3
110
- </div>
111
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/knowledge/2021/03/03/about-j1/">
112
- read · first version is out
113
- </a>
114
- </div>
115
- </article>
116
- </li>
117
- </ul>
118
- </div>
119
- ++++
120
-
121
- ++++
122
- <script>
123
-
124
- var _createClass = function () {
125
- function defineProperties(target, props) {
126
- for (var i = 0; i < props.length; i++) {
127
- var descriptor = props[i];
128
- descriptor.enumerable = descriptor.enumerable || false;
129
- descriptor.configurable = true;
130
- if ("value" in descriptor) descriptor.writable = true;
131
- Object.defineProperty(target, descriptor.key, descriptor);
132
- }
133
- }
134
- return function (Constructor, protoProps, staticProps) {
135
- if (protoProps) defineProperties(Constructor.prototype, protoProps);
136
- if (staticProps) defineProperties(Constructor, staticProps);
137
- return Constructor;
138
- };
139
- }();
140
-
141
- function _classCallCheck(instance, Constructor) {
142
- if (!(instance instanceof Constructor)) {
143
- throw new TypeError("Cannot call a class as a function");
144
- }
145
- }
146
-
147
- var j1Scroller = function () {
148
- function j1Scroller(path, wrapperId) {
149
- _classCallCheck(this, j1Scroller);
150
-
151
- if (path === undefined || wrapperId === undefined) throw Error('no parameter.');
152
- this.path = path;
153
- this.pNum = 2;
154
- this.pMaxNum = 6;
155
- this.wNode = document.getElementById(wrapperId);
156
- this.wrapperId = wrapperId;
157
- this.enable = true;
158
-
159
- this.detectScroll();
160
- }
161
-
162
- _createClass(j1Scroller, [{
163
- key: 'detectScroll',
164
- value: function detectScroll() {
165
- var _this = this;
166
-
167
- window.onscroll = function (ev) {
168
- if (window.innerHeight + window.pageYOffset >= document.body.offsetHeight) _this.getNewPost();
169
- };
170
- }
171
- }, {
172
- key: 'getNewPost',
173
- value: function getNewPost() {
174
- var _this = this;
175
- if (_this.pNum >= this.pMaxNum ) {
176
- return;
177
- }
178
- if (this.enable === false) return false;
179
- this.enable = false;
180
- var xmlhttp = new XMLHttpRequest();
181
- xmlhttp.onreadystatechange = function () {
182
- if (xmlhttp.readyState == XMLHttpRequest.DONE) {
183
- if (xmlhttp.status == 200) {
184
- _this.pNum++;
185
- var childItems = _this.getChildItemsByAjaxHTML(xmlhttp.responseText);
186
- _this.appendNewItems(childItems);
187
- }
188
- return _this.enable = true;
189
- }
190
- };
191
- xmlhttp.open("GET", location.origin + this.path + this.pNum + '/index.html', true);
192
- xmlhttp.send();
193
- }
194
- }, {
195
- key: 'getChildItemsByAjaxHTML',
196
- value: function getChildItemsByAjaxHTML(HTMLText) {
197
- var newHTML = document.createElement('html');
198
- newHTML.innerHTML = HTMLText;
199
- var childItems = newHTML.querySelectorAll('#' + this.wrapperId + ' > *');
200
- return childItems;
201
- }
202
- }, {
203
- key: 'appendNewItems',
204
- value: function appendNewItems(items) {
205
- var _this = this;
206
-
207
- items.forEach(function (item) {
208
- _this.wNode.appendChild(item);
209
- });
210
- }
211
- }]);
212
-
213
- return j1Scroller;
214
- }();
215
-
216
- var postWrapperId = 'home_news_panel-scroll-group';
217
- var paginatePath = '/assets/data/news_panel_posts/page';
218
-
219
- // new j1Scroller(paginatePath, postWrapperId);
220
-
221
- </script>
222
- ++++
@@ -1,119 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: infinite scroll
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/scroller-5/
17
- regenerate: false
18
-
19
- resources: [ j1scroll, showonscroll ]
20
- resource_options:
21
- - attic:
22
- padding_top: 400
23
- padding_bottom: 50
24
- opacity: 0.5
25
- slides:
26
- - url: /assets/images/pages/roundtrip/images-1920x1280-bw.jpg
27
- alt: Photo by Ricardo Gomez Angel on Unsplash
28
- badge:
29
- type: unsplash
30
- author: Ricardo Gomez Angel
31
- href: https://unsplash.com/@ripato/portfolio
32
- ---
33
-
34
- // Page Initializer
35
- // =============================================================================
36
- // Enable the Liquid Preprocessor
37
- :page-liquid:
38
-
39
- // Set (local) page attributes here
40
- // -----------------------------------------------------------------------------
41
- // :page--attr: <attr-value>
42
- :images-dir: {imagesdir}/pages/roundtrip/100_present_images
43
-
44
- // Load Liquid procedures
45
- // -----------------------------------------------------------------------------
46
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
47
-
48
- // Load page attributes
49
- // -----------------------------------------------------------------------------
50
- {% include {{load_attributes}} scope="global" %}
51
-
52
- // Page content
53
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
-
55
- // Include sub-documents (if any)
56
- // -----------------------------------------------------------------------------
57
-
58
- == Infinite scroll example 5
59
-
60
- lorem:sentences[5]
61
-
62
- ++++
63
- <div class="noClass">
64
- <ul id="home_news_panel-scroll-group" class="list-group list-group-horizontal align-items-stretch flex-wrap">
65
- <!-- [INFO ] [j1.assets.data.panel.html ] [ write post items ] -->
66
- <li id="home_news_panel-scroll-item" class="list-group-item items-2 p-0">
67
- <article class="card card-same-height raised-z3 mb-3">
68
- <img class="img-fluid img-object--cover g-height-200" src="/assets/images/modules/attics/katie-moum-1920x1280.jpg" alt="Welcome">
69
- <h3 class="card-header bg-primary notoc">Welcome</h3>
70
- <!-- Body|Excerpt -->
71
- <div class="card-body r-text-300 mt-4">
72
- <div class="paragraph dropcap">
73
- <p class="dropcap"><span class="j1-dropcap">A</span>ll you’re doing at the end of the day is writing your content, and the J1
74
- Template does all the tricky things: putting out HTML, Javascript, and CSS.
75
- As a result, the site creation process gets out of your way.</p>
76
- </div>
77
- <div class="paragraph">
78
- <p><strong>Sounds fun, isn’t it</strong>?</p>
79
- </div>
80
- </div>
81
- <!-- End Body|Excerpt -->
82
- <div class="card-footer r-text-200">
83
- <div class="card-footer-text">
84
- <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>2021 March, 28
85
- </div>
86
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/info/2021/03/28/welcome-to-j1/">
87
- read · jekyll for everyone
88
- </a>
89
- </div>
90
- </article>
91
- </li>
92
- <li id="home_news_panel-scroll-item" class="list-group-item items-2 p-0">
93
-
94
- <article class="card card-same-height raised-z3 mb-3">
95
- <img class="img-fluid img-object--cover g-height-200" src="/assets/images/modules/attics/runner-1920x1200.jpg" alt="J1 Template">
96
- <h3 class="card-header bg-primary notoc">J1 Template</h3>
97
- <!-- Body|Excerpt -->
98
- <div class="card-body r-text-300 mt-4">
99
- <div class="paragraph dropcap">
100
- <p class="dropcap"><span class="j1-dropcap">T</span>he template system was initially developed to create a simple but fully
101
- configurable website creation toolset for document servers. Document servers
102
- provide websites or other content formats like PDF, projects, software
103
- documentation, or similar approaches.</p>
104
- </div>
105
- </div>
106
- <!-- End Body|Excerpt -->
107
- <div class="card-footer r-text-200">
108
- <div class="card-footer-text">
109
- <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>2021 March, 3
110
- </div>
111
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/knowledge/2021/03/03/about-j1/">
112
- read · first version is out
113
- </a>
114
- </div>
115
- </article>
116
- </li>
117
- </ul>
118
- </div>
119
- ++++
@@ -1,236 +0,0 @@
1
- ---
2
- title: Tester
3
- tagline: infinite scroll
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/scroller/
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
- == Example with cards
62
- ++++
63
- <div class="row">
64
- <section id="scroller">
65
- <ul class="list-group list-group-horizontal align-items-stretch flex-wrap">
66
- <li class="list-group-item items-2 p-0">
67
- <article class="card raised-z3 p-0">
68
- <img class="img-fluid img-object--cover" src="/assets/images/modules/attics/rirri-1920x1280.jpg" alt="Polaroid">
69
- <h3 class="card-header bg-primary notoc">Polaroid</h3>
70
- <div class="card-body r-text-300">
71
- <div class="paragraph dropcap">
72
- <p class="dropcap"><span class="j1-dropcap">M</span>ehr als zehn Jahre nach der Insolvenz von Polaroid ist die Sofortbildfotografie heute erfolgreicher denn je. Sofortbilder sind vorallem eines: Einzigartig. Polaroids fangen Momente ein wie sind. Nicht zu wiederholen.</p>
73
- </div>
74
- <div class="paragraph">
75
- <p><strong>Was geht denn sofort?</strong></p>
76
- </div>
77
- </div>
78
- <div class="card-footer r-text-200">
79
-
80
- <div class="card-footer-text"> <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>1. Januar 2025 </div>
81
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/produkte/2025/01/01/gegenbewegung_polaroit/"> lesen · Gegenbewegung </a>
82
- </div>
83
- </article>
84
- </li>
85
- <li class="list-group-item items-2 p-0">
86
- <article class="card raised-z3 p-0">
87
- <img class="img-fluid img-object--cover" src="/assets/images/modules/attics/franck-1920x1280.jpg" alt="TikTok">
88
- <h3 class="card-header bg-primary notoc">TikTok</h3>
89
- <div class="card-body r-text-300">
90
- <div class="paragraph dropcap">
91
- <p class="dropcap"><span class="j1-dropcap">T</span>ikTok ist eine Social-Media Plattform mit Schwerpunkt Video-Content. Die Nutzer können kurze selbstgemachte Videos teilen. Die Plattform bietet einen Raum, in dem einfach und schnell die eigenen Inhalte veröffentlicht werden können.</p>
92
- </div>
93
- <div class="paragraph">
94
- <p><strong>Was kann TikTok besser?</strong></p>
95
- </div>
96
- </div>
97
- <div class="card-footer r-text-200">
98
-
99
- <div class="card-footer-text"> <i class="mdi mdi-calendar-blank md-grey-600 mr-1"></i>1. Januar 2025 </div>
100
- <a class="card-link text-muted text-lowercase" href="/posts/public/featured/produkte/2025/01/01/aufsteiger_tiktok/"> lesen · video neu gedacht </a>
101
- </div>
102
- </article>
103
- </li>
104
- </ul>
105
- </section>
106
- <div class="page-load-status">
107
- <div class="loader-ellips infinite-scroll-request">
108
- <span class="loader-ellips__dot"></span>
109
- <span class="loader-ellips__dot"></span>
110
- <span class="loader-ellips__dot"></span>
111
- <span class="loader-ellips__dot"></span>
112
- </div>
113
- <!-- p class="infinite-scroll-last">End of content</p -->
114
- <!-- p class="infinite-scroll-error">Weitere Artikel finden Sie im <a href="/pages/public/blog/navigator/">Blog Navigator</a></p -->
115
- <p class="infinite-scroll-last">Weitere Artikel finden Sie im <a href="/pages/public/blog/navigator/">Blog Navigator</a></p>
116
- </div>
117
-
118
- <!-- div class="last-page-indicator">
119
- <p class="infinite-scroll-last">End of content</p>
120
- <p class="infinite-scroll-error">Weitere Artikel finden Sie im <a href="/pages/public/blog/navigator/">Blog Navigator</a></p>
121
- </div -->
122
-
123
- </div>
124
-
125
- <style>
126
-
127
- .card {
128
- height: calc(100% - 1.75rem);
129
- }
130
-
131
- .page-load-status {
132
- display: none; /* hidden by default */
133
- padding-top: 20px;
134
- border-top: 1px solid #DDD;
135
- text-align: center;
136
- color: #777;
137
- }
138
-
139
- .loader-ellips {
140
- font-size: 20px; /* change size here */
141
- position: relative;
142
- width: 4em;
143
- height: 1em;
144
- margin: 10px auto;
145
- }
146
-
147
- .loader-ellips__dot {
148
- display: block;
149
- width: 1em;
150
- height: 1em;
151
- border-radius: 0.5em;
152
- background: #555; /* change color here */
153
- position: absolute;
154
- animation-duration: 0.5s;
155
- animation-timing-function: ease;
156
- animation-iteration-count: infinite;
157
- }
158
-
159
- .loader-ellips__dot:nth-child(1),
160
- .loader-ellips__dot:nth-child(2) {
161
- left: 0;
162
- }
163
- .loader-ellips__dot:nth-child(3) { left: 1.5em; }
164
- .loader-ellips__dot:nth-child(4) { left: 3em; }
165
-
166
- @keyframes reveal {
167
- from { transform: scale(0.001); }
168
- to { transform: scale(1); }
169
- }
170
-
171
- @keyframes slide {
172
- to { transform: translateX(1.5em) }
173
- }
174
-
175
- .loader-ellips__dot:nth-child(1) {
176
- animation-name: reveal;
177
- }
178
-
179
- .loader-ellips__dot:nth-child(2),
180
- .loader-ellips__dot:nth-child(3) {
181
- animation-name: slide;
182
- }
183
-
184
- .loader-ellips__dot:nth-child(4) {
185
- animation-name: reveal;
186
- animation-direction: reverse;
187
- }
188
-
189
- </style>
190
-
191
- <script>
192
-
193
- $(document).ready(function() {
194
-
195
- var dependencies_met_page_ready = setInterval (function (options) {
196
- if ( j1.getState() === 'finished' ) {
197
- var logger = log4javascript.getLogger("j1.infiniteScroll");
198
- var log_text = '\n module infiniteScroll is being initialized';
199
- logger.info(log_text);
200
-
201
- function getPosts() {
202
- var pageNumber = ( this.loadCount + 1 );
203
- if ( pageNumber < 30) {
204
- return `/pages/public/scroller/scroller-p${pageNumber}.html`;
205
- }
206
- }
207
-
208
- // status: '.page-load-status',
209
- $('.list-group').infiniteScroll({
210
- path: getPosts,
211
- append: '.list-group-item',
212
- history: false,
213
- scrollThreshold: 10,
214
- checkLastPage: true,
215
- status: '.page-load-status',
216
- });
217
-
218
- $('.list-group').on( 'error.infiniteScroll', function( event, error, path, response ) {
219
- var logger = log4javascript.getLogger("j1.infiniteScroll");
220
- var log_text = `\n Could not load: ${path}. ${error}`;
221
- logger.info(log_text);
222
- });
223
-
224
- $('.list-group').on( 'last.infiniteScroll', function( event, body, path ) {
225
- var logger = log4javascript.getLogger("j1.infiniteScroll");
226
- var log_text = `\n last page reached on ${path}`;
227
- logger.info(log_text);
228
- // console.log(`Last page hit on ${path}`);
229
- });
230
- clearInterval(dependencies_met_page_ready);
231
- }
232
- });
233
- });
234
-
235
- </script>
236
- ++++