j1-template 2024.1.0 → 2024.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +1 -1
  3. data/assets/data/banner.html +4 -4
  4. data/assets/data/cookieconsent.html +270 -175
  5. data/assets/data/galeries.html +1 -1
  6. data/assets/data/iso-639-language-codes-flags.json +179 -169
  7. data/assets/data/masonry.html +18 -12
  8. data/assets/data/translator.html +124 -0
  9. data/assets/themes/j1/adapter/js/comments.js +420 -418
  10. data/assets/themes/j1/adapter/js/cookieConsent.js +462 -451
  11. data/assets/themes/j1/adapter/js/gallery.js +11 -0
  12. data/assets/themes/j1/adapter/js/j1.js +32 -18
  13. data/assets/themes/j1/adapter/js/translator.js +2 -0
  14. data/assets/themes/j1/core/js/template.js +147 -95
  15. data/assets/themes/j1/core/js/template.min.js +5 -5
  16. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  17. data/assets/themes/j1/modules/comments/hyvor/css/hyvor.css +2105 -0
  18. data/assets/themes/j1/modules/comments/hyvor/css/themes/uno.css +18 -0
  19. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +8 -2
  20. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -1
  21. data/assets/themes/j1/modules/lightGallery/js/lightgallery.js +116 -101
  22. data/assets/themes/j1/modules/lightGallery/js/lightgallery.min.js +2 -1
  23. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +65 -21
  24. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +9 -2
  25. data/assets/themes/j1/modules/msDropdown/js/msDropdown.js +1 -1
  26. data/assets/themes/j1/modules/msDropdown/js/msDropdown.min.js +4 -1
  27. data/assets/themes/j1/modules/tiktocPlayer/js/player.min.js +18 -0
  28. data/assets/themes/j1/modules/translator/js/translator.js +91 -80
  29. data/assets/themes/j1/modules/translator/js/translator.min.js +2 -1
  30. data/lib/j1/version.rb +1 -1
  31. data/lib/starter_web/README.md +5 -5
  32. data/lib/starter_web/_config.yml +1 -1
  33. data/lib/starter_web/_data/blocks/banner.yml +1 -1
  34. data/lib/starter_web/_data/layouts/collection.yml +6 -6
  35. data/lib/starter_web/_data/layouts/default.yml +6 -6
  36. data/lib/starter_web/_data/layouts/home.yml +2 -2
  37. data/lib/starter_web/_data/layouts/news_panel_posts.yml +6 -6
  38. data/lib/starter_web/_data/layouts/page.yml +6 -6
  39. data/lib/starter_web/_data/layouts/post.yml +6 -6
  40. data/lib/starter_web/_data/layouts/raw.yml +6 -6
  41. data/lib/starter_web/_data/modules/analytics.yml +1 -1
  42. data/lib/starter_web/_data/modules/comments.yml +4 -1
  43. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -2
  44. data/lib/starter_web/_data/modules/defaults/comments.yml +0 -6
  45. data/lib/starter_web/_data/modules/defaults/cookieconsent.de.yml +104 -0
  46. data/lib/starter_web/_data/modules/defaults/cookieconsent.en.yml +104 -0
  47. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -8
  48. data/lib/starter_web/_data/modules/defaults/lunr.yml +2 -2
  49. data/lib/starter_web/_data/modules/defaults/translator.en.yml +138 -0
  50. data/lib/starter_web/_data/modules/defaults/translator.yml +22 -20
  51. data/lib/starter_web/_data/modules/gallery.yml +416 -266
  52. data/lib/starter_web/_data/resources.yml +28 -2
  53. data/lib/starter_web/_data/templates/feed.xml +1 -1
  54. data/lib/starter_web/_plugins/asciidoctor/audio-block.rb +85 -0
  55. data/lib/starter_web/_plugins/asciidoctor/video-block.rb +1 -1
  56. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +34 -8
  57. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +1 -1
  58. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +1 -1
  59. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +1 -1
  60. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  61. data/lib/starter_web/assets/audio/sound-effects/ambient-piano.mp3 +0 -0
  62. data/lib/starter_web/assets/videos/gallery/gianna_1.jpg +0 -0
  63. data/lib/starter_web/assets/videos/gallery/gianna_2.jpg +0 -0
  64. data/lib/starter_web/assets/videos/gallery/gianna_3.jpg +0 -0
  65. data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
  66. data/lib/starter_web/assets/videos/gallery/solo-sex.jpg +0 -0
  67. data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
  68. data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
  69. data/lib/starter_web/assets/videos/gallery/videojs-poster.png +0 -0
  70. data/lib/starter_web/assets/videos/gallery/voice_kids_nl_2021/video_poster.jpg +0 -0
  71. data/lib/starter_web/assets/videos/vtt/chapters/video1.vtt +8 -0
  72. data/lib/starter_web/package.json +1 -1
  73. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +0 -7
  74. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +24 -7
  75. data/lib/starter_web/pages/public/learn/where_to_go.adoc +5 -1
  76. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +11 -4
  77. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +19 -14
  78. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +17 -12
  79. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +12 -6
  80. metadata +22 -18
  81. data/lib/starter_web/assets/videos/gallery/html5/video1-poster.jpg +0 -0
  82. data/lib/starter_web/assets/videos/gallery/html5/video2-poster.jpg +0 -0
  83. data/lib/starter_web/assets/videos/gallery/html5/303/237video2-poster.jpg +0 -0
  84. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  85. data/lib/starter_web/assets/videos/gallery/video1-poster.1920..jpg +0 -0
  86. data/lib/starter_web/assets/videos/gallery/video1-thumb.jpg +0 -0
  87. data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
  88. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.1920.jpg +0 -0
  89. data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke.1920.jpg +0 -0
  90. /data/lib/starter_web/_data/layouts/custom/{readme → !readme} +0 -0
  91. /data/lib/starter_web/_includes/custom/static/{readme → !readme} +0 -0
  92. /data/lib/starter_web/_includes/custom/templates/{readme → !readme} +0 -0
  93. /data/lib/starter_web/assets/videos/vtt/captions/{readme → !readme} +0 -0
  94. /data/lib/starter_web/assets/videos/vtt/chapters/{readme → !readme} +0 -0
  95. /data/lib/starter_web/assets/videos/vtt/descriptions/{readme → !readme} +0 -0
  96. /data/lib/starter_web/assets/videos/vtt/subtitles/{readme → !readme} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e32efbbcb02102855dcf7cc22b76ec80abac871cab8f6ab321a9665d872bb1f4
