appscms-tools-theme 3.5.1 → 3.5.2

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/feature.html +45 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc31d15ade11dc4182ca96658569b7085bb61ed1ee9d12c25deee66702801899
4
- data.tar.gz: 0022064dc97913c97dcfb683f0021ba1218c2c5a614389653186fcfa70cd0a0d
3
+ metadata.gz: fe9f797519e3684b9e03027cf55ea9ad3bcc35ebc7e8b8863260866e0e27afc4
4
+ data.tar.gz: ed59d5f103c51cd34a540bfaaff4a19c76787cf94726c4a8aa1e0d135d2efc37
5
5
  SHA512:
6
- metadata.gz: 855d136e2a4437a8fb5d6594e2444065c483f191b92d7bb66928bc2ef119893e72be3b1686a9ab4385e94984429a3eb9e5311d7796d263dfbb6e46d1ace30774
7
- data.tar.gz: b9439412b66776f8160ce6e49c4b080c04a706f4bf252a452d1a97dc719820a7f4d5af7b698380bf50110813a6d966c958ddb9d0c8324c6c78cd7d6fd5341a42
6
+ metadata.gz: 440975de689a4441191d11f86d1906560f7009cc7370654136ea13badefa3223f33a4ae1947d9e1102fc49e841d7df34d0c279f919ee9fa7208f48f6e0a955d9
7
+ data.tar.gz: 7f0d6cda4fec28099ebee880a1ef0b5b0fda1c6c38a17e3a8988aaa6b4569f2f6022186a2ac81c825f405b9b60d1100cd3b800c4dcff6747d1b47c785bb2dfd4
@@ -140,30 +140,39 @@
140
140
  <div class="w-100 line" style="border-top: 1px solid rgb(224, 224, 224)"></div>
141
141
  {%- endif -%}
142
142
 
143
-
144
-
145
-
146
143
  <div class="container mt-4 mb-5">
147
144
  <div class="row px-0">
148
145
  {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
149
-
150
146
  <div class="col-md-9 mx-auto">
151
147
  <div class="row">
152
- {%- endif -%} {% for data in featureData.TEXTUAL_CONTENT %}
148
+ {%- endif -%}
149
+ {% assign totalHeaderCount = 0 %}
150
+ {% for data in featureData.TEXTUAL_CONTENT %}
151
+ {% assign words = data.header | split: " " %}
152
+ {% assign word_count = words | size %}
153
+ {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
154
+ {% endfor %}
155
+ {% for data in featureData.TEXTUAL_CONTENT %}
153
156
  <div
154
157
  class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}">
155
158
  <div>
156
159
  <img class="feature-card-img" src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px"
157
160
  alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
158
161
  <div class="feature-card-title">
162
+ {%- if totalHeaderCount > site.count_of_words_in_headings -%}
163
+ {%- for word in featureh2 -%} {%- if forloop.first == true -%} {{word
164
+ | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
165
+ {%- else -%}
159
166
  {{data.header | replace: "$variable", page.value}}
167
+ {%- endif -%}
160
168
  </div>
161
169
  <div class="feature-card-desc">
162
170
  {{data.content | replace: "$variable", page.value}}
163
171
  </div>
164
172
  </div>
165
173
  </div>
166
- {% endfor %} {%- if site.monumetricId and page.url != '/' and
174
+ {% endfor %}
175
+ {%- if site.monumetricId and page.url != '/' and
167
176
  page.lang == 'en' -%}
168
177
  </div>
169
178
  </div>
@@ -174,12 +183,30 @@
174
183
  <div class="container">
175
184
  <div class="row">
176
185
  {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
177
-
178
186
  <div class="col-md-9 mx-auto">
179
187
  <div class="row">
180
188
  {%- endif -%}
181
189
  <div class="col-md-6 order-0">
182
- {%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
190
+ {%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl.size > 0 -%}
191
+ <div class="how-to-video-wrapper">
192
+ {% assign video_url = featureData.HOW_TO_CONTENT.YoutubeVideoUrl %}
193
+ {% assign params = video_url | split: "?" | last | split: "&" %}
194
+ {% for param in params %}
195
+ {% if param contains "v=" %}
196
+ {% assign video_id = param | split: "=" | last %}
197
+ {% endif %}
198
+ {% endfor %}
199
+
200
+ {%- if site.monumetricId -%}
201
+ <iframe class="youtubeVideoPlayer mb-5" width="400" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
202
+ </iframe>
203
+ {%- else -%}
204
+ <iframe class="youtubeVideoPlayer mb-5" width="500" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
205
+ </iframe>
206
+ {%- endif -%}
207
+
208
+ </div>
209
+ {%- else -%}
183
210
  <div class="how-to-img-wrapper">
184
211
  <img class="how-to-leftimg" height="180px" width="300px"
185
212
  src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
@@ -187,6 +214,7 @@
187
214
  -%} crossorigin {%- endif -%} />
188
215
  </div>
189
216
  {%- endif -%}
217
+
190
218
  </div>
191
219
  <div class="col-md-6 order-1">
192
220
  <div class="how-to-right">
@@ -213,6 +241,8 @@
213
241
  </div>
214
242
  </div>
215
243
  </section>
244
+
245
+
216
246
  {%- if page.layout == "feature" -%} {%- include bookmark.html -%} {%- endif
217
247
  -%} {%- assign showFaqs= true -%} {%- for item in site.noFaqsList -%} {%- if
218
248
  item == page.lang -%} {%- assign showFaqs = false -%} {%- break -%} {%- else
@@ -248,7 +278,9 @@
248
278
  </div>
249
279
  </section>
250
280
  {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
251
- include Rating/rating.html -%} {%- include /Usp/usp.html -%} {%- if
281
+ include Rating/rating.html -%} {%- if featureData.infographics.size > 0 -%}
282
+ {%- include infographics/infographics.html -%}
283
+ {%- endif -%} {%- include /Usp/usp.html -%} {%- if
252
284
  featureData.display_formats -%}
253
285
  <div class="container compare-table">
254
286
  {%- include fileformat/fileformatdetail.html -%}
@@ -268,7 +300,10 @@
268
300
  section/recent_posts.html -%} {% endif %} {%- if site.customblogdata -%} {%-
269
301
  if categories.size> 0 or tags.size>0-%} {%- include
270
302
  customblog/relatedposts.html -%} {%- else -%} {%- include
271
- customblog/recentposts.html -%} {% endif %} {%- endif -%} {% include
303
+ customblog/recentposts.html -%} {% endif %} {%- endif -%}
304
+ {%- if featureData.author.size > 0 -%}
305
+ {% include featurePageAuthors/featurePageAuthors.html %}
306
+ {%- endif -%} {% include
272
307
  footer/index.html %} {% include script.html %}
273
308
  </body>
274
309
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1
4
+ version: 3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms