j1-template 2024.0.0 → 2024.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/apps/public/cc/cc.yml +35 -33
  3. data/assets/data/cookieconsent.html +15 -106
  4. data/assets/data/docsearch.html +155 -0
  5. data/assets/data/iframes.html +96 -0
  6. data/assets/data/quicklinks.html +10 -0
  7. data/assets/data/speak2me.html +4 -3
  8. data/assets/data/translator.html +27 -147
  9. data/assets/themes/j1/adapter/js/{chat.js → chatbot.js} +20 -18
  10. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  11. data/assets/themes/j1/adapter/js/docsearch.js +270 -0
  12. data/assets/themes/j1/adapter/js/gallery.js +1 -1
  13. data/assets/themes/j1/adapter/js/iframer.js +350 -0
  14. data/assets/themes/j1/adapter/js/mmenu.js +1 -1
  15. data/assets/themes/j1/adapter/js/navigator.js +4 -0
  16. data/assets/themes/j1/adapter/js/rouge.js +1 -1
  17. data/assets/themes/j1/adapter/js/speak2me.js +2 -2
  18. data/assets/themes/j1/adapter/js/translator.js +5 -0
  19. data/assets/themes/j1/core/css/animate.css +4 -4
  20. data/assets/themes/j1/core/css/animate.min.css +1 -1
  21. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +1 -1
  22. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  23. data/assets/themes/j1/core/js/template.js +19 -7
  24. data/assets/themes/j1/core/js/template.min.js +1 -1
  25. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  26. data/assets/themes/j1/modules/iframeResizer/LICENSE +1 -1
  27. data/assets/themes/j1/modules/iframeResizer/README.md +105 -0
  28. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.absolute.html +12 -11
  29. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.content.html +22 -28
  30. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.hover.html +9 -8
  31. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.nested.html +12 -12
  32. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.textarea.html +6 -8
  33. data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.tolerance.html +11 -11
  34. data/assets/themes/j1/modules/iframeResizer/{examples → example}/index.html +43 -19
  35. data/assets/themes/j1/modules/iframeResizer/{examples → example}/two.html +8 -11
  36. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +84 -68
  37. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -8
  38. data/assets/themes/j1/modules/iframeResizer/js/resizer.js +149 -72
  39. data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +11 -7
  40. data/lib/j1/version.rb +1 -1
  41. data/lib/starter_web/README.md +5 -5
  42. data/lib/starter_web/_config.yml +1 -1
  43. data/lib/starter_web/_data/modules/{framer.yml → _docsearch.yml} +20 -9
  44. data/lib/starter_web/_data/modules/{chat.yml → chatbots.yml} +2 -2
  45. data/lib/starter_web/_data/modules/defaults/{chat.yml → chatbots.yml} +2 -2
  46. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -75
  47. data/lib/starter_web/_data/modules/defaults/docsearch.yml +87 -0
  48. data/lib/starter_web/_data/modules/defaults/{framer.yml → iframer.yml} +56 -21
  49. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
  50. data/lib/starter_web/_data/modules/defaults/translator.yml +11 -52
  51. data/lib/starter_web/_data/modules/docsearch.yml +45 -0
  52. data/lib/starter_web/_data/modules/iframer.yml +103 -0
  53. data/lib/starter_web/_data/modules/navigator_menu.yml +39 -1
  54. data/lib/starter_web/_data/resources.yml +41 -19
  55. data/lib/starter_web/_data/templates/feed.xml +1 -1
  56. data/lib/starter_web/_plugins/asciidoctor/iframe-block.rb +46 -0
  57. data/lib/starter_web/_plugins/index/lunr.rb +2 -1
  58. data/lib/starter_web/package.json +74 -75
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +1 -2
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +0 -1
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +1 -2
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +4 -1
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.bat +2 -2
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.sh +2 -3
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.a2p +5 -9
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.pdf +27727 -0
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  74. data/lib/starter_web/pages/public/features/general.adoc +1 -1
  75. data/lib/starter_web/pages/public/features/template.adoc +1 -1
  76. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +1 -1
  77. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +1 -1
  78. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
  79. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +1 -1
  80. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +1 -1
  81. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +1 -1
  82. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +1 -1
  83. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -1
  84. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -1
  85. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
  86. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  87. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
  88. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
  89. data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
  90. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
  91. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
  92. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
  93. data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
  94. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.content.html +51 -0
  95. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.docsearch.info.html +84 -0
  96. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
  97. data/lib/starter_web/pages/public/tools/previewer/preview_docsearch.adoc +92 -0
  98. data/lib/starter_web/pages/public/tools/previewer/preview_iframer.adoc +106 -0
  99. metadata +35 -25
  100. data/assets/themes/j1/adapter/js/framer.js +0 -237
  101. data/assets/themes/j1/modules/chatgpt/css/theme/uno.css +0 -92
  102. data/assets/themes/j1/modules/chatgpt/css/theme/uno.min.css +0 -16
  103. data/lib/starter_web/_data/_defaults/private.yml +0 -129
  104. data/lib/starter_web/_data/modules/nbinteract.yml +0 -476
  105. data/lib/starter_web/utilsrv/_defaults/package.json +0 -57
  106. data/lib/starter_web/utilsrv/package.json +0 -57
  107. data/lib/starter_web/utilsrv/server.js +0 -775
  108. /data/assets/themes/j1/modules/{chat → chatbot}/css/theme/uno.css +0 -0
  109. /data/assets/themes/j1/modules/{chat → chatbot}/css/theme/uno.min.css +0 -0
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------
2
- # ~/_data/modules/framer.yml
3
- # User configuration settings for iFrameResizer
2
+ # ~/_data/modules/docsearch.yml
3
+ # User configuration settings for J1 DocSearch integration
4
4
  #
5
5
  # Product/Info:
6
6
  # https://jekyll.one
@@ -8,27 +8,38 @@
8
8
  # Copyright (C) 2023, 2024 Juergen Adams
9
9
  #
10
10
  # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
11
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
12
12
  # ------------------------------------------------------------------------------
13
13
 
14
14
  # ------------------------------------------------------------------------------
15
15
  # Description
16
16
  #
17
17
  description:
18
- title: Framer
18
+ title: J1 DocSearch
19
19
  scope: User settings
20
- location: _data/modules/framer.yml
20
+ location: _data/modules/docsearch.yml
21
21
 
22
22
  # ------------------------------------------------------------------------------
23
- # User settings
23
+ # Default settings
24
24
  #
25
25
  settings:
26
- enabled: false
26
+ enabled: false
27
27
 
28
+ # Provider settings
28
29
  # ----------------------------------------------------------------------------
29
- # Framer options
30
+ provider_settings:
31
+ provider_id: <your-provider_id>
32
+ bot_id: <your-bot_id-id>
33
+
34
+ # Bot settings
30
35
  # ----------------------------------------------------------------------------
31
- autoResize: true
36
+ bot_settings:
37
+ iframe:
38
+ title: J1 DocSearch
39
+ height: 400
40
+ width: 100%
41
+ scrolling: no
42
+ style: "border: none; background: white;"
32
43
 
33
44
  # ------------------------------------------------------------------------------
34
45
  # END config
@@ -25,8 +25,8 @@ description:
25
25
  settings:
26
26
  enabled: false
27
27
 
28
- # Replace this ID by <your-chatbot-id> if yuo have an account|your own
29
- # project configured.
28
+ # Provider settings
29
+ # ----------------------------------------------------------------------------
30
30
  #
31
31
  provider: <your-chatbot>
32
32
  chatbotID: <your-chatbot-id>
@@ -66,8 +66,8 @@ defaults:
66
66
  # ==========================================================================
67
67
  # vivochat: 3d0b29f1-623a-4915-a817-e436d328f18f
68
68
  # tutgpt: clo54vmlw000582y700nkde5t
