appscms-tools-theme 3.3.7 → 3.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ee19e7d9928caf80dbd42421fb6733b0ad7f20806fd5c03f12140a7f95447e4
4
- data.tar.gz: 8b42ac30d502b3ccc16b373b9fe9d6349cc990e508e0eee3fd58a415aacc8844
3
+ metadata.gz: 53f32361454cb329036077cc410fbee29b7e035da81a456d663de435f12f8f87
4
+ data.tar.gz: 381f27f423b9fabbb78c5fd24c6d5ed60255e8a3f29e9405a85e884b6de6aabe
5
5
  SHA512:
6
- metadata.gz: 0e8b92de27bd4d0bb083d098a26a35b5bf0c8d1954168a364581a22822a9bb242817e947217a49efad31ba4a9a6a1ae4f75f96c35b9ccbd8330b314e92832632
7
- data.tar.gz: 4b31c6839f3f628589499ae3e9416baa91b31278e684744907eb2c4274536127503de792f43ba44310e1418fd9896b28aaae5d95fcf0d3dc03f0f615f1214cbb
6
+ metadata.gz: '079cce186287327f16622cab9fd73a5c9c9a03d773b1724c4dda3c4705b55013fb4a8da45f5d3111718eefe900428aa916369802ea0af7114cb87aba3061f9c5'
7
+ data.tar.gz: 70f03ee39def81c9d2e4a2314be992b9296ca5e67e4f38c3a6ba949d29961afbb79966d01d47c7ac42195e7ffc9f02822223c2565515440af98a67913e6757dd
@@ -33,6 +33,20 @@
33
33
  "name": "Nikita"
34
34
  }
35
35
  ],
36
+ "infographics": [
37
+ {
38
+ "image": "https://venngage-wordpress-gallery.s3.amazonaws.com/uploads/2016/09/8-ways-to-fortify-the-usability-of-your-website-design.png",
39
+ "description": "desc"
40
+ },
41
+ {
42
+ "image": "path",
43
+ "description": "desc"
44
+ },
45
+ {
46
+ "image": "path",
47
+ "description": "desc"
48
+ }
49
+ ],
36
50
  "TEXTUAL_CONTENT": [
37
51
  {
38
52
  "priority": 1,
@@ -0,0 +1,19 @@
1
+ <style>
2
+ .infographics_section{
3
+ width: 100%;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ padding: 50px 0px 50px 0px;
8
+ border-top: 1px solid rgb(224, 224, 224);
9
+ }
10
+ </style>
11
+ <div class="infographics_section">
12
+ <div class="row">
13
+ <div class="col-md-9 mx-auto">
14
+ {%- for item in featureData.infographics -%}
15
+ <img src="{{item.image}}" alt="">
16
+ {%- endfor -%}
17
+ </div>
18
+ </div>
19
+ </div>
data/_layouts/author.html CHANGED
@@ -320,16 +320,16 @@
320
320
  <div class="card-footer bg-white">
321
321
  <div class="wrapfooter">
322
322
  {% if post.author %}
323
- <span class="meta-footer-thumb">
323
+ <a href="/author/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
324
324
  <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
325
- </span>
325
+ </a>
326
326
  {% endif %}
327
- <span class="author-meta">
327
+ <div class="author-meta">
328
328
  <span class="post-name">
329
- <a target="_blank" href="/blog">{{authorName | capitalize }}</a>
329
+ <a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
330
330
  </span><br>
331
331
  <span class="post-date">{{post.date | date_to_string }}</span>
332
- </span>
332
+ </div>
333
333
  </div>
334
334
  </div>
335
335
  </div>
@@ -339,28 +339,32 @@
339
339
  </div>
340
340
 
341
341
  {% for post in posts %}
342
- {%- assign postAuthor = post.author | downcase -%}
343
- {%- assign pageLabel = page.label | downcase -%}
344
- {%- if postAuthor contains pageLabel -%}
342
+ {%- for item in post.contributors -%}
343
+ {%- assign pageAuthorName = pageAuthorName | downcase -%}
344
+ {%- assign contributorAuthor = item.name | downcase -%}
345
+ {%- if pageAuthorName contains contributorAuthor -%}
345
346
  {%- if post.contributors.size > 0 -%}
346
347
  {%- assign all_Contributors = post.contributors -%}
347
348
  {%- assign boolean = true -%}
348
349
  {%- endif -%}
349
350
  {%- endif -%}
350
351
  {% endfor %}
352
+ {% endfor %}
353
+
351
354
 
352
355
  {%- if boolean == true -%}
353
356
  <h3 class="mb-4 mt-5 contributors-articles-label">Contributed Articles</h3>
354
357
  {%- endif -%}
355
358
 
359
+
356
360
  <div class="row">
357
361
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
358
362
  {% for post in posts %}
359
363
  {%- include /authors/authors.html -%}
360
- {%- for item in all_Contributors -%}
361
- {%- assign authors_name = authorName | downcase -%}
364
+ {%- for item in post.contributors -%}
365
+ {%- assign pageAuthorName = pageAuthorName | downcase -%}
362
366
  {%- assign contributorAuthor = item.name | downcase -%}
363
- {%- if authors_name contains contributorAuthor -%}
367
+ {%- if pageAuthorName contains contributorAuthor -%}
364
368
  <div class="col-md-6 mb-4 card-group">
365
369
  <div class="card h-100">
366
370
  <a href="{{ post.url }}">
@@ -376,16 +380,16 @@
376
380
  <div class="card-footer bg-white">
377
381
  <div class="wrapfooter">
378
382
  {% if post.author %}
379
- <span class="meta-footer-thumb">
383
+ <a href="/author/{{authorName | downcase | replace: ' ' , '-' }}" class="meta-footer-thumb">
380
384
  <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
381
- </span>
385
+ </a>
382
386
  {% endif %}
383
- <span class="author-meta">
387
+ <div class="author-meta">
384
388
  <span class="post-name">
385
- <a target="_blank" href="/blog">{{authorName | capitalize }}</a>
389
+ <a target="_blank" href="/author/{{authorName | downcase | replace: ' ' , '-' }}">{{authorName | capitalize }}</a>
386
390
  </span><br>
387
391
  <span class="post-date">{{post.date | date_to_string }}</span>
388
- </span>
392
+ </div>
389
393
  </div>
390
394
  </div>
391
395
  </div>
@@ -331,8 +331,9 @@
331
331
  </div>
332
332
  </div>
333
333
  </section>
334
- {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
335
- include Rating/rating.html -%} {%- include /Usp/usp.html -%} {%- if
334
+ {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%}
335
+ {%- include Rating/rating.html -%}
336
+ {%- include /Usp/usp.html -%} {%- if
336
337
  featureData.display_formats -%}
337
338
  <div class="container compare-table">
338
339
  {%- include fileformat/fileformatdetail.html -%}
data/_layouts/home.html CHANGED
@@ -112,7 +112,14 @@
112
112
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
113
113
  <div class="col-md-9 mx-auto">
114
114
  <div class="row">
115
- {%- endif -%} {% for data in homeData.TEXTUAL_CONTENT %}
115
+ {%- endif -%}
116
+ {% assign totalHeaderCount = 0 %}
117
+ {% for data in homeData.TEXTUAL_CONTENT %}
118
+ {% assign words = data.header | split: " " %}
119
+ {% assign word_count = words | size %}
120
+ {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
121
+ {% endfor %}
122
+ {% for data in homeData.TEXTUAL_CONTENT %}
116
123
  <div
117
124
  class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}"
118
125
  >
@@ -134,7 +141,13 @@
134
141
  -%}
135
142
  />
136
143
  <div class="feature-card-title">
144
+ {%- if totalHeaderCount > site.count_of_words_in_headings -%}
145
+ {%- for word in homeData.h2 -%} {%- if forloop.first == true -%}
146
+ {{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor
147
+ -%}
148
+ {%- else -%}
137
149
  {{data.header | replace: "$variable", page.value}}
150
+ {%- endif -%}
138
151
  </div>
139
152
  <div class="feature-card-desc">
140
153
  {{data.content | replace: "$variable", page.value}}
@@ -157,7 +170,12 @@
157
170
  <div class="row">
158
171
  {%- endif -%}
159
172
  <div class="col-md-6 order-0">
160
- {%- if homeData.HOW_TO_CONTENT.logoImageUrl -%}
173
+ {%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl -%}
174
+ <div class="how-to-video-wrapper">
175
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/{{featureData.HOW_TO_CONTENT.YoutubeVideoUrl}}?autoplay=1&mute=1">
176
+ </iframe>
177
+ </div>
178
+ {%- else -%}
161
179
  <div class="how-to-img-wrapper">
162
180
  <img
163
181
  class="how-to-leftimg"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7
4
+ version: 3.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -129,6 +129,7 @@ files:
129
129
  - _includes/head/index.html
130
130
  - _includes/header/blogHeader.html
131
131
  - _includes/header/index.html
132
+ - _includes/infographics/infographics.html
132
133
  - _includes/languages/languages.html
133
134
  - _includes/monumetric/ads.html
134
135
  - _includes/monumetric/monumetric.html