j1-template 2022.4.6 → 2022.4.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7339315e458d057b0c7177b020010850d561ab42a528bce4b39c2f447845f1f9
4
- data.tar.gz: 054cd147a7f64446ec2e72f9c3bbfd9aab47280a033de1a1ca1c150e90623a42
3
+ metadata.gz: d692f315799ca49d6334da3d4098491a81b8c64a36f2b5401c60bda7ab30a9ea
4
+ data.tar.gz: 5db858330d1db68dc841b92698bb3bc0e3fc4cd6a1b81b1d75ac27fe90c8173d
5
5
  SHA512:
6
- metadata.gz: 3335eae6f0b60a87118bf40aa582cc7abd687d79f92a576393bdffbf201b3fb17c5e903ff01f27dafe289eaad0ef27b71bbd23421a3806e17896aaf11f997966
7
- data.tar.gz: b7c740ddf3467883823a266e3f50e2ceb7879dc86a0037997a08a353426595d02827ad69d94e16f8b4c77fac4307bf453ffb6596eea21e20e15d64fc2098fedf
6
+ metadata.gz: bb82fc45440741c4651944f5a46ce5ee694a116d472fc08c39bb1f5534e754c72ab3720e4db0d5f20f7f55a80e4ebfe5b43ec43bf64383fc8f8a8df8d5de3636
7
+ data.tar.gz: afc23a07cf2ce63c67ad2cfae0cf81bfd87cd0010b457de1a4d9862a7c0be6a8a06492a6ebb08c8a715f9e74fdeac9188859011838bb63526639a4df03ffa2ca
@@ -68,7 +68,7 @@ exclude_from_search: true
68
68
  {% assign production = true %}
69
69
  {% endif %}
70
70
 
71
- <!-- [INFO ] [j1.assets.data.banner.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
71
+ <!-- [INFO ] [/assets/data/banner.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
72
72
  <head>
73
73
  <meta name="robots" content="noindex, nofollow" />
74
74
  </head>
@@ -228,7 +228,7 @@ exclude_from_search: true
228
228
  <div class="{{card_properties}}">{{card_description}}</div>
229
229
  {% if card_buttons %}
230
230
  <!-- Footer|Button row -->
231
- <div>
231
+ <div class="mt-5">
232
232
  {% for button_hash in card_buttons %}
233
233
  {% include {{create_bs_button}} button_data=button_hash button_type="link" %}
234
234
  {{bs_button_html}}
data/assets/data/fab.html CHANGED
@@ -92,7 +92,7 @@ exclude_from_search: true
92
92
  {% assign production = true %}
93
93
  {% endif %}
94
94
 
95
- <!-- [INFO ] [j1.assets.data.fam.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
95
+ <!-- [INFO ] [/assets/data/fab.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
96
96
  <head>
97
97
  <meta name="robots" content="noindex, nofollow" />
98
98
  </head>
@@ -21,7 +21,7 @@ exclude_from_search: true
21
21
  # Test data:
22
22
  # {{ variable | debug }}
23
23
  # -----------------------------------------------------------------------------
24
- {% endcomment %}
24
+ {% endcomment %}
25
25
 
26
26
  <!-- [INFO ] [j1.assets.data.footer ] [Footer generated: {{site.time}}] -->
27
27
 
@@ -64,7 +64,7 @@ exclude_from_search: true
64
64
  -------------------------------------------------------------------------------- {% endcomment %}
65
65
  {% capture footer_config_file_name %}~/_data/modules/footer.yml{% endcapture %}
66
66
 
67
- <!-- [INFO ] [j1.assets.data.footer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
67
+ <!-- [INFO ] [/assets/data/footer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
68
68
  <head>
69
69
  <meta name="robots" content="noindex, nofollow" />
70
70
  </head>
@@ -64,17 +64,17 @@ NOTE: currently NOT used
64
64
  -------------------------------------------------------------------------------- {% endcomment %}
65
65
  {% assign language = 'en' %}
66
66
 
67
- <!-- [INFO ] [assets.data.gallery_customizer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
67
+ <!-- [INFO ] [/assets/data/gallery_customizer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
68
68
  <head>
69
69
  <meta name="robots" content="noindex, nofollow" />
70
70
  </head>
71
71
 
72
- <!-- [INFO ] [assets.data.gallery_customizer.html ] [ Placement of the Gallery container ] -->
72
+ <!-- [INFO ] [/assets/data/gallery_customizer.html ] [ Placement of the Gallery container ] -->
73
73
  <div id="{{customizer_options.xhr_data_element}}" style="max-width: {{customizer_options.max_gallery_width}}px;">
74
74
 
75
75
  {% comment %} Main
76
76
  ------------------------------------------------------------------------------ {% endcomment %}
77
- <!-- [INFO ] [assets.data.gallery_customizer.html ] [Placement of the Drawer] -->
77
+ <!-- [INFO ] [/assets/data/gallery_customizer.html ] [Placement of the Drawer] -->
78
78
  <nav class="nav bmd-layout-container custom-size-300 bmd-drawer-f-l">
79
79
 
80
80
  <header class="bmd-layout-header">
@@ -100,17 +100,19 @@ NOTE: currently NOT used
100
100
  <form id="jg-customizer-form" class="form-horizontal ml-2 mr-4">
101
101
  <div>
102
102
 
103
- <div class="mt-0 mb-4 ml-2">
104
- <div id="jgSlider_row_heigth" class="range-slider"></div>
105
- </div>
106
- <div class="mt-5 mb-3 ml-2">
107
- <div id="jgSlider_thumb_spacing" class="range-slider"></div>
108
- </div>
109
- <div class="mt-5 mb-3 ml-2">
110
- <div id="jgSlider_gallery_padding" class="range-slider"></div>
103
+ <div id="options-int" class="mt-0">
104
+ <div class="mt-0 mb-4 ml-2">
105
+ <div id="jgSlider_row_heigth" class="range-slider"></div>
106
+ </div>
107
+ <div class="mt-5 mb-3 ml-2">
108
+ <div id="jgSlider_thumb_spacing" class="range-slider"></div>
109
+ </div>
110
+ <div class="mt-5 mb-3 ml-2">
111
+ <div id="jgSlider_gallery_padding" class="range-slider"></div>
112
+ </div>
111
113
  </div>
112
114
 
113
- <div class="mt-4">
115
+ <div id="options-boolean" class="mt-5">
114
116
  <div class="switch">
115
117
  <label>
116
118
  <input id="captions" name="captions" type="checkbox" checked>
@@ -61,7 +61,7 @@ exclude_from_search: true
61
61
 
62
62
  {% for item in nav_mmenu_options.menus %}
63
63
  {% if item.menu.xhr_container_id == "navigator_sidebar_mmenu" %}
64
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [ collect data for mmenu sitebar ] -->
64
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [ collect data for mmenu sitebar ] -->
65
65
  {% assign sidebar_options = item.menu.content %}
66
66
  {% endif %}
67
67
  {% endfor %}
@@ -86,9 +86,9 @@ exclude_from_search: true
86
86
 
87
87
  {% comment %} Main
88
88
  -------------------------------------------------------------------------------- {% endcomment %}
89
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Start processing: sidebar] -->
89
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [Start processing: sidebar] -->
90
90
  <div id="{{sidebar_options.id}}" class="mm-side tex2jax_ignore" style="display:none">
91
- <h2 class="mb-4">{{sidebar_options.title}}</h2>
91
+ <!-- h2 class="menu-title">{{sidebar_options.title}}</h2 -->
92
92
  {% for boxes in sidebar_options.boxes %}
93
93
  {% for box in boxes %}
94
94
 
@@ -108,10 +108,8 @@ exclude_from_search: true
108
108
  {% comment %} Collect USER info
109
109
  ------------------------------------------------------------------------ {% endcomment %}
110
110
  {% when 'user_info' %}
111
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [USER info enabled] -->
112
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write widget placeholder: USER info] -->
111
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [USER info enabled] -->
113
112
  <div id="user-info" class="widget">
114
- <h2 class="heading">{{title}}</h2>
115
113
  <ul id="display_user_details" class="link">
116
114
  {% for link in links %}
117
115
 
@@ -144,6 +142,7 @@ exclude_from_search: true
144
142
  {% endfor %}
145
143
  </ul>
146
144
  </div>
145
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [End processing: USER info] -->
147
146
 
148
147
  {% comment %} END Collect USER info
149
148
  ------------------------------------------------------------------------ {% endcomment %}
@@ -159,8 +158,7 @@ exclude_from_search: true
159
158
  {% comment %} Collect THEME info
160
159
  ------------------------------------------------------------------------ {% endcomment %}
161
160
  {% when 'theme_info' %}
162
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [THEME info detected] -->
163
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write widget placeholder: USER info] -->
161
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [THEME info detected] -->
164
162
  <div id="theme-info" class="widget">
165
163
  <h3 class="heading">{{title}}</h3>
166
164
  <ul class="link">
@@ -195,7 +193,7 @@ exclude_from_search: true
195
193
  {% endfor %}
196
194
  </ul>
197
195
  </div>
198
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [End processing: THEME info] -->
196
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [End processing: THEME info] -->
199
197
 
200
198
  {% comment %} END Collect THEME info
201
199
  ------------------------------------------------------------------------ {% endcomment %}
@@ -211,8 +209,7 @@ exclude_from_search: true
211
209
  {% comment %} Collect SITE info
212
210
  ------------------------------------------------------------------------ {% endcomment %}
213
211
  {% when 'site_info' %}
214
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Start processing SITE info] -->
215
-
212
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [SITE info detected] -->
216
213
  <div id="site-info" class="widget">
217
214
  <h3 class="heading">{{title}}</h3>
218
215
  <ul class="link">
@@ -240,7 +237,7 @@ exclude_from_search: true
240
237
  {% endfor %}
241
238
  </ul>
242
239
  </div>
243
-
240
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [End processing: SITE info] -->
244
241
  {% comment %} END Collect SITE info
245
242
  ------------------------------------------------------------------------ {% endcomment %}
246
243
 
@@ -257,10 +254,11 @@ exclude_from_search: true
257
254
 
258
255
  {% endfor %}
259
256
  {% endfor %}
260
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [End processing sidebar boxes] -->
261
- <!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [End processing: sidebar] -->
257
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [End processing sidebar boxes] -->
258
+ <!-- [INFO ] [ /assets/data/mmenu_sidebar.html ] [End processing: sidebar] -->
262
259
  </div>
263
260
  {% endcapture %}
261
+
264
262
  {% if production %}
265
263
  {% 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 %}
266
264
  {% else %}
@@ -62,7 +62,7 @@ exclude_from_search: true
62
62
 
63
63
  {% comment %} Main
64
64
  -------------------------------------------------------------------------------- {% endcomment %}
65
- <!-- [INFO ] [ j1.modules.navigator.mmenu_toc.html ] [Start processing: toc] -->
65
+ <!-- [INFO ] [ /assets/data/mmenu_toc.html ] [Start processing: toc] -->
66
66
  <div id="toc_mmenu" class="mm-side tex2jax_ignore" style="display:none">
67
67
  <div class="widget">
68
68
  <h1 class="heading">{{toc_text}}</h1>
@@ -75,7 +75,7 @@ exclude_from_search: true
75
75
  </div>
76
76
  </div>
77
77
  </div>
78
- <!-- [INFO ] [ j1.modules.navigator.mmenu_toc.html ] [End processing: toc] -->
78
+ <!-- [INFO ] [ /assets/data/mmenu_toc.html ] [End processing: toc] -->
79
79
  {% endcapture %}
80
80
  {% if production %}
81
81
  {% 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 %}
@@ -56,7 +56,7 @@ exclude_from_search: true
56
56
 
57
57
  {% comment %} Main
58
58
  ================================================================================ {% endcomment %}
59
- <!-- [INFO ] [j1.assets.data.nbinteract.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
59
+ <!-- [INFO ] [/assets/data/nbinteract.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
60
60
  <head>
61
61
  <meta name="robots" content="noindex, nofollow" />
62
62
  </head>
@@ -89,7 +89,7 @@ exclude_from_search: true
89
89
  {% assign infinite_scroll_last = "Weitere Artikel finden Sie im" %}
90
90
  {% endif %}
91
91
 
92
- <!-- [INFO ] [j1.assets.data.panel.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
92
+ <!-- [INFO ] [/assets/data/panel.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
93
93
  <head>
94
94
  <meta name="robots" content="noindex, nofollow" />
95
95
  </head>
@@ -672,17 +672,17 @@ exclude_from_search: true
672
672
  {% comment %} default for card_block: card-deck
673
673
  ------------------------------------------------------------------ {% endcomment %}
674
674
  {% if card_block == "card-deck" or card_block == "card-list" %}
675
- <!-- [INFO ] [j1.assets.data.panel.html ] [ blocktype detected as: {{card_block}} ] -->
675
+ <!-- [INFO ] [/assets/data/panel.html ] [ blocktype detected as: {{card_block}} ] -->
676
676
  {% else %}
677
- <!-- [INFO ] [j1.assets.data.panel.html ] [ set blocktype to: card-deck ] -->
677
+ <!-- [INFO ] [/assets/data/panel.html ] [ set blocktype to: card-deck ] -->
678
678
  {% assign card_block = "card-deck" %}
679
679
  {% endif %}
680
680
 
681
- <!-- [INFO ] [j1.assets.data.panel.html ] [ blocktype detected as: {{card_block}} ] -->
681
+ <!-- [INFO ] [/assets/data/panel.html ] [ blocktype detected as: {{card_block}} ] -->
682
682
  {% if card_block == 'card-list' %}
683
683
  <div>
684
684
  <ul id="{{panel_settings.id}}-scroll-group" class="scroll-group scroll-group-horizontal align-items-stretch flex-wrap">
685
- <!-- [INFO ] [j1.assets.data.panel.html ] [ write post items ] -->
685
+ <!-- [INFO ] [/assets/data/panel.html ] [ write post items ] -->
686
686
  {% for post in site.posts %}
687
687
  {% if posts_written == posts_max %} {% assign last_post_written = true %} {% break %}{% endif %}
688
688
 
@@ -246,7 +246,7 @@ exclude_from_search: true
246
246
  {% assign show_google_translate_lang = false %}
247
247
  {% assign translate_lang = 'gb' %}
248
248
 
249
- <!-- [INFO ] [j1.assets.data.quicklinks.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
249
+ <!-- [INFO ] [/assets/data/quicklinks.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
250
250
  <head>
251
251
  <meta name="robots" content="noindex, nofollow" />
252
252
  </head>
@@ -60,7 +60,7 @@ exclude_from_search: true
60
60
 
61
61
  {% assign language = 'en' %}
62
62
 
63
- <!-- [INFO ] [j1.assets.data.banner.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
63
+ <!-- [INFO ] [/assets/data/rtext_resizer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
64
64
  <head>
65
65
  <meta name="robots" content="noindex, nofollow" />
66
66
  </head>
@@ -56,7 +56,7 @@ exclude_from_search: true
56
56
 
57
57
  {% comment %} Main
58
58
  ================================================================================ {% endcomment %}
59
- <!-- [INFO ] [j1.assets.data.translator.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
59
+ <!-- [INFO ] [/assets/data/translator.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
60
60
  <head>
61
61
  <meta name="robots" content="noindex, nofollow" />
62
62
  </head>
@@ -186,18 +186,23 @@ var j1 = (function (options) {
186
186
  var user_session_detected;
187
187
  var cookie_written;
188
188
 
189
+ // defaults for the template
190
+ var template_version;
191
+ var template_previous_version;
192
+ var template_version_changed;
193
+
189
194
  // defaults for themes
190
195
  var themeName;
191
196
  var themeCss;
192
- var cssExtension = (environment === 'production')
193
- ? '.min.css'
194
- : '.css'
197
+ var cssExtension = (environment === 'production')
198
+ ? '.min.css'
199
+ : '.css'
195
200
 
196
201
  // defaults for data files
197
- var colors_data_path = '{{template_config.colors_data_path}}';
198
- var font_size_data_path = '{{template_config.font_size_data_path}}';
199
- var runtime_data_path = '{{template_config.runtime_data_path}}';
200
- var message_catalog_data_path = '{{template_config.message_catalog_data_path}}';
202
+ var colors_data_path = '{{template_config.colors_data_path}}';
203
+ var font_size_data_path = '{{template_config.font_size_data_path}}';
204
+ var runtime_data_path = '{{template_config.runtime_data_path}}';
205
+ var message_catalog_data_path = '{{template_config.message_catalog_data_path}}';
201
206
 
202
207
  // Logger resources
203
208
  var logger;
@@ -211,6 +216,7 @@ var j1 = (function (options) {
211
216
  'user_consent': '{{template_config.cookies.user_consent}}',
212
217
  'user_translate': '{{template_config.cookies.user_translate}}'
213
218
  };
219
+ var user_consent = {};
214
220
  var user_session = {
215
221
  'mode': 'web',
216
222
  'writer': 'j1.adapter',
@@ -228,8 +234,14 @@ var j1 = (function (options) {
228
234
  'previous_page': 'na',
229
235
  'last_pager': '/pages/public/blog/navigator/'
230
236
  };
231
- var user_state = {
237
+ var user_state = {
232
238
  'writer': 'j1.adapter',
239
+ 'template_version': '{{template_version}}',
240
+ //
241
+ // for testing only
242
+ // 'template_version': 'undefined',
243
+ // 'template_version': '2022.4.4',
244
+ //
233
245
  'theme_name': 'UnoLight',
234
246
  'theme_css': '',
235
247
  'theme_author': 'J1 Team',
@@ -240,7 +252,6 @@ var j1 = (function (options) {
240
252
  'translate_locale': navigator.language || navigator.userLanguage,
241
253
  'last_session_ts': ''
242
254
  };
243
- var user_consent = {};
244
255
 
245
256
  // ---------------------------------------------------------------------------
246
257
  // helper functions
@@ -319,6 +330,9 @@ var j1 = (function (options) {
319
330
  var gaCookies = j1.findCookie('_ga');
320
331
  var themerOptions = $.extend({}, {{themer_options | replace: '=>', ':' | replace: 'nil', '""' }});
321
332
 
333
+ // current template version
334
+ template_version = j1.getTemplateVersion();
335
+
322
336
  // -----------------------------------------------------------------------
323
337
  // status settings
324
338
  // save status into the adapter object for (later) global access
@@ -361,6 +375,26 @@ var j1 = (function (options) {
361
375
  expires: 365
362
376
  });
363
377
 
378
+ if (typeof user_state.template_version == 'undefined') {
379
+ // add for compatibility reasons
380
+ template_version_changed = true;
381
+ user_state.template_version = template_version;
382
+ logger.warn('\n' + 'template_version not found, set value to: ' + template_version);
383
+ cookie_written = j1.writeCookie({
384
+ name: cookie_names.user_state,
385
+ data: user_state,
386
+ secure: secure,
387
+ expires: 365
388
+ });
389
+ } else if (user_state.template_version != template_version) {
390
+ // update for changed template version
391
+ template_previous_version = user_state.template_version;
392
+ template_version_changed = true;
393
+ user_state.template_version = template_version;
394
+ } else {
395
+ template_version_changed = false;
396
+ }
397
+
364
398
  if (!user_consent.analysis || !user_consent.personalization) {
365
399
  if (expireCookiesOnRequiredOnly) {
366
400
  // expire permanent cookies to session
@@ -1027,6 +1061,7 @@ var j1 = (function (options) {
1027
1061
  // redirect to error page: blocked content
1028
1062
  window.location.href = '/446.html';
1029
1063
  } else {
1064
+
1030
1065
  logger.info('\n' + 'j1 cookies found:' + j1Cookies.length);
1031
1066
  }
1032
1067
  }
@@ -1125,6 +1160,29 @@ var j1 = (function (options) {
1125
1160
  // update sidebar for changed theme data
1126
1161
  logger.info('\n' + 'update sidebar');
1127
1162
  user_state = j1.readCookie(cookie_names.user_state);
1163
+
1164
+ if (template_version_changed) {
1165
+ if (typeof template_previous_version == 'undefined') template_previous_version = 'na';
1166
+ logger.warn('\n' + 'template version detected as changed');
1167
+ logger.warn('\n' + 'template version previous|current: ' + template_previous_version + '|' + template_version);
1168
+ // Update the user_state cookie
1169
+ // TODO: replace theme_version by template_version as they
1170
+ // are alwas the same
1171
+ // disable: user_state.theme_version = template_version;
1172
+ //
1173
+ user_state.template_version = template_version;
1174
+ cookie_written = j1.writeCookie({
1175
+ name: cookie_names.user_state,
1176
+ data: user_state,
1177
+ secure: secure,
1178
+ expires: 365
1179
+ });
1180
+ logger.warn('\n' + 'template version updated to: ' + template_version);
1181
+ } else {
1182
+ logger.info('\n' + 'template version detected: ' + user_state.template_version);
1183
+ }
1184
+
1185
+ // set current user data
1128
1186
  current_user_data = j1.mergeData(user_session, user_state);
1129
1187
  j1.core.navigator.updateSidebar(current_user_data);
1130
1188
 
@@ -1875,7 +1933,7 @@ var j1 = (function (options) {
1875
1933
  $('#macro-theme-version').each(function() {
1876
1934
  var $this = $(this);
1877
1935
  var $html = $this.html();
1878
- $this.html($html.replace('??theme-version', user_data.theme_version));
1936
+ $this.html($html.replace('??theme-version', user_data.template_version));
1879
1937
  });
1880
1938
 
1881
1939
  });
@@ -380,9 +380,9 @@ j1.adapter.mmenu = (function (j1, window) {
380
380
  $('#drawer_{{menu_id}}').attrchange({
381
381
  trackValues: true,
382
382
  callback: function (event) {
383
- logger.debug('\n' + 'drawer changed state: ' + event.newValue);
384
- logger.debug('\n' + 'hide|show the main nav menu');
383
+ logger.debug('\n' + 'hide|show the nav menu');
385
384
  // switch off|on the (main) nav menu
385
+ $('#' + 'navbar-brand').toggle();
386
386
  $('#' + navMenuOptions.nav_main_menu).toggle();
387
387
  $('#' + navMenuOptions.nav_quicklinks).toggle();
388
388
  }
@@ -17483,7 +17483,7 @@ button.btn-fab-floating {
17483
17483
 
17484
17484
  .post-headline {
17485
17485
  margin-bottom: 2rem;
17486
- border-bottom: 1px solid #E5E5E5; }
17486
+ border-bottom: 1px solid #BDBDBD; }
17487
17487
 
17488
17488
  .series-navigator {
17489
17489
  display: inline-block;