69
- # chatbob: qhtrvti8SjKDaf9QFKn6xw
70
- # webwhiz: 653593d609b6412fa51792f6 # NOT recommended as BROKEN since 10/2023
69
+ # chatbob: nzxiSnnrT2CgodkC71Q4JQ
70
+ # webwhiz: 653fcc96d6e3b30c477517f4 # NOT recommended as BROKEN since 10/2023
71
71
  #
72
72
  # ----------------------------------------------------------------------------
73
73
  #
@@ -48,12 +48,8 @@ defaults:
48
48
 
49
49
  modal_settings:
50
50
 
51
- title:
52
- de: Ihre Privatsphäre
53
- en: Your Privacy
54
-
55
- body_text:
56
- en: >
51
+ title: Your Privacy
52
+ body_text: >
57
53
  This website uses cookies and similar technologies that are required
58
54
  for operation. You are free to decide to give, refuse or withdraw your
59
55
  consent at any time by clicking the <b>My Settings</b> button.
@@ -67,32 +63,8 @@ defaults:
67
63
  <br><br>
68
64
  To visit this website, your consent on cookies is required by clicking
69
65
  the <b>I Agree</b> button.
66
+ privacy_notice: >
70
67
 
71
- de: >
72
- Diese Website verwendet Cookies und ähnliche Technologien, die für den Betrieb
73
- dieser Website erforderlich sind. Sie können zu jederzeit entscheiden, ob Sie
74
- Ihre Zustimmung geben, verweigern oder zurückziehen.
75
- Sie können Ihre Zustimmung geben, indem Sie auf die Schaltfläche
76
- <b>Einverstanden</b> klicken. Nachträgliche Änderungen sind
77
- jederzeit möglich, indem Sie auf das Cookie Symbol in der
78
- Menüleiste klicken.
79
- <br><br>
80
- Erweiterte Cookies werden nur mit Ihrer <b>Zustimmung</b> verwendet. Zusätzliche
81
- Cookies werden verwendet, um die Nutzung dieser Website zu analysieren oder
82
- Ihre persönlichen Einstellungen für diese Webseite zu speichern.
83
- Analysen der Nutzung der Website helfen uns, Ihnen eine optimaler Nutzung diese
84
- Website zu ermöglichen. Persönliche Einstellungen erlauben es allen Besuchern,
85
- Präferenzen der Nutzung von Diensten zu speichern.
86
- <br><br>
87
- Weitere Informationen darüber, welche Daten gesammelt und an Partner
88
- weitergegeben werden finden Sie in der <b>Datenschutzrichtlinie</b>.
89
- Oder in Kurzform, indem Sie auf <b>Datenschutzerklärung</b> klicken.
90
- <br><br>
91
- Wenn Sie diese Website besuchen, ist Ihre Zustimmung zur Verwendung von Cookies
92
- erforderlich, indem Sie auf die Schaltfläche <b>Einverstanden</b> klicken.
93
-
94
- privacy_notice:
95
- en: >
96
68
  The operator of this website takes the protection of your personal data
97
69
  seriously. We treat your data confidential and comply with the General
98
70
  Data Protection Regulation (GDPR) of the European Union to protect your
@@ -134,50 +106,6 @@ defaults:
134
106
  </p>
135
107
  </li>
136
108
  </ul>
137
- de: >
138
- Der Betreiber dieser Website nimmt den Schutz Ihrer persönlichen Daten sehr
139
- ernst. Wir behandeln Ihre Daten vertraulich und halten uns an die
140
- <b>Datenschutzgrundverordnung (DSGVO)</b> der Europäischen Union zum Schutz
141
- Ihrer Privatsphäre.
142
- <br><br>
143
- Eine Reihe von Daten wird in dauerhaften Cookies gespeichert. Unsere
144
- Partner und wir verwenden dauerhafte Cookies. Diese zusätzlichen Daten
145
- werden nur mit Ihrer <b>Zustimmung</b> gespeichert.
146
- <br>
147
- <ul>
148
- <li style="list-style-type: none;">
149
- <b>Notwendig</b>
150
- <p>
151
- Diese Website speichert <b>keine</b> persönliche Daten
152
- in Datenbanken. Alle Informationen (Daten) die zur Steuerung dieser Seite
153
- notwendig sind, werden in sogenannten Sitzungscookies gespeichert. Ihr
154
- Browser <b>entfernt</b> Sitzungscookies automatisch ohne Ihr zutun, wenn Sie
155
- alle Browserfenster schließen.
156
- </p>
157
- <li style="list-style-type: none;">
158
- <b>Analysen</b>
159
- <p>
160
- Die Nutzung von Verkehrsanalysen hilft bei der Optimierung der
161
- Website, um die Nutzung für alle Besucher zu verbessern. Für die Analyse wird
162
- der Dienst Google Analytics (GA) verwendet. GA verwendet dauerhafte
163
- Cookies die auf Ihrem Computer verbleiben, um diesen Dienst zu ermöglichen.
164
- Diese Website überträgt <b>keine</b> persönlichen Daten an den Dienst GA.
165
- Implizite persönliche Informationen, wie IP-Adressen, werden zum Schutz der
166
- Privatsphäre unserer Besucher anonymisiert.
167
- </p>
168
- </li>
169
- <li style="list-style-type: none;">
170
- <b>Personalisierung</b>
171
- <p>
172
- Die Speicherung persönlichger Einstellungen wird verwendet, um zusätzliche
173
- Dienste anzubieten. Dazu gehören Themen, Übersetzungen, Kommentare oder Werbekampagnen
174
- die allen Anwendern einen kostenlosen Besuch dieser Website ermöglichen.
175
- Partner verwenden für ihre Dienste dauerhafte Cookies, die auf Ihrem Computer
176
- verbleiben. Unsere Partner wie Bootswatch, Disqus, oder Google bieten hervorragende
177
- personalisierte Dienste und finanzieren die Kosten für den Betrieb dieser Seiten.
178
- <p>
179
- </li>
180
- </ul>
181
109
 
182
110
  # ------------------------------------------------------------------------------
183
111
  # END config
@@ -0,0 +1,87 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/defaults/docsearch.yml
3
+ # Default configuration settings for J1 DocSearch integration
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023, 2024 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description
16
+ #
17
+ description:
18
+ title: J1 DocSearch
19
+ scope: Default settings
20
+ location: _data/modules/defaults/docsearch.yml
21
+
22
+ # ------------------------------------------------------------------------------
23
+ # Default settings
24
+ #
25
+ defaults:
26
+ enabled: false
27
+
28
+ # Provider settings
29
+ # ----------------------------------------------------------------------------
30
+ provider_settings:
31
+ provider_id: <your-provider_id>
32
+ bot_id: <your-bot_id-id>
33
+
34
+ # Bot settings
35
+ # ----------------------------------------------------------------------------
36
+ bot_settings:
37
+ iframe:
38
+ title: ""
39
+ height: 500
40
+ width: 100%
41
+ scrolling: no
42
+ style: "border: none; background: #FAFAFA;"
43
+
44
+ # Dialog settings
45
+ # ----------------------------------------------------------------------------
46
+ dialog_settings:
47
+ modal_container_id: docsearch_container
48
+ modal_settings:
49
+
50
+ title: DocSearch AI
51
+ body_text: >
52
+ Using <b>DocSearch AI</b>, you can ask <b>your</b> questions based on all documents
53
+ available at <a href="https://jekyll.one/" target="_blank" rel="noopener">JekyllOne</a>
54
+ to receive human readable answers. Below, the superpower of DocSearch AI is available
55
+ at your fingertips.
56
+ <div class="listingblock mt-4 mb-4">
57
+ <div class="title">Example Question</div>
58
+ <div class="content">
59
+ <div class="j1-clipboard"><span class="btn-clipboard" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-original-title="to clipboard">Copy</span></div>
60
+ <pre class="rouge highlight notranslate"><code data-lang="apib">What is J1 Template?</code></pre>
61
+ </div>
62
+ </div>
63
+ Ask <b>your</b> question and get an answer in seconds.
64
+ privacy_notice: >
65
+ <b>DocSearch AI</b> requires Cookies for traffic analysis
66
+ and personalization to run the service.
67
+ <br><br>
68
+ Required Cookie Settings:
69
+ <ul>
70
+ <li style="list-style-type: none;">
71
+ <b>Analysis</b>
72
+ <p>
73
+ For the use of DocSearch AI, your consent on analysis
74
+ in the <b>Privacy Settings</b> is required.
75
+ </p>
76
+ </li>
77
+ <li style="list-style-type: none;">
78
+ <b>Personalization</b>
79
+ <p>
80
+ For the use of DocSearch AI, your consent on personalization
81
+ in the <b>Privacy Settings</b> is required.
82
+ </p>
83
+ </li>
84
+ </ul>
85
+
86
+ # ------------------------------------------------------------------------------
87
+ # END config
@@ -244,30 +244,65 @@ description:
244
244
  # DEFAULTS
245
245
  #
246
246
  defaults:
247
- enabled: false
247
+ enabled: false
248
+
249
+ xhr_data_path: /assets/data/iframes
250
+ delay_iframer: 1000
251
+ inject_contentWindowScript: false
252
+ delay_inject_contentWindowScript: 500
253
+
254
+ # ----------------------------------------------------------------------------
255
+ # iframe (HTML) attributes
256
+ # ----------------------------------------------------------------------------
257
+ #
258
+ attributes:
259
+ allow: false # false or specifies a Permissions Policy for the <iframe>
260
+ allowfullscreen: true # boolean
261
+ height: false # false|pixels|percentage
262
+ loading: eager # [eager|lazy]
263
+ name: false # false|text
264
+ referrerpolicy: no-referrer # specifies which referrer information to send when fetching the iframe [no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin-when-cross-origin|unsafe-url]
265
+ src: "" # URL
266
+ scrolling: false # boolean
267
+ title: false # false|text
268
+ width: false # false|pixels|percentage
248
269
 
249
270
  # ----------------------------------------------------------------------------
250
- # Framer options
271
+ # iFramer module options
251
272
  # ----------------------------------------------------------------------------
252
- load: sync
253
- log: false
254
- autoResize: true
255
- bodyBackground:
256
- bodyMargin: 0
257
- checkOrigin: true
258
- inPageLinks: false
259
- interval: 32
260
- heightCalculationMethod: bodyOffset
261
- widthCalculationMethod: scroll
262
- maxHeight: 100000000
263
- minHeight: 512
264
- maxWidth: 100000000
265
- minWidth: 0
266
- resizeFrom: parent
267
- scrolling: false
268
- sizeHeight: true
269
- sizeWidth: false
270
- tolerance: 0
273
+ options:
274
+ autoResize: true
275
+ bodyBackground: null
276
+ bodyMargin: null
277
+ bodyMarginV1: 8
278
+ bodyPadding: null
279
+ checkOrigin: true
280
+ inPageLinks: false
281
+ enablePublicMethods: true
282
+ heightCalculationMethod: bodyOffset
283
+ id: iFrameResizer
284
+ interval: 32
285
+ log: false
286
+ maxHeight: Infinity
287
+ maxWidth: Infinity
288
+ minHeight: 0
289
+ minWidth: 0
290
+ mouseEvents: true
291
+ resizeFrom: parent
292
+ scrolling: false
293
+ sizeHeight: true
294
+ sizeWidth: false
295
+ warningTimeout: 5000
296
+ tolerance: 0
297
+ widthCalculationMethod: scroll
298
+ onClose: function () { return true }
299
+ onClosed: function () {}
300
+ onInit: function () {}
301
+ onMessage: function () { warn('onMessage function not defined') }
302
+ onMouseEnter: function () {}
303
+ onMouseLeave: function () {}
304
+ onResized: function () {}
305
+ onScroll: function () { return true }
271
306
 
272
307
  # ------------------------------------------------------------------------------
273
308
  # END config
@@ -204,6 +204,10 @@ defaults:
204
204
 
205
205
  # Action buttons
206
206
  # --------------------------------------------------------------------------
207
+ docsearch_icon: head-question
208
+ docsearch_action: documind
209
+ docsearch_label: Doc Search
210
+
207
211
  quicksearch_icon: magnify
208
212
  quicksearch_action: quicksearch
209
213
  quicksearch_label: Search
@@ -70,37 +70,22 @@ defaults:
70
70
  ]
71
71
  modal_settings:
72
72
 
73
- title:
74
- en: Google Translator
75
- de: Google Übersetzer
76
-
77
- body_text:
78
- en: >
79
- This website uses the <b>free service</b> Google Translate to translate
80
- the content into 100+ languages in seconds. The language for
81
- translation is selected automatically from the language settings
82
- of your browser.
83
-
84
- de: >
85
- Diese Website nutzt den <b>kostenlosen</b> Dienst Google Translate, um
86
- die Inhalte in sekundenschnelle in über 100+ Sprachen zu übersetzen.
87
- Die Sprache für die Übersetzung wird automatisch aus den
88
- Spracheinstellungen Ihres Browsers gewählt.
89
-
90
- language_selector_title:
91
-
92
- en: "Your current language setting for the translation is:"
93
- de: "Ihre aktuelle Spracheinstellung für die Übersetzung ist:"
94
-
95
- privacy_notice:
96
-
97
- en: >
73
+ title: Google Translator
74
+ body_text: >
75
+ This website use the <b>free</b> service <b>Google Translator</b> to
76
+ translate the content of this website into 100+ languages in seconds.
77
+ The language for translation is automatically taken from your browser
78
+ settings.
79
+ language_selector_title: >
80
+ Your current language settings for the translation are
81
+ privacy_notice: >
98
82
  The <b>free service</b> from Google Translate uses cookies to provide
99
83
  its services, personalize advertising and run traffic analysis To use the
100
84
  service, your consent on using cookies is required. Find more information
101
85
  about at the Google
102
86
  <a href="https://policies.google.com/" target="_blank" rel="noopener">Privacy Policy</a>.
103
- <br />Required Cookie Settings:
87
+ <br><br>
88
+ Required Cookie Settings:
104
89
  <ul>
105
90
  <li style="list-style-type: none;">
106
91
  <b>Analysis</b>
@@ -117,32 +102,6 @@ defaults:
117
102
  </p>
118
103
  </li>
119
104
  </ul>
120
- de: >
121
- Der <b>kostenlose</b> Dienst von Google Translate verwendet Cookies
122
- um seine Dienste bereitzustellen, Werbung zu personalisieren und
123
- Verkehrsanalysen durchzuführen. Mehr Information dazu finden Sie dazu in der
124
- <a href="https://policies.google.com/" target="_blank" rel="noopener">Datenschutzerklärung</a>
125
- von Google.
126
- Erforderliche Cookie Einstellungen:
127
- <br />
128
- <ul>
129
- <li style="list-style-type: none;">
130
- <b>Analysen</b>
131
- <p>
132
- Für die Nutzung von Übersetzungen ist Ihre Zustimmung zu
133
- Analysen in den Einstellungen Ihrer Privatsphäre
134
- erforderlich.
135
- </p>
136
- </li>
137
- <li style="list-style-type: none;">
138
- <b>Personalisierung</b>
139
- <p>
140
- Für die Nutzung von Übersetzungen ist Ihre Zustimmung zur
141
- Personalisierung in den Einstellungen Ihrer Privatsphäre
142
- erforderlich.
143
- </p>
144
- </li>
145
- </ul>
146
105
 
147
106
  # ------------------------------------------------------------------------------
148
107
  # Default Deepl Translator settings (currently NOT supported)