4
- data.tar.gz: 9290835cb62814906e644b5e6e85ea185b03aed935e4015f6cd51dff90946c48
3
+ metadata.gz: cb85e62cd36a74afbb1182fe64744fdd7f762c3077d1bf0c402161fbd788c565
4
+ data.tar.gz: 54066b5c317318fc1d911ad935fa5e4ee050ead82f49d467a5f9ecca24cdb308
5
5
  SHA512:
6
- metadata.gz: 77e953cb4008dc16d9f6ab0468e91a3c8e2eaa23972848b3635243d70a61bd038b8a61ba573c169030bbb4fb935212a1f75331bdd9c14f80fb877f2282dd6a7a
7
- data.tar.gz: 7cbdad787c348114c06836e6de43b5e8bb763fa0ba6d873656a13e73338f675654369d8a9be70974986c3ed88ffea1b8cc9fd7568c490bb169a2f65cf2f8bb5a
6
+ metadata.gz: 52f6462837d7dc98a8664d19118bceaabdd0cd755f8cf34c5061b920677da5e61f52dc89c1a826fe89352a71ab338a12194acacd42bb42b045a87cb312d581e0
7
+ data.tar.gz: 64293f3a4de9b27731a788e4f352515dfd5020b5d28e0ea8f69bafdb3a09b92dcd953a5c4b0f7f1686d6094c771f359fad914c1eef138bfca6fd00169e15ec65
@@ -102,7 +102,7 @@
102
102
  <div class="bmd-form-group">
