j1-template 2024.0.0 → 2024.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apps/public/cc/cc.yml +35 -33
- data/assets/data/cookieconsent.html +15 -106
- data/assets/data/docsearch.html +155 -0
- data/assets/data/iframes.html +96 -0
- data/assets/data/quicklinks.html +10 -0
- data/assets/data/speak2me.html +4 -3
- data/assets/data/translator.html +27 -147
- data/assets/themes/j1/adapter/js/{chat.js → chatbot.js} +20 -18
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/docsearch.js +270 -0
- data/assets/themes/j1/adapter/js/gallery.js +1 -1
- data/assets/themes/j1/adapter/js/iframer.js +350 -0
- data/assets/themes/j1/adapter/js/j1.js +16 -21
- data/assets/themes/j1/adapter/js/mmenu.js +1 -1
- data/assets/themes/j1/adapter/js/navigator.js +4 -0
- data/assets/themes/j1/adapter/js/rouge.js +1 -1
- data/assets/themes/j1/adapter/js/speak2me.js +2 -2
- data/assets/themes/j1/adapter/js/translator.js +5 -0
- data/assets/themes/j1/core/css/animate.css +4 -4
- data/assets/themes/j1/core/css/animate.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +19 -7
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/{chatgpt → chatbot}/css/theme/uno.css +10 -0
- data/assets/themes/j1/modules/chatbot/css/theme/uno.min.css +16 -0
- data/assets/themes/j1/modules/iframeResizer/LICENSE +1 -1
- data/assets/themes/j1/modules/iframeResizer/README.md +105 -0
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.absolute.html +12 -11
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.content.html +22 -28
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.hover.html +9 -8
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.nested.html +12 -12
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.textarea.html +6 -8
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/frame.tolerance.html +11 -11
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/index.html +43 -19
- data/assets/themes/j1/modules/iframeResizer/{examples → example}/two.html +8 -11
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +84 -68
- data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -8
- data/assets/themes/j1/modules/iframeResizer/js/resizer.js +149 -72
- data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +11 -7
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/{chat.yml → chatbots.yml} +2 -2
- data/lib/starter_web/_data/modules/defaults/{chat.yml → chatbots.yml} +2 -2
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -75
- data/lib/starter_web/_data/modules/defaults/docsearch.yml +87 -0
- data/lib/starter_web/_data/modules/defaults/{framer.yml → iframer.yml} +56 -21
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
- data/lib/starter_web/_data/modules/defaults/translator.yml +11 -52
- data/lib/starter_web/_data/modules/{framer.yml → docsearch.yml} +20 -9
- data/lib/starter_web/_data/modules/iframer.yml +103 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +39 -1
- data/lib/starter_web/_data/resources.yml +41 -19
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/iframe-block.rb +46 -0
- data/lib/starter_web/_plugins/index/lunr.rb +3 -2
- data/lib/starter_web/package.json +74 -75
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +1 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +1 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +1 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +4 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.bat +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/a2p.sh +2 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.a2p +5 -9
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.pdf +27727 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/features/general.adoc +1 -1
- data/lib/starter_web/pages/public/features/template.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.hover.html +69 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.nested.html +75 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/frame.textarea.html +57 -0
- data/lib/starter_web/pages/public/tools/previewer/_includes/documents/my.content.html +112 -0
- data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.content.html +51 -0
- data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.docsearch.info.html +84 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_docsearch.adoc +92 -0
- data/lib/starter_web/pages/public/tools/previewer/preview_iframer.adoc +106 -0
- metadata +34 -25
- data/assets/themes/j1/adapter/js/framer.js +0 -237
- data/assets/themes/j1/modules/chat/css/theme/uno.css +0 -92
- data/assets/themes/j1/modules/chat/css/theme/uno.min.css +0 -16
- data/assets/themes/j1/modules/chatgpt/css/theme/uno.min.css +0 -16
- data/lib/starter_web/_data/_defaults/private.yml +0 -129
- data/lib/starter_web/_data/modules/nbinteract.yml +0 -476
- data/lib/starter_web/utilsrv/_defaults/package.json +0 -57
- data/lib/starter_web/utilsrv/package.json +0 -57
- data/lib/starter_web/utilsrv/server.js +0 -775
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d63ed7a43ad87cad87d6198b3557391c4489d81a601b41c10ad634761249663a
|
4
|
+
data.tar.gz: ea39aac98ac4276cd52be94887793fd708db7cc4801a7aafc41130d11e3d70e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f615ff95d223346c4a8da7c7bdceaa04b629011b12ccb63ddd9a0cb0e852f4b77af22a36554ef1879e62fc7bfc1242bda781fcefa17a712becfb51a84a32fa70
|
7
|
+
data.tar.gz: 7ecb7ff7d71ce80e28ffd9fe7fd4d72f4d0611903bde8c652efb15b7e563bd02be36a5a6f23f4984799f1a97285b743591bad2fe2ea5c8477e1a083fa43f30c7
|
data/apps/public/cc/cc.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# ------------------------------------------------------------------------------
|
2
|
-
# ~/
|
2
|
+
# ~/apps/public/cc/cc.yml
|
3
3
|
# Netlify CMS configuration for J1 Theme
|
4
4
|
#
|
5
5
|
# Product/Info:
|
@@ -10,52 +10,53 @@
|
|
10
10
|
# J1 Template is licensed under the MIT License.
|
11
11
|
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
12
12
|
# ------------------------------------------------------------------------------
|
13
|
+
# NOTE: If 'localhost' is used, the base_url (external OAuth Client)
|
14
|
+
# in the backend settings could be set to an 'empty string'
|
15
|
+
# ------------------------------------------------------------------------------
|
13
16
|
|
14
17
|
# ==============================================================================
|
15
|
-
#
|
18
|
+
# global settings
|
16
19
|
#
|
17
20
|
|
18
21
|
# ------------------------------------------------------------------------------
|
19
|
-
#
|
22
|
+
# backend settings (Repo)
|
20
23
|
#
|
21
24
|
# publish_mode: editorial_workflow
|
22
25
|
#
|
23
26
|
backend:
|
24
27
|
# git-gateway
|
25
28
|
name: github
|
26
|
-
# path to your GitHub repository (w/o https://github.com/)
|
27
|
-
repo:
|
29
|
+
# path to your 'GitHub' repository (w/o https://github.com/)
|
30
|
+
repo: jekyll-one-org/J1 Theme
|
28
31
|
# e.g master | develop
|
29
|
-
branch:
|
30
|
-
# url of 'external' oauth client (e.g. j1 utility server at: http://localhost:44444)
|
32
|
+
branch: master
|
33
|
+
# url of 'external' oauth client (e.g. j1 utility server at: http://localhost:44444)
|
31
34
|
# base_url: http://localhost:44444 # web
|
32
35
|
# base_url: http://localhost:5000 # app
|
33
|
-
# base_url: http:/your.domain:port # app
|
34
|
-
# NOTE: for domain localhost, baseurl could be set to EMPTY
|
35
36
|
base_url:
|
36
37
|
|
37
38
|
# ------------------------------------------------------------------------------
|
38
|
-
#
|
39
|
+
# site (production) settings
|
39
40
|
#
|
40
|
-
# logo_url:
|
41
|
-
# site_url:
|
42
|
-
# display_url:
|
41
|
+
# logo_url: http://localhost:5000/assets/images/icons/j1/scalable/j1.svg
|
42
|
+
# site_url: http://localhost:5000/
|
43
|
+
# display_url: http://localhost:5000/
|
43
44
|
#
|
44
45
|
show_preview_links: false
|
45
46
|
|
46
47
|
# ------------------------------------------------------------------------------
|
47
|
-
#
|
48
|
+
# media (asset) settings
|
48
49
|
#
|
49
50
|
# media_library:
|
50
51
|
# name: uploadcare
|
51
52
|
# config:
|
52
53
|
# publicKey: demopublickey
|
53
54
|
#
|
54
|
-
media_folder: /assets/images/public
|
55
|
-
public_folder: /assets/uploads/
|
55
|
+
media_folder: packages/300_theme_src/assets/images/public
|
56
|
+
public_folder: packages/300_theme_src/assets/uploads/
|
56
57
|
|
57
58
|
# ------------------------------------------------------------------------------
|
58
|
-
#
|
59
|
+
# file (name) settings
|
59
60
|
#
|
60
61
|
# The slug option allows you to change how filenames for entries are
|
61
62
|
# created and sanitized. For modifying the actual data in a slug, see
|
@@ -67,29 +68,28 @@ slug:
|
|
67
68
|
sanitize_replacement: "_"
|
68
69
|
|
69
70
|
|
70
|
-
|
71
71
|
# ==============================================================================
|
72
|
-
#
|
72
|
+
# collection (files and folders) settings
|
73
73
|
#
|
74
74
|
collections:
|
75
75
|
|
76
76
|
# ----------------------------------------------------------------------------
|
77
|
-
#
|
77
|
+
# site configuration
|
78
78
|
#
|
79
79
|
- label: Site Configuration
|
80
|
-
name: site_config
|
80
|
+
name: site_config # Used in routes, e.g., /admin/collections/blog
|
81
81
|
files:
|
82
82
|
|
83
83
|
# ------------------------------------------------------------------------
|
84
|
-
#
|
84
|
+
# global site configuration
|
85
85
|
#
|
86
86
|
- label: Global Settings
|
87
87
|
name: global_site_config
|
88
|
-
file: _cc_test_data/_config.yml
|
88
|
+
file: packages/400_theme_site/_cc_test_data/_config.yml
|
89
89
|
fields:
|
90
90
|
|
91
91
|
# --------------------------------------------------------------------
|
92
|
-
#
|
92
|
+
# about (used for J1 CC only)
|
93
93
|
#
|
94
94
|
- label: about
|
95
95
|
name: about_config
|
@@ -526,7 +526,7 @@ collections:
|
|
526
526
|
#
|
527
527
|
- label: Resource Settings
|
528
528
|
name: site_resource_settings
|
529
|
-
file: _cc_test_data/_data/resources.yml
|
529
|
+
file: packages/400_theme_site/_cc_test_data/_data/resources.yml
|
530
530
|
fields:
|
531
531
|
|
532
532
|
# --------------------------------------------------------------------
|
@@ -613,7 +613,7 @@ collections:
|
|
613
613
|
#
|
614
614
|
- label: Banner Settings
|
615
615
|
name: banner_settings
|
616
|
-
file: _cc_test_data/_data/blocks/banner.yml
|
616
|
+
file: packages/400_theme_site/_cc_test_data/_data/blocks/banner.yml
|
617
617
|
fields:
|
618
618
|
|
619
619
|
# --------------------------------------------------------------------
|
@@ -817,7 +817,7 @@ collections:
|
|
817
817
|
#
|
818
818
|
- label: Panel Settings
|
819
819
|
name: panel_settings
|
820
|
-
file: _cc_test_data/_data/blocks/panel.yml
|
820
|
+
file: packages/400_theme_site/_cc_test_data/_data/blocks/panel.yml
|
821
821
|
fields:
|
822
822
|
|
823
823
|
# --------------------------------------------------------------------
|
@@ -1015,7 +1015,7 @@ collections:
|
|
1015
1015
|
#
|
1016
1016
|
- label: Footer Settings
|
1017
1017
|
name: footer_settings
|
1018
|
-
file: _cc_test_data/_data/blocks/footer.yml
|
1018
|
+
file: packages/400_theme_site/_cc_test_data/_data/blocks/footer.yml
|
1019
1019
|
fields:
|
1020
1020
|
|
1021
1021
|
# --------------------------------------------------------------------
|
@@ -1196,7 +1196,7 @@ collections:
|
|
1196
1196
|
#
|
1197
1197
|
- label: J1 Cookie Consent
|
1198
1198
|
name: config_cookie_consent
|
1199
|
-
file: _cc_test_data/_data/modules/cookie_consent.yml
|
1199
|
+
file: packages/400_theme_site/_cc_test_data/_data/modules/cookie_consent.yml
|
1200
1200
|
fields:
|
1201
1201
|
|
1202
1202
|
# --------------------------------------------------------------------
|
@@ -1261,7 +1261,7 @@ collections:
|
|
1261
1261
|
#
|
1262
1262
|
- label: J1 Jekyll Search
|
1263
1263
|
name: config_jekyll_search
|
1264
|
-
file: _cc_test_data/_data/modules/jekyll_search.yml
|
1264
|
+
file: packages/400_theme_site/_cc_test_data/_data/modules/jekyll_search.yml
|
1265
1265
|
fields:
|
1266
1266
|
|
1267
1267
|
# --------------------------------------------------------------------
|
@@ -1301,7 +1301,7 @@ collections:
|
|
1301
1301
|
#
|
1302
1302
|
- label: J1 Navigation
|
1303
1303
|
name: config_navigation
|
1304
|
-
file: _cc_test_data/_data/modules/navigator.yml
|
1304
|
+
file: packages/400_theme_site/_cc_test_data/_data/modules/navigator.yml
|
1305
1305
|
fields:
|
1306
1306
|
|
1307
1307
|
# --------------------------------------------------------------------
|
@@ -1489,7 +1489,7 @@ collections:
|
|
1489
1489
|
#
|
1490
1490
|
- label: J1 Back2Top
|
1491
1491
|
name: config_back2top
|
1492
|
-
file: _cc_test_data/_data/modules/back2top.yml
|
1492
|
+
file: packages/400_theme_site/_cc_test_data/_data/modules/back2top.yml
|
1493
1493
|
fields:
|
1494
1494
|
|
1495
1495
|
# --------------------------------------------------------------------
|
@@ -1539,7 +1539,7 @@ collections:
|
|
1539
1539
|
#
|
1540
1540
|
- label: J1 WebHook
|
1541
1541
|
name: config_webhook
|
1542
|
-
file: _cc_test_data/_data/modules/webhook.yml
|
1542
|
+
file: packages/400_theme_site/_cc_test_data/_data/modules/webhook.yml
|
1543
1543
|
fields:
|
1544
1544
|
|
1545
1545
|
# --------------------------------------------------------------------
|
@@ -1643,5 +1643,7 @@ collections:
|
|
1643
1643
|
- { label: response success, name: response_success, widget: string, hint: Response send if built script finishes successfully }
|
1644
1644
|
- { label: response failed, name: response_failed, widget: string, hint: Response send if Built script failed }
|
1645
1645
|
|
1646
|
+
|
1647
|
+
|
1646
1648
|
# ------------------------------------------------------------------------------
|
1647
1649
|
# END config
|
@@ -63,36 +63,39 @@ exclude_from_search: true
|
|
63
63
|
<meta name="robots" content="noindex, nofollow">
|
64
64
|
</head>
|
65
65
|
|
66
|
-
{% comment %} i18n: translations
|
67
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
68
66
|
|
69
|
-
{% comment %} Modal
|
67
|
+
{% comment %} Modal Cookie Consent
|
70
68
|
-------------------------------------------------------------------------------- {% endcomment %}
|
69
|
+
|
71
70
|
<div id="consent-data-en">
|
72
71
|
<div id="modal-consent-en" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
|
73
72
|
<div class="modal-content">
|
74
73
|
|
75
74
|
<div class="modal-header">
|
76
|
-
<p class="lead">{{consent_options.modal_settings.title
|
75
|
+
<p class="lead">{{consent_options.modal_settings.title}}</p>
|
77
76
|
</div>
|
78
77
|
|
79
|
-
<div class="
|
80
|
-
|
81
|
-
<p>{{consent_options.modal_settings.body_text.en}}</p>
|
82
|
-
</div>
|
78
|
+
<div class="container mt-4">
|
79
|
+
|
83
80
|
<p>
|
84
81
|
<a href="#bccs-privacy" data-bs-toggle="collapse" class="">Privacy Notice</a>
|
85
82
|
<a href="#bccs-options" data-bs-toggle="collapse" class="float-right">My Settings</a>
|
86
83
|
</p>
|
87
84
|
|
85
|
+
<div class="bccs-body-text r-text-300">
|
86
|
+
<p>{{consent_options.modal_settings.body_text}}</p>
|
87
|
+
</div>
|
88
|
+
|
88
89
|
<div id="bccs-privacy" class="collapse">
|
89
|
-
<
|
90
|
-
|
90
|
+
<p class="tagline mt-4 mb-1"><b>Privacy Notice</b></p>
|
91
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
92
|
+
<div class="bccs-body-text r-text-200">
|
93
|
+
<p>{{consent_options.modal_settings.privacy_notice}}</p>
|
91
94
|
</div>
|
92
95
|
</div>
|
93
96
|
|
94
97
|
<div id="bccs-options" class="collapse">
|
95
|
-
<p class="tagline mt-4 mb-1"><b>Settings</b></p>
|
98
|
+
<p class="tagline mt-4 mb-1"><b>My Settings</b></p>
|
96
99
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
97
100
|
|
98
101
|
<div class="bccs-option" data-name="necessary">
|
@@ -159,101 +162,7 @@ exclude_from_search: true
|
|
159
162
|
</div>
|
160
163
|
</div>
|
161
164
|
|
162
|
-
{% comment %} END Modal
|
163
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
164
|
-
|
165
|
-
{% comment %} Modal cookie consent dialog (de-DE)
|
166
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
167
|
-
<div id="consent-data-de">
|
168
|
-
<div id="modal-consent-de" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
|
169
|
-
<div class="modal-content">
|
170
|
-
|
171
|
-
<div class="modal-header">
|
172
|
-
<p class="lead">{{consent_options.modal_settings.title.de}}</p>
|
173
|
-
</div>
|
174
|
-
|
175
|
-
<div class="modal-body">
|
176
|
-
<div class="bccs-body-text" style="font-size: 90%">
|
177
|
-
<p>{{consent_options.modal_settings.body_text.de}}</p>
|
178
|
-
</div>
|
179
|
-
<p>
|
180
|
-
<a href="#bccs-privacy" data-bs-toggle="collapse" class="">Datenschutzerklärung</a>
|
181
|
-
<a href="#bccs-options" data-bs-toggle="collapse" class="float-right">Meine Einstellungen</a>
|
182
|
-
</p>
|
183
|
-
|
184
|
-
<div id="bccs-privacy" class="collapse">
|
185
|
-
<div class="bccs-body-text" style="font-size: 90%">
|
186
|
-
<p>{{consent_options.modal_settings.privacy_notice.de}}</p>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div id="bccs-options" class="collapse">
|
191
|
-
<p class="tagline mt-4 mb-1"><b>Einstellungen</b></p>
|
192
|
-
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
193
|
-
|
194
|
-
<div class="bccs-option" data-name="necessary">
|
195
|
-
<div class="switch">
|
196
|
-
<label>
|
197
|
-
<input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" checked disabled>
|
198
|
-
<span class="bmd-switch-track"></span>
|
199
|
-
Notwendig
|
200
|
-
</label>
|
201
|
-
<ul>
|
202
|
-
<li style="list-style-type: none;">Zum Betrieb der Website erforderlich</li>
|
203
|
-
</ul>
|
204
|
-
</div>
|
205
|
-
</div>
|
206
|
-
<div class="bccs-option" data-name="analysis">
|
207
|
-
<div class="switch">
|
208
|
-
<label>
|
209
|
-
<input id="bccs-checkboxAnalysis" type="checkbox" name="bccs-checkboxAnalysis" checked>
|
210
|
-
<span class="bmd-switch-track"></span>
|
211
|
-
Analysen
|
212
|
-
</label>
|
213
|
-
<ul>
|
214
|
-
<li style="list-style-type: none;">Nutzungsüberwachung für diese Website</li>
|
215
|
-
<li style="list-style-type: none;">Optimierung der Leistung für diese Website</li>
|
216
|
-
<li style="list-style-type: none;">Optimierung des Inhalts für alle Besucher</li>
|
217
|
-
</ul>
|
218
|
-
</div>
|
219
|
-
</div>
|
220
|
-
<div class="bccs-option" data-name="personalization">
|
221
|
-
<div class="switch">
|
222
|
-
<label>
|
223
|
-
<input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked>
|
224
|
-
<span class="bmd-switch-track"></span>
|
225
|
-
Personalisierung
|
226
|
-
</label>
|
227
|
-
<ul>
|
228
|
-
<li style="list-style-type: none;">Ermöglichen von Übersetzungen </li>
|
229
|
-
<li style="list-style-type: none;">Nutzung von Werbediensten (Anzeigen)</li>
|
230
|
-
<li style="list-style-type: none;">Speicherung Ihrer Präferenzen aus frühreren Besuchen</li>
|
231
|
-
<li style="list-style-type: none;">Nutzung von Benutzer-Feedback (Kommentare) zum Austasch und für Verbesserungen</li>
|
232
|
-
</ul>
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
<div class="modal-footer">
|
239
|
-
<button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
|
240
|
-
Ich bin nicht einverstanden
|
241
|
-
</button>
|
242
|
-
<button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
|
243
|
-
Ich bin Einverstanden
|
244
|
-
</button>
|
245
|
-
<button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
|
246
|
-
Auswahl speichern
|
247
|
-
</button>
|
248
|
-
<button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
|
249
|
-
Allen zustimmen
|
250
|
-
</button>
|
251
|
-
</div>
|
252
|
-
|
253
|
-
</div>
|
254
|
-
</div>
|
255
|
-
</div>
|
256
|
-
{% comment %} END Modal cookie consent dialog (de-DE)
|
165
|
+
{% comment %} END Modal Cookie Consent
|
257
166
|
-------------------------------------------------------------------------------- {% endcomment %}
|
258
167
|
|
259
168
|
{% endcapture %}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
exclude_from_search: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{% capture cache %}
|
7
|
+
|
8
|
+
{% comment %}
|
9
|
+
# -----------------------------------------------------------------------------
|
10
|
+
# ~/assets/data/docsearch.html
|
11
|
+
# Liquid PROCEDURE to generate the HTML (data) portion of modal used
|
12
|
+
# by the J1 DocSearch integration
|
13
|
+
#
|
14
|
+
# Product/Info:
|
15
|
+
# https://jekyll.one
|
16
|
+
#
|
17
|
+
# Copyright (C) 2023, 2024 Juergen Adams
|
18
|
+
#
|
19
|
+
# J1 Template is licensed under the MIT License.
|
20
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
# Test data:
|
23
|
+
# liquid_var: {{ liquid_var | debug }}
|
24
|
+
# config: {{ config | debug }}
|
25
|
+
# -----------------------------------------------------------------------------
|
26
|
+
{% endcomment %}
|
27
|
+
|
28
|
+
{% comment %} Liquid procedures
|
29
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
|
31
|
+
{% comment %} Set global settings
|
32
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
33
|
+
{% assign environment = site.environment %}
|
34
|
+
|
35
|
+
{% comment %} Set config files
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
{% assign modules = site.data.modules %}
|
38
|
+
|
39
|
+
{% comment %} Process YML config data
|
40
|
+
================================================================================ {% endcomment %}
|
41
|
+
|
42
|
+
{% comment %} Set config files
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
+
{% assign docsearch_defaults = modules.defaults.docsearch.defaults %}
|
45
|
+
{% assign docsearch_settings = modules.docsearch.settings %}
|
46
|
+
|
47
|
+
{% comment %} Set config options
|
48
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
49
|
+
{% assign docsearch_options = docsearch_defaults | merge: docsearch_settings %}
|
50
|
+
|
51
|
+
{% comment %} Detect prod mode
|
52
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
53
|
+
{% assign production = false %}
|
54
|
+
{% if environment == 'prod' or environment == 'production' %}
|
55
|
+
{% assign production = true %}
|
56
|
+
{% endif %}
|
57
|
+
|
58
|
+
|
59
|
+
{% comment %} Main
|
60
|
+
================================================================================ {% endcomment %}
|
61
|
+
<!-- [INFO ] [~/assets/data/docsearch.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
62
|
+
<head>
|
63
|
+
<meta name="robots" content="noindex, nofollow">
|
64
|
+
</head>
|
65
|
+
|
66
|
+
|
67
|
+
{% comment %} Modal DocSearch
|
68
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
69
|
+
|
70
|
+
<!-- start modal container -->
|
71
|
+
<div id="docsearch-modal-data">
|
72
|
+
|
73
|
+
{% assign provider = docsearch_options.provider_settings.provider_id %}
|
74
|
+
{% assign provider_id = docsearch_options.provider_settings.bot_id %}
|
75
|
+
{% if provider == "documind" %}
|
76
|
+
{% capture iframe_source %}https://documind.chat/dashboard/sharing/{{provider_id}}{% endcapture %}
|
77
|
+
{% else %}
|
78
|
+
{% capture iframe_source %}{% endcapture %}
|
79
|
+
{% endif %}
|
80
|
+
|
81
|
+
<!-- start modal -->
|
82
|
+
<div id="docsearch-modal"
|
83
|
+
class="modal-dialog modal-frame modal-top modal-notify modal-primary"
|
84
|
+
data-bs-backdrop="static"
|
85
|
+
data-bs-keyboard="false"
|
86
|
+
tabindex="-1" role="document">
|
87
|
+
|
88
|
+
<!-- start modal content -->
|
89
|
+
<div class="modal-content">
|
90
|
+
|
91
|
+
<div class="modal-header">
|
92
|
+
<p class="lead">{{docsearch_options.dialog_settings.modal_settings.title}}</p>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<!-- start modal body -->
|
96
|
+
<div class="container mt-4">
|
97
|
+
|
98
|
+
<p style="margin-top: 0; margin-bottom: 1rem !important;">
|
99
|
+
<a href="#bccs-privacy" data-bs-toggle="collapse">Privacy Notice</a>
|
100
|
+
</p>
|
101
|
+
|
102
|
+
<div class="bccs-body-text r-text-300">
|
103
|
+
<p style="margin-bottom: 1rem !important;">{{docsearch_options.dialog_settings.modal_settings.body_text}}</p>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
<div id="bccs-privacy" class="collapse">
|
107
|
+
<div class="bccs-body-text r-text-200">
|
108
|
+
<p class="tagline mt-4 mb-1"><b>Privacy Notice</b></p>
|
109
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
|
110
|
+
<p>{{docsearch_options.dialog_settings.modal_settings.privacy_notice}}</p>
|
111
|
+
</div>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
<iframe
|
115
|
+
src="{{iframe_source}}"
|
116
|
+
title="{{docsearch_options.bot_settings.iframe.title}}"
|
117
|
+
allowtransparency="true"
|
118
|
+
style="{{docsearch_options.bot_settings.iframe.style}}"
|
119
|
+
scrolling="{{docsearch_options.bot_settings.iframe.scrolling}}"
|
120
|
+
height="{{docsearch_options.bot_settings.iframe.height}}"
|
121
|
+
width="{{docsearch_options.bot_settings.iframe.width}}">
|
122
|
+
</iframe>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div class="modal-footer">
|
126
|
+
|
127
|
+
<button
|
128
|
+
id="translator-buttonExit"
|
129
|
+
type="button"
|
130
|
+
class="btn btn-warning mb-1 mr-2"
|
131
|
+
style="min-width: 10rem"
|
132
|
+
data-bs-dismiss="modal">
|
133
|
+
Close
|
134
|
+
</button>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
<!-- end modal body -->
|
138
|
+
</div>
|
139
|
+
<!-- end modal content -->
|
140
|
+
</div>
|
141
|
+
<!-- end modal -->
|
142
|
+
</div>
|
143
|
+
<!-- end modal container -->
|
144
|
+
|
145
|
+
{% comment %} END Modal DocSearch
|
146
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
147
|
+
|
148
|
+
{% endcapture %}
|
149
|
+
|
150
|
+
{% if production %}
|
151
|
+
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
152
|
+
{% else %}
|
153
|
+
{{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
154
|
+
{% endif %}
|
155
|
+
{% assign cache = nil %}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
exclude_from_search: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{% capture cache %}
|
7
|
+
|
8
|
+
{% comment %}
|
9
|
+
# -----------------------------------------------------------------------------
|
10
|
+
# ~/assets/data/iframes.html
|
11
|
+
# Liquid procedure to generate the HTML portion for all iframes
|
12
|
+
# configured (iFramer)
|
13
|
+
#
|
14
|
+
# Product/Info:
|
15
|
+
# https://jekyll.one
|
16
|
+
#
|
17
|
+
# Copyright (C) 2023, 2024 Juergen Adams
|
18
|
+
#
|
19
|
+
# J1 Template is licensed under the MIT License.
|
20
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
# NOTE: Data loaded dynamically by J1 iFramer module (AJAX)
|
23
|
+
# -----------------------------------------------------------------------------
|
24
|
+
# Test data:
|
25
|
+
# {{variable | debug}}
|
26
|
+
# -----------------------------------------------------------------------------
|
27
|
+
{% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Liquid procedures (currently unused)
|
30
|
+
--------------------------------------------------------------------------------
|
31
|
+
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
32
|
+
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
33
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Liquid var initialization
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
|
38
|
+
{% comment %} Set config files
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% assign template_config = site.data.j1_config %}
|
41
|
+
{% assign modules = site.data.modules %}
|
42
|
+
|
43
|
+
{% comment %} Set config data
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign environment = site.environment %}
|
46
|
+
{% assign iframer_defaults = modules.defaults.iframer.defaults %}
|
47
|
+
{% assign iframer_settings = modules.iframer.settings %}
|
48
|
+
|
49
|
+
{% comment %} Set config options
|
50
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
+
{% assign iframer_options = iframer_defaults | merge: iframer_settings %}
|
52
|
+
{% assign iframes = iframer_options.iframes %}
|
53
|
+
|
54
|
+
{% comment %} Configure permalink settings
|
55
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
56
|
+
{% assign ext = '' %}
|
57
|
+
{% if site.permalink == 'none' %}
|
58
|
+
{% assign ext = '.html' %}
|
59
|
+
{% endif %}
|
60
|
+
|
61
|
+
{% comment %} Detect prod mode
|
62
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
63
|
+
{% assign production = false %}
|
64
|
+
{% if environment == 'prod' or environment == 'production' %}
|
65
|
+
{% assign production = true %}
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% comment %} Main
|
69
|
+
================================================================================ {% endcomment %}
|
70
|
+
<!-- [INFO ] [~/assets/data/iframes.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
71
|
+
<head>
|
72
|
+
<meta name="robots" content="noindex, nofollow">
|
73
|
+
</head>
|
74
|
+
|
75
|
+
{% comment %} iframes {{iframes | debug}} {% endcomment %}
|
76
|
+
|
77
|
+
{% comment %} Collect iFrames
|
78
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
79
|
+
<!-- [INFO ] [~/assets/data/iframes.html ] [ start collecting all iframes items ]-->
|
80
|
+
{% for iframe in iframes %} {% if iframe.enabled %}
|
81
|
+
<iframe id="{{iframe.id}}"
|
82
|
+
{% for attribute in iframe.attributes %}
|
83
|
+
{{attribute[0]}}="{{attribute[1]}}"{% if forloop.last %}>{% else %}{% endif %}
|
84
|
+
{% endfor %}
|
85
|
+
</iframe>
|
86
|
+
{% endif %} {% endfor %}
|
87
|
+
<!--!-- [INFO ] [~/assets/data/iframes.html ] [ end collecting all iframes items ] -->
|
88
|
+
|
89
|
+
{% endcapture %}
|
90
|
+
|
91
|
+
{% if production %}
|
92
|
+
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
93
|
+
{% else %}
|
94
|
+
{{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
95
|
+
{% endif %}
|
96
|
+
{% assign cache = nil %}
|