@@ -0,0 +1,45 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/docsearch.yml
3
+ # User configuration settings for J1 DocSearch integration
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023, 2024 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description
16
+ #
17
+ description:
18
+ title: J1 DocSearch
19
+ scope: User settings
20
+ location: _data/modules/docsearch.yml
21
+
22
+ # ------------------------------------------------------------------------------
23
+ # Default settings
24
+ #
25
+ settings:
26
+ enabled: false
27
+
28
+ # Provider settings
29
+ # ----------------------------------------------------------------------------
30
+ provider_settings:
31
+ provider_id: <your-provider_id>
32
+ bot_id: <your-bot_id-id>
33
+
34
+ # Bot settings
35
+ # ----------------------------------------------------------------------------
36
+ bot_settings:
37
+ iframe:
38
+ title: J1 DocSearch
39
+ height: 400
40
+ width: 100%
41
+ scrolling: no
42
+ style: "border: none; background: white;"
43
+
44
+ # ------------------------------------------------------------------------------
45
+ # END config
@@ -0,0 +1,103 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/modules/framer.yml
3
+ # User configuration settings for module iFramer
4
+ #
5
+ # Product/Info:
6
+ # https://jekyll.one
7
+ #
8
+ # Copyright (C) 2023, 2024 Juergen Adams
9
+ #
10
+ # J1 Template is licensed under the MIT License.
11
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
12
+ # ------------------------------------------------------------------------------
13
+
14
+ # ------------------------------------------------------------------------------
15
+ # Description
16
+ #
17
+ description:
18
+ title: iFramer
19
+ scope: User settings
20
+ location: _data/modules/iframer.yml
21
+
22
+ # ------------------------------------------------------------------------------
23
+ # User settings
24
+ #
25
+ settings:
26
+ enabled: true
27
+
28
+ # ----------------------------------------------------------------------------
29
+ # iFrames
30
+ # ----------------------------------------------------------------------------
31
+ iframes:
32
+
33
+ # --------------------------------------------------------------------------
34
+ # Test iframe
35
+ #
36
+ - iframe:
37
+ enabled: true
38
+
39
+ id: magic_iframe
40
+ inject_contentWindowScript: true
41
+
42
+ # ------------------------------------------------------------------------
43
+ # iframe (HTML) attributes
44
+ # ------------------------------------------------------------------------
45
+ #
46
+ attributes:
47
+ loading: lazy
48
+ name: iframe document
49
+ src: /pages/public/tools/previewer/iframer_documents/iframe.content.html
50
+ width: 100%
51
+ scrolling: false
52
+
53
+ # ------------------------------------------------------------------------
54
+ # iFramer (module) options
55
+ # ------------------------------------------------------------------------
56
+ options:
57
+ log: true
58
+ inPageLinks: true
59
+ onResized: >
60
+ function(messageData) {
61
+ // Callback when page is resized
62
+ $('p#resize_stats').html (
63
+ '<b>iFrame ID:</b> ' +
64
+ messageData.iframe.id +
65
+ '&nbsp;&nbsp; <b>Height:</b> ' +
66
+ messageData.height +
67
+ '&nbsp;&nbsp; <b>Width:</b> ' +
68
+ messageData.width +
69
+ '&nbsp;&nbsp; <b>Event type:</b> ' +
70
+ messageData.type
71
+ )
72
+ }
73
+
74
+ # --------------------------------------------------------------------------
75
+ # Documind iframe
76
+ #
77
+ - iframe:
78
+ enabled: true
79
+
80
+ id: documind
81
+ inject_contentWindowScript: true
82
+
83
+ # ------------------------------------------------------------------------
84
+ # iframe (HTML) attributes
85
+ # ------------------------------------------------------------------------
86
+ #
87
+ attributes:
88
+ loading: lazy
89
+ src: /pages/public/tools/previewer/iframer_documents/iframe.docsearch.info.html
90
+ title: ""
91
+ allowtransparency: true
92
+ style: "background: #FAFAFA;"
93
+ height: 600
94
+ width: 100%
95
+
96
+ # ------------------------------------------------------------------------
97
+ # iFramer (module) options
98
+ # ------------------------------------------------------------------------
99
+ options:
100
+ checkOrigin: false
101
+
102
+ # ------------------------------------------------------------------------------
103
+ # END config