103
103
  <div class="input-group">
104
104
  <span class="input-group-addon"><i class="mdib mdib-magnify mdib-2x mb-2" style="color:#9E9E9E"></i></span>
105
- <input id="search-query" type="text" name="q" placeholder="Your search expression" autocomplete="off" class="form-control">
105
+ <input id="search-query" type="text" name="q" placeholder="{{placeholder}}" autocomplete="off" class="form-control">
106
106
  <!-- span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 0.75rem"> <i class="mdib mdib-format-clear mdib-2x" style="color:#9E9E9E"></i> </span -->
107
107
  <span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 1.15rem"> <i class="mdib mdib-format-clear mdib-24px" style="color:#9E9E9E"></i> </span>
108
108
  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="margin-top: 24px;"></button>
@@ -449,10 +449,10 @@ exclude_from_search: true
449
449
  </style>
450
450
 
451
451
  <div class="panel-fluid {{banner_settings.properties}}">
452
- <div class="row no-gutters {{banner_settings.id}}-parallax-quote {{banner_settings.id}}-parallaxBg">
453
- <div class="col-md-12 col-xs-12 {{banner_settings.id}}-parallax-quote-in">
454
- {% if card_text %} <p>{{card_text}}</p>{% endif %}
455
- {% if card_text %}<i>{{card_cite}}</i>{% endif %}
452
+ <div class="row no-gutters {{banner_settings.id}}-parallax-quote {{banner_settings.id}}-parallaxBg parallax-quoteblock">
453
+ <div class="col-md-12 col-xs-12 {{banner_settings.id}}-parallax-quote-in quote-text">
454
+ {% if card_text %} <p>{{card_text}}</p> {% endif %}
455
+ {% if card_cite %} <p class="fs-3 text-end"><i>{{card_cite}}</i></p> {% endif %}
456
456
  </div>
457
457
  </div>
458
458
  </div>
@@ -1,175 +1,270 @@
1
- ---
2
- regenerate: true
3
- exclude_from_search: true
4
- ---
5
-
6
- {% capture cache %}
7
-
8
- {% comment %}
9
- # -----------------------------------------------------------------------------
10
- # ~/assets/data/cookieconsent.html
11
- # Liquid PROCEDURE to generate the HTML (data) portion of all modals used
12
- # by J1 Cookie Consent module
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 consent_defaults = modules.defaults.cookieconsent.defaults %}
45
- {% assign consent_settings = modules.cookieconsent.settings %}
46
-
47
- {% comment %} Set config options
48
- -------------------------------------------------------------------------------- {% endcomment %}
49
- {% assign consent_options = consent_defaults | merge: consent_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/cookiebar.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 Cookie Consent
68
- -------------------------------------------------------------------------------- {% endcomment %}
69
-
70
- <div id="consent-data-en">
71
- <div id="modal-consent-en" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
72
- <div class="modal-content">
73
-
74
- <div class="modal-header">
75
- <p class="lead">{{consent_options.modal_settings.title}}</p>
76
- </div>
77
-
78
- <div class="container mt-4">
79
-
80
- <p>
81
- <a href="#bccs-privacy" data-bs-toggle="collapse" class="">Privacy Notice</a>
82
- <a href="#bccs-options" data-bs-toggle="collapse" class="float-right">My Settings</a>
83
- </p>
84
-
85
- <div class="bccs-body-text r-text-300">
86
- <p>{{consent_options.modal_settings.body_text}}</p>
87
- </div>
88
-
89
- <div id="bccs-privacy" class="collapse">
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>
94
- </div>
95
- </div>
96
-
97
- <div id="bccs-options" class="collapse">
98
- <p class="tagline mt-4 mb-1"><b>My Settings</b></p>
99
- <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
100
-
101
- <div class="bccs-option" data-name="necessary">
102
- <div class="switch">
103
- <label>
104
- <input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" checked disabled>
105
- Necessary
106
- <span class="bmd-switch-track"></span>
107
- </label>
108
- <ul>
109
- <li class="mt-2" style="list-style-type: none;">Required to run the website</li>
110
- </ul>
111
- </div>
112
- </div>
113
- <div class="bccs-option" data-name="analysis">
114
- <div class="switch">
115
- <label>
116
- <input id="bccs-checkboxAnalysis" type="checkbox" name="bccs-checkboxAnalysis" checked>
117
- <span class="bmd-switch-track"></span>
118
- Analysis
119
- </label>
120
- <ul>
121
- <li class="mt-2" style="list-style-type: none;">Usage monitoring for this site</li>
122
- <li style="list-style-type: none;">Optimizing of the performance for this site</li>
123
- <li style="list-style-type: none;">Optimizing of content for all visitors</li>
124
- </ul>
125
- </div>
126
- </div>
127
- <div class="bccs-option" data-name="personalization">
128
- <div class="switch">
129
- <label>
130
- <input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked>
131
- <span class="bmd-switch-track"></span>
132
- Personalization (Persistent Cookies)
133
- </label>
134
- <ul>
135
- <li class="mt-2" style="list-style-type: none;">Enable Translation services</li>
136
- <li style="list-style-type: none;">Enable Advertisimg services</li>
137
- <li style="list-style-type: none;">Storage of personal preferences from previous visits</li>
138
- <li style="list-style-type: none;">Enable Comment services to exchange visitor's experiences</li>
139
-
140
- </ul>
141
- </div>
142
- </div>
143
- </div>
144
- </div>
145
-
146
- <div class="modal-footer">
147
- <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
148
- I Do not Agree
149
- </button>
150
- <button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
151
- I Agree
152
- </button>
153
- <button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
154
- Save selection
155
- </button>
156
- <button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
157
- Agree on all
158
- </button>
159
- </div>
160
-
161
- </div>
162
- </div>
163
- </div>
164
-
165
- {% comment %} END Modal Cookie Consent
166
- -------------------------------------------------------------------------------- {% endcomment %}
167
-
168
- {% endcapture %}
169
-
170
- {% if production %}
171
- {% 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 %}
172
- {% else %}
173
- {{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
174
- {% endif %}
175
- {% assign cache = nil %}
1
+ ---
2
+ regenerate: true
3
+ exclude_from_search: true
4
+ ---
5
+
6
+ {% capture cache %}
7
+
8
+ {% comment %}
9
+ # -----------------------------------------------------------------------------
10
+ # ~/assets/data/cookieconsent.html
11
+ # Liquid PROCEDURE to generate the HTML (data) portion of all modals used
12
+ # by J1 Cookie Consent module
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 consent_defaults = modules.defaults.cookieconsent.defaults %}
45
+ {% assign consent_settings = modules.cookieconsent.settings %}
46
+
47
+ {% comment %} Set config options
48
+ -------------------------------------------------------------------------------- {% endcomment %}
49
+ {% assign consent_options = consent_defaults | merge: consent_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/cookieconsent.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 Cookie Consent
68
+ -------------------------------------------------------------------------------- {% endcomment %}
69
+
70
+ <div id="consent-data-en">
71
+ <div id="modal-consent-en" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
72
+ <div class="modal-content">
73
+
74
+ <div class="modal-header">
75
+ <p class="lead">{{consent_options.modal_settings.title}}</p>
76
+ </div>
77
+
78
+ <div class="container mt-4">
79
+
80
+ <p>
81
+ <a href="#bccs-privacy" data-bs-toggle="collapse" class="">Privacy Notice</a>
82
+ <a href="#bccs-options" data-bs-toggle="collapse" class="float-right">My Settings</a>
83
+ </p>
84
+
85
+ <div class="bccs-body-text r-text-300">
86
+ <p>{{consent_options.modal_settings.body_text}}</p>
87
+ </div>
88
+
89
+ <div id="bccs-privacy" class="collapse">
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>
94
+ </div>
95
+ </div>
96
+
97
+ <div id="bccs-options" class="collapse">
98
+ <p class="tagline mt-4 mb-1"><b>My Settings</b></p>
99
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
100
+
101
+ <div class="bccs-option" data-name="necessary">
102
+ <div class="switch">
103
+ <label>
104
+ <input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" checked disabled>
105
+ Necessary
106
+ <span class="bmd-switch-track"></span>
107
+ </label>
108
+ <ul>
109
+ <li class="mt-2" style="list-style-type: none;">Required to run the website</li>
110
+ </ul>
111
+ </div>
112
+ </div>
113
+ <div class="bccs-option" data-name="analysis">
114
+ <div class="switch">
115
+ <label>
116
+ <input id="bccs-checkboxAnalysis" type="checkbox" name="bccs-checkboxAnalysis" checked>
117
+ <span class="bmd-switch-track"></span>
118
+ Analysis
119
+ </label>
120
+ <ul>
121
+ <li class="mt-2" style="list-style-type: none;">Usage monitoring for this site</li>
122
+ <li style="list-style-type: none;">Optimizing of the performance for this site</li>
123
+ <li style="list-style-type: none;">Optimizing of content for all visitors</li>
124
+ </ul>
125
+ </div>
126
+ </div>
127
+ <div class="bccs-option" data-name="personalization">
128
+ <div class="switch">
129
+ <label>
130
+ <input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked>
131
+ <span class="bmd-switch-track"></span>
132
+ Personalization
133
+ </label>
134
+ <ul>
135
+ <li class="mt-2" style="list-style-type: none;">Enable Translation services</li>
136
+ <li style="list-style-type: none;">Enable Advertisimg services</li>
137
+ <li style="list-style-type: none;">Storage of personal preferences from previous visits</li>
138
+ <li style="list-style-type: none;">Enable Comment services to exchange visitor's experiences</li>
139
+
140
+ </ul>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+
146
+ <div class="modal-footer">
147
+ <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
148
+ I Do not Agree
149
+ </button>
150
+ <button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
151
+ I Agree
152
+ </button>
153
+ <button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
154
+ Save selection
155
+ </button>
156
+ <button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
157
+ Agree on all
158
+ </button>
159
+ </div>
160
+
161
+ </div>
162
+ </div>
163
+ </div>
164
+
165
+ <div id="consent-data-de">
166
+ <div id="modal-consent-de" class="modal-dialog modal-frame modal-top modal-notify modal-primary" role="document">
167
+ <div class="modal-content">
168
+
169
+ <div class="modal-header">
170
+ <p class="lead">{{consent_options.modal_settings.title}}</p>
171
+ </div>
172
+
173
+ <div class="container mt-4">
174
+
175
+ <p>
176
+ <a href="#bccs-privacy" data-bs-toggle="collapse" class="">Datenschutzerklärung</a>
177
+ <a href="#bccs-options" data-bs-toggle="collapse" class="float-right">Meine Einstellungen</a>
178
+ </p>
179
+
180
+ <div class="bccs-body-text r-text-300">
181
+ <p>{{consent_options.modal_settings.body_text}}</p>
182
+ </div>
183
+
184
+ <div id="bccs-privacy" class="collapse">
185
+ <p class="tagline mt-4 mb-1"><b>Datenschutzerklärung</b></p>
186
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
187
+ <div class="bccs-body-text r-text-200">
188
+ <p>{{consent_options.modal_settings.privacy_notice}}</p>
189
+ </div>
190
+ </div>
191
+
192
+ <div id="bccs-options" class="collapse">
193
+ <p class="tagline mt-4 mb-1"><b>Meine Einstellungen</b></p>
194
+ <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-3"></div>
195
+
196
+ <div class="bccs-option" data-name="necessary">
197
+ <div class="switch">
198
+ <label>
199
+ <input id="bccs-checkboxNecessary" type="checkbox" name="bccs-checkboxNecessary" checked disabled>
200
+ Erforderlich
201
+ <span class="bmd-switch-track"></span>
202
+ </label>
203
+ <ul>
204
+ <li class="mt-2" style="list-style-type: none;">Erforderlich zum Betrieb der Website</li>
205
+ </ul>
206
+ </div>
207
+ </div>
208
+ <div class="bccs-option" data-name="analysis">
209
+ <div class="switch">
210
+ <label>
211
+ <input id="bccs-checkboxAnalysis" type="checkbox" name="bccs-checkboxAnalysis" checked>
212
+ <span class="bmd-switch-track"></span>
213
+ Analyse
214
+ </label>
215
+ <ul>
216
+ <li class="mt-2" style="list-style-type: none;">Nutzungsüberwachung für diese Website</li>
217
+ <li style="list-style-type: none;">Optimierung der Leistung dieser Website</li>
218
+ <li style="list-style-type: none;">Optimierung der Inhalte für alle Besucher</li>
219
+ </ul>
220
+ </div>
221
+ </div>
222
+ <div class="bccs-option" data-name="personalization">
223
+ <div class="switch">
224
+ <label>
225
+ <input id="bccs-checkboxPersonalization" type="checkbox" name="bccs-checkboxPersonalization" checked>
226
+ <span class="bmd-switch-track"></span>
227
+ Personalisierung
228
+ </label>
229
+ <ul>
230
+ <li class="mt-2" style="list-style-type: none;">Nutzen von Übersetzungsdiensten</li>
231
+ <li style="list-style-type: none;">Nutzen von Werbedienstleistungen</li>
232
+ <li style="list-style-type: none;">Speicherung persönlicher Präferenzen aus früheren Besuchen</li>
233
+ <li style="list-style-type: none;">Nutzen von Kommentardiensten zum Erfahrungsaustausch der Besucher</li>
234
+
235
+ </ul>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+ <div class="modal-footer">
242
+ <button id="bccs-buttonDoNotAgree" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="min-width: 20rem">
243
+ Ich stimme nicht zu
244
+ </button>
245
+ <button id="bccs-buttonAgree" type="button" class="btn btn-primary mb-1 mr-2" style="min-width: 20rem">
246
+ Ich stimme zu
247
+ </button>
248
+ <button id="bccs-buttonSave" type="button" class="btn btn-outline-secondary mb-1 mr-2" style="display: none; min-width: 20rem">
249
+ Auswahl speichern
250
+ </button>
251
+ <button id="bccs-buttonAgreeAll" type="button" class="btn btn-primary mb-1 mr-2" style="display: none; min-width: 20rem">
252
+ Stimme allen zu
253
+ </button>
254
+ </div>
255
+
256
+ </div>
257
+ </div>
258
+ </div>
259
+
260
+ {% comment %} END Modal Cookie Consent
261
+ -------------------------------------------------------------------------------- {% endcomment %}
262
+
263
+ {% endcapture %}
264
+
265
+ {% if production %}
266
+ {% 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 %}
267
+ {% else %}
268
+ {{ cache | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
269
+ {% endif %}
270
+ {% assign cache = nil %}
@@ -166,7 +166,7 @@ exclude_from_search: true
166
166
  <div id="{{gallery.id}}" class="gallery justified-gallery">
167
167
  {% for video in gallery.videos %}
168
168
 
169
- {% if video.type == 'youtube' or video.type == 'vimeo' or video.type == 'wistia' or video.type == 'dailymotion' %}
169
+ {% if video.type == 'youtube' or video.type == 'vimeo' or video.type == 'tiktoc' or video.type == 'wistia' or video.type == 'dailymotion' %}
170
170
  {% assign description = video.description|strip|strip_newlines %}
171
171
  {% assign alt = description|strip_html %}
172
172