j1-template 2021.1.2 → 2021.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +23 -9
  3. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
  4. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +8 -7
  5. data/assets/data/authclient.html +231 -229
  6. data/assets/data/banner.html +30 -32
  7. data/assets/data/cookiebar.html +202 -199
  8. data/assets/data/fam.html +1 -1
  9. data/assets/data/footer.html +1 -1
  10. data/assets/data/footer.new.1.html +256 -0
  11. data/assets/data/footer.new.2.html +256 -0
  12. data/assets/data/footer.org.html +249 -0
  13. data/assets/data/gallery_customizer.html +10 -5
  14. data/assets/data/menu.html +3 -3
  15. data/assets/data/mmenu.html +4 -3
  16. data/assets/data/mmenu_sidebar.html +1 -1
  17. data/assets/data/mmenu_toc.html +1 -1
  18. data/assets/data/panel.html +11 -10
  19. data/assets/data/quicklinks.html +2 -2
  20. data/assets/themes/j1/adapter/js/j1.js +12 -4
  21. data/assets/themes/j1/adapter/js/j1.new.js +1878 -0
  22. data/assets/themes/j1/adapter/js/j1.org.js +1874 -0
  23. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
  24. data/assets/themes/j1/adapter/js/mmenu.js +8 -4
  25. data/assets/themes/j1/adapter/js/navigator.js +17 -10
  26. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
  27. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  28. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3858 -186
  29. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  30. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
  31. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
  32. data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
  33. data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
  34. data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
  35. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
  36. data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
  37. data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
  38. data/lib/j1/version.rb +3 -3
  39. data/lib/starter_web/_config.yml +5 -4
  40. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
  41. data/lib/starter_web/_data/blocks/banner.yml +5 -3
  42. data/lib/starter_web/_data/blocks/panel.yml +9 -7
  43. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  44. data/lib/starter_web/_data/layouts/default.yml +1 -1
  45. data/lib/starter_web/_data/layouts/home.yml +6 -5
  46. data/lib/starter_web/_data/layouts/page.yml +1 -1
  47. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
  48. data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -0
  49. data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
  50. data/lib/starter_web/_data/modules/navigator.yml +24 -21
  51. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -3
  52. data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +2 -2
  53. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -7
  54. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -7
  55. data/lib/starter_web/index.html +1 -1
  56. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  57. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +11 -6
  58. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +8 -6
  59. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
  60. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +6 -1
  61. data/lib/starter_web/utilsrv/package.json +1 -1
  62. metadata +7 -2
