j1_template 2019.4.10 → 2019.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_cc_test_data/_config.yml +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/assets/themes/j1/core/js/j1.js +9 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/start/downloads/quickstarter/100_linux_starter.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +15 -50
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.before_merge_added.rb +0 -1267
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.new.rb +0 -1121
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.no_cookie.mgmt.rb +0 -1130
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.ok.rb +0 -1130
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.org.2.rb +0 -1086
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.org.rb +0 -1548
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager.update.web_cookie.rb +0 -1333
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager_ui.2.erb +0 -198
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager_ui.additional_inits.erb +0 -254
- data/lib/j1_app/j1_auth_manager/_unused/auth_manager_ui.manage.cookies.erb +0 -255
- data/lib/starter_web/assets/_data/_temp/_banner.html +0 -421
- data/lib/starter_web/assets/_data/_temp/_panel.html +0 -585
- data/lib/starter_web/assets/_data/_temp/banner.case.snippet.html.asciidoc +0 -91
- data/lib/starter_web/assets/_data/_temp/banner.new.html.asciidoc +0 -559
- data/lib/starter_web/assets/_data/_temp/banner.with.defaults.html.asciidoc +0 -547
- data/lib/starter_web/assets/_data/_temp/footer.html.new +0 -228
- data/lib/starter_web/assets/_data/_temp/footer.html.org +0 -234
- data/lib/starter_web/assets/_data/_temp/footer.old.html +0 -231
- data/lib/starter_web/assets/_data/_temp/footer_new.html +0 -226
- data/lib/starter_web/assets/_data/_temp/footer_old.html +0 -222
- data/lib/starter_web/assets/_data/_temp/menu.old.html +0 -462
- data/lib/starter_web/assets/_data/_temp/panel.new.html +0 -560
- data/lib/starter_web/assets/_data/_temp/panel.old.html +0 -597
- data/lib/starter_web/assets/_data/_temp/panel.org.html +0 -597
- data/lib/starter_web/assets/_data/animate.json +0 -120
- data/lib/starter_web/assets/_data/ascii_code_table.json +0 -1794
- data/lib/starter_web/assets/_data/authclient.html +0 -365
- data/lib/starter_web/assets/_data/banner.html +0 -431
- data/lib/starter_web/assets/_data/carousel.json +0 -110
- data/lib/starter_web/assets/_data/colors.json +0 -43
- data/lib/starter_web/assets/_data/cookie_consent.html +0 -225
- data/lib/starter_web/assets/_data/countries.json +0 -974
- data/lib/starter_web/assets/_data/font_sizes.json +0 -43
- data/lib/starter_web/assets/_data/fontawesome_icons.json +0 -5525
- data/lib/starter_web/assets/_data/footer.html +0 -239
- data/lib/starter_web/assets/_data/galleries.json +0 -160
- data/lib/starter_web/assets/_data/mdi_icons.json +0 -14641
- data/lib/starter_web/assets/_data/menu.html +0 -469
- data/lib/starter_web/assets/_data/messages.yml +0 -130
- data/lib/starter_web/assets/_data/objects.json +0 -458
- data/lib/starter_web/assets/_data/panel.html +0 -501
- data/lib/starter_web/assets/_data/panel.new.html +0 -498
- data/lib/starter_web/assets/_data/quicklinks.html +0 -178
- data/lib/starter_web/assets/_data/search.yml +0 -131
- data/lib/starter_web/assets/_data/sidebar.html +0 -261
- data/lib/starter_web/assets/_data/themes.json +0 -59
- data/lib/starter_web/assets/_data/twa_v1.json +0 -6978
- data/lib/starter_web/assets/_data/twa_v2.json +0 -12812
- data/lib/starter_web/assets/_data/webhook.html +0 -190
@@ -1,239 +0,0 @@
|
|
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) 2019 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
|
-
# -----------------------------------------------------------------------------
|
21
|
-
# Test data:
|
22
|
-
# {{ variable | debug }}
|
23
|
-
# -----------------------------------------------------------------------------
|
24
|
-
{% endcomment %}
|
25
|
-
|
26
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Footer generated: {{site.time}}] -->
|
27
|
-
|
28
|
-
{% comment %} Liquid procedures
|
29
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
-
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
31
|
-
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
32
|
-
{% capture about_box %}themes/{{site.template.name}}/blocks/footer/boxes/about_box.proc{% endcapture %}
|
33
|
-
{% capture news_box %}themes/{{site.template.name}}/blocks/footer/boxes/news_box.proc{% endcapture %}
|
34
|
-
{% capture links_box %}themes/{{site.template.name}}/blocks/footer/boxes/links_box.proc{% endcapture %}
|
35
|
-
{% capture contacts_box %}themes/{{site.template.name}}/blocks/footer/boxes/contacts_box.proc{% endcapture %}
|
36
|
-
{% capture legal_statements %}themes/{{site.template.name}}/blocks/footer/boxes/legal_statements.proc{% endcapture %}
|
37
|
-
{% capture issue %}themes/{{site.template.name}}/blocks/footer/boxes/issue.proc{% endcapture %}
|
38
|
-
{% capture social_media_icons %}themes/{{site.template.name}}/blocks/footer/boxes/social_media_icons.proc{% endcapture %}
|
39
|
-
|
40
|
-
|
41
|
-
{% comment %} Process YML config data
|
42
|
-
================================================================================ {% endcomment %}
|
43
|
-
|
44
|
-
{% comment %} Set config files
|
45
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
46
|
-
{% assign footer_config_defaults = site.data.blocks.defaults.footer %}
|
47
|
-
{% assign footer_config_settings = site.data.blocks.footer %}
|
48
|
-
|
49
|
-
{% comment %} Set config data
|
50
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
-
{% assign footer_config_defaults = footer_config_defaults.defaults %}
|
52
|
-
{% assign footer_config_settings = footer_config_settings.settings %}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
{% comment %} Variables
|
57
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
58
|
-
|
59
|
-
{% comment %} Set HELPER variables
|
60
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
61
|
-
{% capture footer_config_file_name %}~/_data/modules/footer.yml{% endcapture %}
|
62
|
-
|
63
|
-
|
64
|
-
{% comment %} Main
|
65
|
-
================================================================================ {% endcomment %}
|
66
|
-
{% for items in footer_config_settings %}
|
67
|
-
{% assign key = items[0] %}
|
68
|
-
{% assign value = items[1] %}
|
69
|
-
{% assign footer_config = value %}
|
70
|
-
|
71
|
-
{% for items in footer_config %}
|
72
|
-
{% for footers in items %}
|
73
|
-
|
74
|
-
{% if debug %} footers: {{ footers }} {% endif %}
|
75
|
-
|
76
|
-
{% comment %} parse settings for MAIN keys
|
77
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
78
|
-
{% for footer in footers %}
|
79
|
-
{% assign data_type = footer | is_type %}
|
80
|
-
{% if data_type == 'hash' %}
|
81
|
-
{% assign footer_settings = footer %}
|
82
|
-
{% endif %}
|
83
|
-
{% endfor %}
|
84
|
-
|
85
|
-
{% if debug %} <!-- footer_settings.boxes: {{ footer_settings.boxes }} --> {% endif %}
|
86
|
-
|
87
|
-
|
88
|
-
{% comment %} process current footer
|
89
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
90
|
-
{% if footer_settings.enabled %}
|
91
|
-
|
92
|
-
{% assign enabled_boxes = 0 %}
|
93
|
-
{% assign footer_options = footer_config_defaults.footer | merge: footer_settings %}
|
94
|
-
{% if debug %} <!-- footer_options: {{ footer_options }} --> {% endif %}
|
95
|
-
|
96
|
-
{% comment %} Calculate number of enabled footer boxes
|
97
|
-
------------------------------------------------------------------------ {% endcomment %}
|
98
|
-
{% for property in footer_options.boxes %}
|
99
|
-
{% if debug %} <!-- property: {{property}} --> {% endif %}
|
100
|
-
{% if property.enabled %} {% assign enabled_boxes = enabled_boxes | plus:1 %} {% endif %}
|
101
|
-
{% endfor %}
|
102
|
-
{% assign footer_box_width_md = 12 | divided_by:enabled_boxes %}
|
103
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Set footer box column width to: {{ footer_box_width_md }}] -->
|
104
|
-
|
105
|
-
<!-- div id="{{footer_config_defaults.container-id}}" class="{{footer_options.theme}}" -->
|
106
|
-
<div id="{{footer_config_defaults.container-id}}">
|
107
|
-
<div class="footer">
|
108
|
-
|
109
|
-
<div class="container">
|
110
|
-
<div class="row">
|
111
|
-
|
112
|
-
{% comment %} Collect footer config data
|
113
|
-
------------------------------------------------------------------ {% endcomment %}
|
114
|
-
{% for box in footer_options.boxes %}
|
115
|
-
|
116
|
-
{% comment %} COLLECT|PLACE footer boxes
|
117
|
-
---------------------------------------------------------------- {% endcomment %}
|
118
|
-
{% case box.type %}
|
119
|
-
|
120
|
-
{% comment %} PLACE AboutBox
|
121
|
-
---------------------------------------------------------------- {% endcomment %}
|
122
|
-
{% when 'about' %}
|
123
|
-
{% if box.enabled %}
|
124
|
-
{% include {{about_box}} title=box.title tagline=box.tagline text=box.text justify=box.justify %}
|
125
|
-
{% endif %}
|
126
|
-
|
127
|
-
{% comment %} Reset element variable
|
128
|
-
-------------------------------------------------------------- {% endcomment %}
|
129
|
-
{% assign footer_options.boxes = nil %}
|
130
|
-
|
131
|
-
{% comment %} PLACE NewsBox
|
132
|
-
---------------------------------------------------------------- {% endcomment %}
|
133
|
-
{% when 'news' %}
|
134
|
-
{% if box.enabled %}
|
135
|
-
{% include {{news_box}} title=box.title tagline=box.tagline category=box.category max_posts=box.max_posts posts=site.posts %}
|
136
|
-
{% endif %}
|
137
|
-
|
138
|
-
{% comment %} Reset element variable
|
139
|
-
-------------------------------------------------------------- {% endcomment %}
|
140
|
-
{% assign footer_options.boxes = nil %}
|
141
|
-
|
142
|
-
{% comment %} PLACE LinksBox
|
143
|
-
--------------------------------------------------------------- {% endcomment %}
|
144
|
-
{% when 'references' %}
|
145
|
-
{% if box.enabled %}
|
146
|
-
{% include {{links_box}} title=box.title tagline=box.tagline links=box.links %}
|
147
|
-
{% endif %}
|
148
|
-
|
149
|
-
{% comment %} Reset element variable
|
150
|
-
-------------------------------------------------------------- {% endcomment %}
|
151
|
-
{% assign footer_options.boxes = nil %}
|
152
|
-
|
153
|
-
{% comment %} PLACE ContactsBox
|
154
|
-
--------------------------------------------------------------- {% endcomment %}
|
155
|
-
{% when 'contact' %}
|
156
|
-
{% if box.enabled %}
|
157
|
-
{% include {{contacts_box}} %}
|
158
|
-
{% endif %}
|
159
|
-
|
160
|
-
{% comment %} Reset element variable
|
161
|
-
-------------------------------------------------------------- {% endcomment %}
|
162
|
-
{% assign footer_options.boxes = nil %}
|
163
|
-
|
164
|
-
{% else %}
|
165
|
-
{% comment %} Collect EXCEPTION
|
166
|
-
-------------------------------------------------------------- {% endcomment %}
|
167
|
-
{% unless box.type == 'exception_container' %}
|
168
|
-
<div id="exception_container">
|
169
|
-
<div id="{{panel_settings.id}}" class="container-fluid no-padding">
|
170
|
-
<div class="col-md-12 col-sm-12 col-xs-12 no-padding">
|
171
|
-
<div class="box">
|
172
|
-
<div class="content content-danger">
|
173
|
-
<h2 class="notoc">
|
174
|
-
<i class="mdi mdi-alarm-light mdi-3x mdi-md-red mr-1"></i>
|
175
|
-
panel of type <big>{{panel_settings.type}}</big> not found
|
176
|
-
</h2>
|
177
|
-
<h4 class="notoc box-title">Check your configuration at {{panel_config_file_name}}</h4>
|
178
|
-
<div class="box-description">
|
179
|
-
Don't worry about this. Maybe you've a typo in the panel configuration.
|
180
|
-
Check the panel config file for the unknown type. <br />
|
181
|
-
Check for something wrong like:
|
182
|
-
<div class="mt-2 mb-2">
|
183
|
-
<b>id: {{panel_settings.id}}</b> <br />
|
184
|
-
<b>type: {{panel_settings.type}}</b> <br />
|
185
|
-
<b>comment: {{panel_settings.comment}}</b>
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
</div>
|
190
|
-
</div>
|
191
|
-
</div> <!-- End panel {{panel_settings.id}} -->
|
192
|
-
</div> <!-- End exception_container -->
|
193
|
-
{% endunless %}
|
194
|
-
|
195
|
-
{% endcase %}
|
196
|
-
|
197
|
-
{% comment %} END footer boxes
|
198
|
-
---------------------------------------------------------------- {% endcomment %}
|
199
|
-
|
200
|
-
{% endfor %}
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
</div>
|
204
|
-
|
205
|
-
{% comment %} COLLECT|PLACE copyright|issue date information
|
206
|
-
---------------------------------------------------------------------- {% endcomment %}
|
207
|
-
<div class="copyright">
|
208
|
-
<div class="container">
|
209
|
-
<div class="row">
|
210
|
-
<!-- [INFO ] [j1.assets.data.footer ] [Enable horizontal list using id #inline] -->
|
211
|
-
<div class="col-md-10" id="inline">
|
212
|
-
{% include {{legal_statements}} legals=footer_options.legals %}
|
213
|
-
</div>
|
214
|
-
<div class="col-md-10" id="inline">
|
215
|
-
{% include {{issue}} %}
|
216
|
-
</div>
|
217
|
-
<div class="col-md-2">
|
218
|
-
{% include {{social_media_icons}} icons=footer_options.icons %}
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
</div>
|
225
|
-
|
226
|
-
{% comment %} Reset element variables (already processed)
|
227
|
-
------------------------------------------------------------------------ {% endcomment %}
|
228
|
-
{% assign footer_settings = nil %}
|
229
|
-
|
230
|
-
{% endif %}
|
231
|
-
|
232
|
-
{% endfor %}
|
233
|
-
{% endfor %}
|
234
|
-
{% endfor %}
|
235
|
-
|
236
|
-
{% endcapture %}
|
237
|
-
|
238
|
-
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
239
|
-
{% assign cache = nil %}
|
@@ -1,160 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: false
|
3
|
-
---
|
4
|
-
|
5
|
-
{% capture j1_cache %}
|
6
|
-
|
7
|
-
{% comment %}
|
8
|
-
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/data/galleries.json
|
10
|
-
# Liquid JSON template for ALL Justified Galleries configured
|
11
|
-
#
|
12
|
-
# Product/Info:
|
13
|
-
# http://jekyll.one
|
14
|
-
#
|
15
|
-
# Copyright (C) 2019 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
|
-
# -----------------------------------------------------------------------------
|
21
|
-
#
|
22
|
-
# The Liquid template galleries.json is used by J1 Justified Gallery.
|
23
|
-
# This template is a helper that creates the gallery (JSON) data
|
24
|
-
# for all galleries configured (if enabled or NOT). It's used by
|
25
|
-
# the J1 Template Adapter to LOAD the gallery HTML markup portion
|
26
|
-
# via AJAX get.
|
27
|
-
#
|
28
|
-
# The Liquid template engine generates a JSON file as an object of
|
29
|
-
# arrays that contains all image data used by several sliders. See
|
30
|
-
# below the fields taken from the YAML data file:
|
31
|
-
# ~/_data/modules/j1_justified_gallery.yml.
|
32
|
-
#
|
33
|
-
# NOTE:
|
34
|
-
# Be careful changing the Liquid code. If the code is changed, check
|
35
|
-
# the integrity of the JSON data created. Corrupted JSON data makes
|
36
|
-
# the Javascript of an Adapter to fail and no functionality will
|
37
|
-
# be available for most UNCLEAR reasons.
|
38
|
-
#
|
39
|
-
# -----------------------------------------------------------------------------
|
40
|
-
# Test data:
|
41
|
-
# {{ liquid_var | debug }}
|
42
|
-
# -----------------------------------------------------------------------------
|
43
|
-
{% endcomment %}
|
44
|
-
|
45
|
-
{% comment %} Process YML config data
|
46
|
-
================================================================================ {% endcomment %}
|
47
|
-
|
48
|
-
{% comment %} Set config files
|
49
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
50
|
-
{% assign apps = site.data.apps %}
|
51
|
-
|
52
|
-
{% comment %} Set config data
|
53
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
54
|
-
{% assign bg_config_defaults = apps.defaults.bootstrap_gallery.defaults %}
|
55
|
-
{% assign bg_config_settings = apps.bootstrap_gallery.settings %}
|
56
|
-
{% assign jg_config_defaults = apps.defaults.justified_gallery.defaults %}
|
57
|
-
{% assign jg_config_settings = apps.justified_gallery.settings %}
|
58
|
-
|
59
|
-
{% comment %} Set config options
|
60
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
61
|
-
{% assign bg_config = bg_config_defaults | merge: bg_config_settings %}
|
62
|
-
{% assign jg_config = jg_config_defaults | merge: jg_config_settings %}
|
63
|
-
|
64
|
-
|
65
|
-
{
|
66
|
-
{% for item in jg_config.galleries %}
|
67
|
-
"{{ item.gallery.id }}" : [
|
68
|
-
|
69
|
-
{% if item.gallery.type == "image"%}
|
70
|
-
{% for image in item.gallery.images %}
|
71
|
-
{% assign image_no = forloop.index %}
|
72
|
-
{% capture image_full_path %}{{ item.gallery.images_path }}/{{ image }}{% endcapture %}
|
73
|
-
{
|
74
|
-
{% if item.gallery.captions_lightbox %}
|
75
|
-
{% for caption in item.gallery.captions_lightbox %}
|
76
|
-
{% if forloop.index == image_no %}
|
77
|
-
"captions_lightbox": "{{ caption }}",
|
78
|
-
{% endif %}
|
79
|
-
{% endfor %}
|
80
|
-
{% endif %}
|
81
|
-
{% if item.gallery.captions_gallery %}
|
82
|
-
{% for caption in item.gallery.captions_gallery %}
|
83
|
-
{% if forloop.index == image_no %}
|
84
|
-
"captions_gallery": "{{ caption }}",
|
85
|
-
{% endif %}
|
86
|
-
{% endfor %}
|
87
|
-
{% endif %}
|
88
|
-
"img": "{{ image_full_path }}"
|
89
|
-
}{% if forloop.last %}{% else %},{% endif %}
|
90
|
-
{% endfor %}
|
91
|
-
{% endif %}
|
92
|
-
],
|
93
|
-
{% endfor %}
|
94
|
-
{% for item in bg_config.galleries %}
|
95
|
-
"{{ item.gallery.id }}" : [
|
96
|
-
|
97
|
-
{% if item.gallery.type == "image"%}
|
98
|
-
{% for image in item.gallery.images %}
|
99
|
-
{% assign image_no = forloop.index %}
|
100
|
-
{% capture image_full_path %}{{ item.gallery.images_path }}/{{ image }}{% endcapture %}
|
101
|
-
{
|
102
|
-
{% if item.gallery.captions_lightbox %}
|
103
|
-
{% for caption in item.gallery.captions_lightbox %}
|
104
|
-
{% if forloop.index == image_no %}
|
105
|
-
"captions_lightbox": "{{ caption }}",
|
106
|
-
{% endif %}
|
107
|
-
{% endfor %}
|
108
|
-
{% endif %}
|
109
|
-
{% if item.gallery.captions_gallery %}
|
110
|
-
{% for caption in item.gallery.captions_gallery %}
|
111
|
-
{% if forloop.index == image_no %}
|
112
|
-
"captions_gallery": "{{ caption }}",
|
113
|
-
{% endif %}
|
114
|
-
{% endfor %}
|
115
|
-
{% endif %}
|
116
|
-
"img": "{{ image_full_path }}"
|
117
|
-
}{% if forloop.last %}{% else %},{% endif %}
|
118
|
-
{% endfor %}
|
119
|
-
{% endif %}
|
120
|
-
|
121
|
-
{% if item.gallery.type == "video-html5" or item.gallery.type == "video-online"%}
|
122
|
-
{% for video in item.gallery.videos %}
|
123
|
-
{% assign image_no = forloop.index %}
|
124
|
-
{
|
125
|
-
{% if item.gallery.type == "video-html5" %}
|
126
|
-
"video_path": "{{ item.gallery.video_path }}",
|
127
|
-
"video_id": "{{ video | slugify }}",
|
128
|
-
{% endif %}
|
129
|
-
"image_path": "{{ item.gallery.image_path }}",
|
130
|
-
{% for poster in item.gallery.poster %}
|
131
|
-
{% if forloop.index == image_no %}
|
132
|
-
"poster": "{{ poster }}",
|
133
|
-
{% endif %}
|
134
|
-
{% endfor %}
|
135
|
-
"video": "{{ video }}",
|
136
|
-
{% if item.gallery.captions_lightbox %}
|
137
|
-
{% for caption in item.gallery.captions_lightbox %}
|
138
|
-
{% if forloop.index == image_no %}
|
139
|
-
"captions_lightbox": "{{ caption }}",
|
140
|
-
{% endif %}
|
141
|
-
{% endfor %}
|
142
|
-
{% endif %}
|
143
|
-
{% if item.gallery.captions_gallery %}
|
144
|
-
{% for caption in item.gallery.captions_gallery %}
|
145
|
-
{% if forloop.index == image_no %}
|
146
|
-
"captions_gallery": "{{ caption }}"
|
147
|
-
{% endif %}
|
148
|
-
{% endfor %}
|
149
|
-
{% endif %}
|
150
|
-
}{% if forloop.last %}{% else %},{% endif %}
|
151
|
-
{% endfor %}
|
152
|
-
{% endif %}
|
153
|
-
|
154
|
-
]{% if forloop.last %}{% else %},{% endif %}
|
155
|
-
{% endfor %}
|
156
|
-
}
|
157
|
-
|
158
|
-
{% endcapture %}
|
159
|
-
{{ j1_cache | strip_empty_lines }}
|
160
|
-
{% assign j1_cache = nil %}
|