@@ -0,0 +1,249 @@
1
+ ---
2
+ regenerate: true
3
+ ---
4
+ {% capture cache %}
5
+
6
+ {% comment %}
7
+ # -----------------------------------------------------------------------------
8
+ # ~/assets/data/footer.html
9
+ # Liquid procedure to generate HTML (data) portion of the page footer for
10
+ # (fragmented) AJAX load
11
+ #
12
+ # Product/Info:
13
+ # https://jekyll.one
14
+ #
15
+ # Copyright (C) 2021 Juergen Adams
16
+ #
17
+ # J1 Template is licensed under the MIT License.
18
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
19
+ # -----------------------------------------------------------------------------
20
+ # Test data:
21
+ # {{ variable | debug }}
22
+ # -----------------------------------------------------------------------------
23
+ {% endcomment %}
24
+
25
+ <!-- [INFO ] [j1.assets.data.footer ] [Footer generated: {{site.time}}] -->
26
+
27
+ {% comment %} Liquid procedures
28
+ -------------------------------------------------------------------------------- {% endcomment %}
29
+ {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
30
+ {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
31
+ {% capture about_box %}themes/{{site.template.name}}/blocks/footer/boxes/about_box.proc{% endcapture %}
32
+ {% capture news_box %}themes/{{site.template.name}}/blocks/footer/boxes/news_box.proc{% endcapture %}
33
+ {% capture links_box %}themes/{{site.template.name}}/blocks/footer/boxes/links_box.proc{% endcapture %}
34
+ {% capture contacts_box %}themes/{{site.template.name}}/blocks/footer/boxes/contacts_box.proc{% endcapture %}
35
+ {% capture legal_statements %}themes/{{site.template.name}}/blocks/footer/boxes/legal_statements.proc{% endcapture %}
36
+ {% capture issue %}themes/{{site.template.name}}/blocks/footer/boxes/issue.proc{% endcapture %}
37
+ {% capture social_media_icons %}themes/{{site.template.name}}/blocks/footer/boxes/social_media_icons.proc{% endcapture %}
38
+
39
+ {% comment %} Process YML config data
40
+ ================================================================================ {% endcomment %}
41
+
42
+ {% comment %} Set config files
43
+ -------------------------------------------------------------------------------- {% endcomment %}
44
+ {% assign footer_config_defaults = site.data.blocks.defaults.footer %}
45
+ {% assign footer_config_settings = site.data.blocks.footer %}
46
+
47
+ {% comment %} Set config data
48
+ -------------------------------------------------------------------------------- {% endcomment %}
49
+ {% assign environment = site.environment %}
50
+
51
+ {% assign footer_config_defaults = footer_config_defaults.defaults %}
52
+ {% assign footer_config_settings = footer_config_settings.settings %}
53
+
54
+ {% comment %} Variables
55
+ -------------------------------------------------------------------------------- {% endcomment %}
56
+
57
+ {% assign production = false %}
58
+ {% if environment == 'prod' or environment == 'production' %}
59
+ {% assign production = true %}
60
+ {% endif %}
61
+
62
+ {% comment %} Set HELPER variables
63
+ -------------------------------------------------------------------------------- {% endcomment %}
64
+ {% capture footer_config_file_name %}~/_data/modules/footer.yml{% endcapture %}
65
+
66
+ <!-- [INFO ] [j1.assets.data.footer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
67
+ <!-- head>
68
+ <meta name="robots" content="noindex, nofollow" />
69
+ </head -->
70
+
71
+ {% comment %} Main
72
+ ================================================================================ {% endcomment %}
73
+ {% for items in footer_config_settings %}
74
+ {% assign key = items[0] %}
75
+ {% assign value = items[1] %}
76
+ {% assign footer_config = value %}
77
+
78
+ {% for items in footer_config %}
79
+ {% for footers in items %}
80
+
81
+ {% if debug %} footers: {{ footers }} {% endif %}
82
+
83
+ {% comment %} parse settings for MAIN keys
84
+ -------------------------------------------------------------------------- {% endcomment %}
85
+ {% for footer in footers %}
86
+ {% assign data_type = footer | is_type %}
87
+ {% if data_type == 'hash' %}
88
+ {% assign footer_settings = footer %}
89
+ {% endif %}
90
+ {% endfor %}
91
+
92
+ {% if debug %} <!-- footer_settings.boxes: {{ footer_settings.boxes }} --> {% endif %}
93
+
94
+
95
+ {% comment %} process current footer
96
+ -------------------------------------------------------------------------- {% endcomment %}
97
+ {% if footer_settings.enabled %}
98
+
99
+ {% assign enabled_boxes = 0 %}
100
+ {% assign footer_options = footer_config_defaults.footer | merge: footer_settings %}
101
+ {% if debug %} <!-- footer_options: {{ footer_options }} --> {% endif %}
102
+
103
+ {% comment %} Calculate number of enabled footer boxes
104
+ ------------------------------------------------------------------------ {% endcomment %}
105
+ {% for property in footer_options.boxes %}
106
+ {% if debug %} <!-- property: {{property}} --> {% endif %}
107
+ {% if property.enabled %} {% assign enabled_boxes = enabled_boxes | plus:1 %} {% endif %}
108
+ {% endfor %}
109
+ {% assign footer_box_width_md = 12 | divided_by:enabled_boxes %}
110
+ <!-- [INFO ] [j1.assets.data.footer ] [Set footer box column width to: {{ footer_box_width_md }}] -->
111
+
112
+ <!-- div id="{{footer_config_defaults.container-id}}" class="{{footer_options.theme}}" -->
113
+ <div id="{{footer_config_defaults.container-id}}">
114
+ <div class="footer">
115
+
116
+ <div class="container">
117
+ <div class="row">
118
+
119
+ {% comment %} Collect footer config data
120
+ ------------------------------------------------------------------ {% endcomment %}
121
+ {% for box in footer_options.boxes %}
122
+
123
+ {% comment %} COLLECT|PLACE footer boxes
124
+ ---------------------------------------------------------------- {% endcomment %}
125
+ {% case box.type %}
126
+
127
+ {% comment %} PLACE AboutBox
128
+ ---------------------------------------------------------------- {% endcomment %}
129
+ {% when 'about' %}
130
+ {% if box.enabled %}
131
+ {% include {{about_box}} title=box.title tagline=box.tagline text=box.text justify=box.justify %}
132
+ {% endif %}
133
+
134
+ {% comment %} Reset element variable
135
+ -------------------------------------------------------------- {% endcomment %}
136
+ {% assign footer_options.boxes = nil %}
137
+
138
+ {% comment %} PLACE NewsBox
139
+ ---------------------------------------------------------------- {% endcomment %}
140
+ {% when 'news' %}
141
+ {% if box.enabled %}
142
+ {% include {{news_box}} title=box.title tagline=box.tagline category=box.category max_posts=box.max_posts posts=site.posts %}
143
+ {% endif %}
144
+
145
+ {% comment %} Reset element variable
146
+ -------------------------------------------------------------- {% endcomment %}
147
+ {% assign footer_options.boxes = nil %}
148
+
149
+ {% comment %} PLACE LinksBox
150
+ --------------------------------------------------------------- {% endcomment %}
151
+ {% when 'references' %}
152
+ {% if box.enabled %}
153
+ {% include {{links_box}} title=box.title tagline=box.tagline links=box.links %}
154
+ {% endif %}
155
+
156
+ {% comment %} Reset element variable
157
+ -------------------------------------------------------------- {% endcomment %}
158
+ {% assign footer_options.boxes = nil %}
159
+
160
+ {% comment %} PLACE ContactsBox
161
+ --------------------------------------------------------------- {% endcomment %}
162
+ {% when 'contact' %}
163
+ {% if box.enabled %}
164
+ {% include {{contacts_box}} %}
165
+ {% endif %}
166
+
167
+ {% comment %} Reset element variable
168
+ -------------------------------------------------------------- {% endcomment %}
169
+ {% assign footer_options.boxes = nil %}
170
+
171
+ {% else %}
172
+ {% comment %} Collect EXCEPTION
173
+ -------------------------------------------------------------- {% endcomment %}
174
+ {% unless box.type == 'exception_container' %}
175
+ <div id="exception_container">
176
+ <div id="{{panel_settings.id}}" class="container-fluid no-padding">
177
+ <div class="col-md-12 col-sm-12 col-xs-12 no-padding">
178
+ <div class="box">
179
+ <div class="content content-danger">
180
+ <h2 class="notoc">
181
+ <i class="mdi mdi-alarm-light mdi-3x mdi-md-red mr-1"></i>
182
+ panel of type <big>{{panel_settings.type}}</big> not found
183
+ </h2>
184
+ <h4 class="notoc box-title">Check your configuration at {{panel_config_file_name}}</h4>
185
+ <div class="box-description">
186
+ Don't worry about this. Maybe you've a typo in the panel configuration.
187
+ Check the panel config file for the unknown type. <br />
188
+ Check for something wrong like:
189
+ <div class="mt-2 mb-2">
190
+ <b>id: {{panel_settings.id}}</b> <br />
191
+ <b>type: {{panel_settings.type}}</b> <br />
192
+ <b>comment: {{panel_settings.comment}}</b>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ </div> <!-- End panel {{panel_settings.id}} -->
199
+ </div> <!-- End exception_container -->
200
+ {% endunless %}
201
+
202
+ {% endcase %}
203
+
204
+ {% comment %} END footer boxes
205
+ ---------------------------------------------------------------- {% endcomment %}
206
+
207
+ {% endfor %}
208
+ </div>
209
+ </div>
210
+ </div>
211
+
212
+ {% comment %} COLLECT|PLACE copyright|issue date information
213
+ ---------------------------------------------------------------------- {% endcomment %}
214
+ <div class="copyright">
215
+ <div class="container">
216
+ <div class="row">
217
+ <!-- [INFO ] [j1.assets.data.footer ] [Enable horizontal list using id #inline] -->
218
+ <div class="col-md-10" id="inline">
219
+ {% include {{legal_statements}} legals=footer_options.legals %}
220
+ </div>
221
+ <div class="col-md-10" id="inline">
222
+ {% include {{issue}} %}
223
+ </div>
224
+ <div class="col-md-2">
225
+ {% include {{social_media_icons}} icons=footer_options.icons %}
226
+ </div>
227
+ </div>
228
+ </div>
229
+ </div>
230
+
231
+ </div>
232
+
233
+ {% comment %} Reset element variables (already processed)
234
+ ------------------------------------------------------------------------ {% endcomment %}
235
+ {% assign footer_settings = nil %}
236
+
237
+ {% endif %}
238
+
239
+ {% endfor %}
240
+ {% endfor %}
241
+ {% endfor %}
242
+
243
+ {% endcapture %}
244
+ {% if production %}
245
+ {% 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 %}
246
+ {% else %}
247
+ {{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
248
+ {% endif %}
249
+ {% assign cache = nil %}
@@ -49,12 +49,15 @@ regenerate: true
49
49
 
50
50
  <!-- [INFO ] [j1.assets.data.banner.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
51
51
  <head>
52
- <meta name="robots" content="noindex, nofollow" \>
52
+ <meta name="robots" content="noindex, nofollow" />
53
53
  </head>
54
54
 
55
- {% comment %} Main
56
- -------------------------------------------------------------------------------- {% endcomment %}
57
- <!-- [INFO ] [j1.gallery_customizer ] [Placement of the Drawer] -->
55
+ <!-- div id="galleryCustomizer" -->
56
+ <div id="{{customizer_options.xhr_data_element}}">
57
+
58
+ {% comment %} Main
59
+ -------------------------------------------------------------------------------- {% endcomment %}
60
+ <!-- [INFO ] [j1.gallery_customizer ] [Placement of the Drawer] -->
58
61
 
59
62
  <nav class="nav bmd-layout-container bmd-drawer-f-l">
60
63
 
@@ -165,7 +168,9 @@ regenerate: true
165
168
  </div>
166
169
 
167
170
  </nav>
168
- <!-- [INFO ] [j1.gallery_customizer.html ] [END: Drawer|Form] -->
171
+ <!-- [INFO ] [j1.gallery_customizer.html ] [END: Drawer|Form] -->
172
+
173
+ </div>
169
174
 
170
175
  {% endcapture %}
171
176
  {% if production %}
@@ -139,7 +139,7 @@ regenerate: true
139
139
 
140
140
  <!-- [INFO ] [j1.assets.data.menu.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
141
141
  <head>
142
- <meta name="robots" content="noindex, nofollow" \>
142
+ <meta name="robots" content="noindex, nofollow" />
143
143
  </head>
144
144
 
145
145
  {% comment %} Main
@@ -149,9 +149,9 @@ regenerate: true
149
149
  <!-- div id="{{nav_menu_id}}" class="{{dropdown_collapse}}" -->
150
150
  <!-- div class="{{dropdown_collapse}}" -->
151
151
  {% if nav_menu_animation %}
152
- <ul id="desktop_menu" class="nav navbar-nav navigator navbar-{{nav_bar_position}}" data-in="{{animate_in}}" data-out="{{animate_out}}">
152
+ <ul id="{{nav_menu_options.xhr_data_element}}" class="nav navbar-nav navigator navbar-{{nav_bar_position}}" data-in="{{animate_in}}" data-out="{{animate_out}}">
153
153
  {% else %}
154
- <ul id="desktop_menu" class="nav navbar-nav navigator navbar-{{nav_bar_position}}" data-in="fadeIn" data-out="fadeOut">
154
+ <ul id="{{nav_menu_options.xhr_data_element}}" class="nav navbar-nav navigator navbar-{{nav_bar_position}}" data-in="fadeIn" data-out="fadeOut">
155
155
  {% endif %}
156
156
 
157
157
  {% for menu in navigator_menu_config %}
@@ -82,14 +82,15 @@ regenerate: true
82
82
  {% assign icon_size = navigator_options.icon_size %}
83
83
  {% assign icon_color = navigator_options.icon_color %}
84
84
 
85
- <!-- [INFO ] [j1.assets.data.mmenu.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
85
+ <!-- [INFO ] [j1.assets.data.mmenu.html ] [ set meta data (robots) to exclude HTML data files from index ] -->
86
86
  <head>
87
- <meta name="robots" content="noindex, nofollow" \>
87
+ <meta name="robots" content="noindex, nofollow" />
88
88
  </head>
89
89
 
90
90
  {% comment %} Main
91
91
  -------------------------------------------------------------------------------- {% endcomment %}
92
- <!-- [DEBUG ] [j1.modules.mmenu.html ] [collect all nav links for the navigation ] -->
92
+ <!-- [INFO ] [[j1.assets.data.mmenu.html ] [collect all nav links for the mobile navigation ] -->
93
+ <!-- [INFO ] [[j1.assets.data.mmenu.html ] [id menu_mmenu set statically and MUST as configured ] -->
93
94
  <ul id="menu_mmenu" class="partial" style="display:none">
94
95
 
95
96
  {% for menu in navigator_menu_config %}
@@ -80,7 +80,7 @@ regenerate: true
80
80
 
81
81
  <!-- [INFO ] [j1.assets.data.mmenu.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
82
82
  <head>
83
- <meta name="robots" content="noindex, nofollow" \>
83
+ <meta name="robots" content="noindex, nofollow" />
84
84
  </head>
85
85
 
86
86
  {% comment %} Main
@@ -37,7 +37,7 @@ regenerate: true
37
37
 
38
38
  <!-- [INFO ] [j1.assets.data.mmenu_toc.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
39
39
  <head>
40
- <meta name="robots" content="noindex, nofollow" \>
40
+ <meta name="robots" content="noindex, nofollow" />
41
41
  </head>
42
42
 
43
43
  {% comment %} Main
@@ -65,7 +65,7 @@ regenerate: true
65
65
 
66
66
  <!-- [INFO ] [j1.assets.data.panel.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
67
67
  <head>
68
- <meta name="robots" content="noindex, nofollow" \>
68
+ <meta name="robots" content="noindex, nofollow" />
69
69
  </head>
70
70
 
71
71
  {% comment %} Main
@@ -98,7 +98,7 @@ regenerate: true
98
98
  {% assign tagline = panel_settings.tagline|strip_newlines %}
99
99
  {% assign buttons = panel_settings.buttons %}
100
100
  {% assign header = panel_settings.header %}
101
- {% assign properties = panel_settings.properties %}
101
+ {% assign properties = panel_settings.properties %}
102
102
  {% assign cards = panel_settings.cards %}
103
103
  {% endif %}
104
104
  {% endfor %}
@@ -148,9 +148,9 @@ regenerate: true
148
148
  {% assign panel_options = panel_config_defaults.intro | merge: panel_settings %}
149
149
  {% if debug %}<!-- panel_options: {{panel_options}} -->{% endif %}
150
150
  <!-- Panel {{panel_settings.id}} -->
151
- <section id="{{panel_settings.id}}">
151
+ <section id="{{panel_settings.id}}" class="container">
152
152
  <!-- Main Container -->
153
- <div class="container">
153
+ <div class="row {{panel_settings.properties}}">
154
154
 
155
155
  <!-- Heading -->
156
156
  <div class="row">
@@ -229,7 +229,7 @@ regenerate: true
229
229
  </span>
230
230
  {% endif %}
231
231
  </div>
232
- <h3 class="m-0 md-white">{{card_title}}</h3>
232
+ <h3 class="m-0">{{card_title}}</h3>
233
233
  </div>
234
234
  </div>
235
235
 
@@ -251,9 +251,9 @@ regenerate: true
251
251
  <hr class="my-3">
252
252
 
253
253
  {% if button_target == null %}
254
- <a class="card-link md-grey-500" href="{{button_href}}">{{button_text}}</a>
254
+ <a class="card-link text-muted" href="{{button_href}}">{{button_text}}</a>
255
255
  {% else %}
256
- <a class="card-link md-grey-500" href="{{button_href}}" target="{{button_target}}">{{button_text}}</a>
256
+ <a class="card-link md-grey-600" href="{{button_href}}" target="{{button_target}}">{{button_text}}</a>
257
257
  {% endif %}
258
258
  </div>
259
259
 
@@ -402,8 +402,9 @@ regenerate: true
402
402
 
403
403
  {% assign panel_options = panel_config_defaults.news|merge: panel_settings %}
404
404
  {% if debug %}<!-- panel_options: {{panel_options}} -->{% endif %}
405
- <section id="{{panel_settings.id}}">
406
- <div class="container">
405
+ <!-- Panel {{panel_settings.id}} -->
406
+ <section id="{{panel_settings.id}}" class="container">
407
+ <div class="row {{panel_settings.properties}}">
407
408
 
408
409
  {% if panel_options.title %}
409
410
  <!-- Heading -->
@@ -494,7 +495,7 @@ regenerate: true
494
495
  <i class="mdi mdi-calendar-blank mdi-md-grey mr-1"></i>
495
496
  {{post.date|date:"%Y %B, %e"}}
496
497
  </div>
497
- <a class="card-link md-grey-500"
498
+ <a class="card-link text-muted"
498
499
  href="{{post.url}}">
499
500
  {{readmore_text}} · {{post.tagline}}
500
501
  </a>
@@ -212,7 +212,7 @@ regenerate: true
212
212
 
213
213
  <!-- [INFO ] [j1.assets.data.quicklinks.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
214
214
  <head>
215
- <meta name="robots" content="noindex, nofollow" \>
215
+ <meta name="robots" content="noindex, nofollow" />
216
216
  </head>
217
217
 
218
218
  {% comment %} Main
@@ -224,7 +224,7 @@ regenerate: true
224
224
  <!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon familiy as: {{ icon_family }}] -->
225
225
  <!-- [INFO ] [j1.modules.navigator.quicklinks.html ] [Set icon size as: {{ icon_size }}] -->
226
226
 
227
- <ul class="navbar-nav">
227
+ <ul id="{{quicklinks_options.xhr_data_element}}" class="navbar-nav">
228
228
  {% if back_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="page_back_id" class="nav-icon" href="{{back_url}}" aria-label="Page back"><i class="{{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %}
229
229
  {% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id" class="nav-icon" href="{{home_url}}" aria-label="Home"><i class="{{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %}
230
230
  {% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-item"><a id="disqus_id" class="nav-icon" href="{{disqus_url}}" aria-label="Disqus" target="blank"><i class="{{icon_family}} {{icon_family}}-{{disqus_icon}} {{icon_size}}"></i></a></li>{% endif %}
@@ -586,7 +586,8 @@ var j1 = (function () {
586
586
  if (selector.length) {
587
587
  logText = 'loading banner on id: ' +banner[i];
588
588
  logger.info(logText);
589
- var banner_data_path = '{{banner_data_path}} ' + id + ' > *';
589
+ // var banner_data_path = '{{banner_data_path}} ' + id + ' > *';
590
+ var banner_data_path = '{{banner_data_path}} ' + id;
590
591
  selector.load(banner_data_path, cb_load_closure(id));
591
592
  }
592
593
  } // END for
@@ -689,7 +690,8 @@ var j1 = (function () {
689
690
  if ( selector.length ) {
690
691
  logText = 'loading panel on id: ' +panel[i];
691
692
  logger.info(logText);
692
- var panel_data_path = '{{panel_data_path}} ' + id + ' > *';
693
+ // var panel_data_path = '{{panel_data_path}} ' + id + ' > *';
694
+ var panel_data_path = '{{panel_data_path}} ' + id;
693
695
  selector.load(panel_data_path, cb_load_closure(id));
694
696
  }
695
697
  } // END for
@@ -749,7 +751,8 @@ var j1 = (function () {
749
751
  var id = '#' + '{{footer_id}}';
750
752
  var selector = $(id);
751
753
  if ( selector.length ) {
752
- var footer_data_path = '{{footer_data_path}}' + id + ' > *';
754
+ // var footer_data_path = '{{footer_data_path}} ' + id + ' > *';
755
+ var footer_data_path = '{{footer_data_path}} ' + id;
753
756
  selector.load(footer_data_path, cb_load_closure(id));
754
757
  } else {
755
758
  logText = 'data not loaded';
@@ -1161,15 +1164,20 @@ var j1 = (function () {
1161
1164
  }
1162
1165
  };
1163
1166
  };
1167
+
1164
1168
  // see: https://stackoverflow.com/questions/20420577/detect-added-element-to-dom-with-mutation-observer
1169
+ //
1165
1170
  var html_data_path;
1166
1171
  var id = '#' + options.xhr_container_id;
1172
+ var container = '#' + options.xhr_container_id + '_container';
1167
1173
  var $selector = $(id);
1168
1174
 
1169
1175
  if ( $selector.length ) {
1170
1176
  if (options.xhr_data_element) {
1171
- html_data_path = options.xhr_data_path + ' #' + options.xhr_data_element + ' > *';
1177
+ html_data_path = options.xhr_data_path + ' #' + options.xhr_data_element;
1178
+ logger.info('XHR data element found: ' + options.xhr_data_element);
1172
1179
  } else {
1180
+ logger.warn('no XHR data element found. HTML data loaded full page.');
1173
1181
  html_data_path = options.xhr_data_path + ' > *';
1174
1182
  }
1175
1183
  $selector.load( html_data_path, cb_load_closure( mod, id ) );