appscms-tools-theme 5.7.6 → 5.8.1

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 (70) hide show
  1. checksums.yaml +4 -4
  2. data/_data/.DS_Store +0 -0
  3. data/_data/feature/.DS_Store +0 -0
  4. data/_data/feature/en/test.json +222 -0
  5. data/_data/feature/hi/test.json +222 -0
  6. data/_data/i18n/ar.json +175 -0
  7. data/_data/i18n/da.json +175 -0
  8. data/_data/i18n/de.json +175 -0
  9. data/_data/i18n/en.json +175 -0
  10. data/_data/i18n/es.json +175 -0
  11. data/_data/i18n/fr.json +175 -0
  12. data/_data/i18n/hi.json +175 -0
  13. data/_data/i18n/id.json +175 -0
  14. data/_data/i18n/it.json +175 -0
  15. data/_data/i18n/ja.json +175 -0
  16. data/_data/i18n/ko.json +175 -0
  17. data/_data/i18n/nl.json +175 -0
  18. data/_data/i18n/pl.json +175 -0
  19. data/_data/i18n/pt.json +175 -0
  20. data/_data/i18n/ru.json +175 -0
  21. data/_data/i18n/sv.json +175 -0
  22. data/_data/i18n/th.json +175 -0
  23. data/_data/i18n/tr.json +175 -0
  24. data/_data/i18n/uk.json +175 -0
  25. data/_data/i18n/vi.json +175 -0
  26. data/_data/i18n/zh-tw.json +175 -0
  27. data/_data/i18n/zh.json +175 -0
  28. data/_includes/.DS_Store +0 -0
  29. data/_includes/Rating/rating.html +4 -3
  30. data/_includes/appscms/customblog/pageRelatedPosts.html +3 -1
  31. data/_includes/appscms/customblog/recentposts.html +19 -18
  32. data/_includes/appscms/customblog/relatedBlogs.html +3 -1
  33. data/_includes/appscms/customblog/relatedposts.html +3 -1
  34. data/_includes/appscms/extras/ratings.html +16 -14
  35. data/_includes/appscms/faq/faq.html +3 -1
  36. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +17 -11
  37. data/_includes/appscms/featurehighlight/featurehighlight.html +1 -0
  38. data/_includes/appscms/footer/footer.html +460 -443
  39. data/_includes/appscms/footer/products.html +25 -20
  40. data/_includes/appscms/footer/static-footer.html +99 -85
  41. data/_includes/appscms/head/bloghead.html +1 -1
  42. data/_includes/appscms/home/latest-features-display.html +1 -1
  43. data/_includes/appscms/infographics/infographics.html +5 -3
  44. data/_includes/appscms/recent-posts/recent_posts.html +3 -1
  45. data/_includes/appscms/recent-posts/related_categories_post.html +3 -1
  46. data/_includes/appscms/reviews/trustpilot.html +13 -11
  47. data/_includes/appscms/uploadbutton/uploadbutton.html +23 -4
  48. data/_includes/appscms/usp/usp.html +16 -15
  49. data/_includes/contenttool_result_banner.html +61 -15
  50. data/_includes/customblog/pageRelatedPosts.html +3 -1
  51. data/_includes/customblog/relatedBlogs.html +3 -1
  52. data/_includes/customblog/relatedposts.html +3 -1
  53. data/_includes/feature/editor.html +669 -0
  54. data/_includes/featurePageAuthors/featurePageAuthors.html +17 -8
  55. data/_includes/footer/index.html +2 -2
  56. data/_includes/infographics/infographics.html +3 -1
  57. data/_includes/internationalization-section.html +3 -1
  58. data/_includes/section/related_categories_post.html +3 -1
  59. data/_layouts/appscms-author.html +1 -1
  60. data/_layouts/appscms-authors.html +3 -3
  61. data/_layouts/appscms-download.html +193 -135
  62. data/_layouts/appscms-feature.html +7 -5
  63. data/assets/.DS_Store +0 -0
  64. data/assets/images/3126788.png +0 -0
  65. data/assets/images/audio-cutter.png +0 -0
  66. data/assets/images/easy.svg +1 -0
  67. data/assets/images/quality.svg +1 -0
  68. data/assets/images/secure.svg +43 -0
  69. data/assets/images/users.svg +12 -0
  70. metadata +41 -4
@@ -1,17 +1,25 @@
1
- {% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
2
- = page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang | default: 'en' %}
3
+ {% assign t = site.data.i18n[lang] | default: site.data.i18n['en'] %}
4
+ {% assign folder = page.folderName %}
5
+ {% assign enFeatureData = site.data[folder]['en'][file] %}
6
+ {% assign featureData = site.data[folder][lang][file] | default: enFeatureData %}
7
+ {% assign authorVal = featureData.author | default: enFeatureData.author %}
8
+ {% assign rawContributors = featureData.contributors | default: enFeatureData.contributors %}
9
+ {% assign contributors = rawContributors | uniq: 'name' %}
10
+ {%- if authorVal or contributors.size > 0 -%}
3
11
  <section class="authors-list">
4
12
  <div class="container">
5
13
  <div class="row">
6
14
  <div class="col-md-12">
7
- {%- if featureData.author -%}
15
+ {%- if authorVal -%}
8
16
  <h3 class="mb-4 text-center authors-heading font-weight-bolder">
9
- About The Author
17
+ {{ t.theme.about_author | default: "About The Author" }}
10
18
  </h3>
11
19
  {%- endif -%}
12
20
  <div class="row">
13
- {%- if featureData.author -%} {%- include authors/authors.html -%} {%-
14
- assign featureAuthor = featureData.author | split: " " -%} {%- assign
21
+ {%- if authorVal -%} {%- include authors/authors.html -%} {%-
22
+ assign featureAuthor = authorVal | split: " " -%} {%- assign
15
23
  author = featureAuthor.first | downcase -%} {%- assign collection =
16
24
  [author] -%} {%- for item in collection -%} {%- if forloop.index==1
17
25
  -%} {%- assign featureAuthorName = item -%} {%- endif -%} {%- if
@@ -61,13 +69,13 @@
61
69
  {%- assign contributors = featureData.contributors |
62
70
  uniq: 'name' -%} {%- if contributors.size > 0 -%}
63
71
  <h3 class="mb-4 w-100 text-center authors-heading font-weight-bolder">
64
- Contributors
72
+ {{ t.theme.contributors | default: "Contributors" }}
65
73
  </h3>
66
74
  <div class="d-flex justify-content-center w-100" style="gap: 10px">
67
75
  {%- for contributor in contributors -%} {%- assign
68
76
  featureContributorData = contributor.name | split: " " -%}
69
77
  {%- assign featureContributorData = featureContributorData.first | downcase -%}
70
- {%- assign collectionData = [featureContributorData]
78
+ {%- assign collectionData = site.data.authors[featureContributorData]
71
79
  -%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%}
72
80
  {%- assign featureContributorDataName = item -%} {%- endif -%} {%-
73
81
  if forloop.index == 2 -%} {%- assign featureContributorDataImage =
@@ -99,3 +107,4 @@
99
107
  </div>
100
108
  </div>
101
109
  </section>
110
+ {%- endif -%}
@@ -57,7 +57,7 @@
57
57
  {% for data in dataToShow.legal %}
58
58
  <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div>
59
59
  {% endfor %}
60
- {%- if site.internationalization -%}
60
+ {%- if site.internationalization and site.internationalizationall != true -%}
61
61
  <div class="privacy-links-item">
62
62
  <button type="button" class="drop-down-btn" id="int-modal-btn" data-toggle="modal"
63
63
  data-target="#staticBackdrop">
@@ -329,7 +329,7 @@
329
329
  {% for data in dataToShow.legal %}
330
330
  <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div>
331
331
  {% endfor %}
332
- {%- if site.internationalization -%}
332
+ {%- if site.internationalization and site.internationalizationall != true -%}
333
333
  <div class="privacy-links-item">
334
334
  <button type="button" class="drop-down-btn" id="int-modal-btn" data-toggle="modal"
335
335
  data-target="#staticBackdrop">
@@ -117,12 +117,14 @@
117
117
  }
118
118
  }
119
119
  </style>
120
+ {% assign lang = page.lang | default: 'en' %}
121
+ {% assign t = site.data.i18n[lang] | default: site.data.i18n['en'] %}
120
122
  {%- if site.clientid -%}
121
123
  <div class="row">
122
124
  <div class="col-md-8 col-sm-7 mx-auto">
123
125
  {%- endif -%}
124
126
  <div class="inforgraphics_section">
125
- <h3 class="text-center w-100 mb-5"><b>Other useful information</b></h3>
127
+ <h3 class="text-center w-100 mb-5"><b>{{ t.theme.infographics_title | default: "Other useful information" }}</b></h3>
126
128
  <div class="wrapper">
127
129
  <i id="left" class="fas fa-angle-left"></i>
128
130
  <div class="carousel">
@@ -1,3 +1,5 @@
1
+ {% assign lang = page.lang | default: 'en' %}
2
+ {% assign t = site.data.i18n[lang] | default: site.data.i18n['en'] %}
1
3
  {%- include languages/languages.html -%} {%- if page.nointernationalization -%}
2
4
  <div></div>
3
5
  {%- elsif site.internationalizationall -%}
@@ -12,7 +14,7 @@
12
14
  {%- endif -%}
13
15
 
14
16
  <div class="d-flex justify-content-center mt-1">
15
- <h3>Available in</h3>
17
+ <h3>{{ t.theme.available_in | default: page.available_in | default: site.available_in | default: "Available in" }}</h3>
16
18
  </div>
17
19
  <div class="internationalization-languages">
18
20
  {%- for item in matchurls -%} {%- if item != 'zh-TW' -%} {%- if item ==
@@ -1,3 +1,5 @@
1
+ {% assign lang = page.lang | default: 'en' %}
2
+ {% assign t = site.data.i18n[lang] | default: site.data.i18n['en'] %}
1
3
  <section class="related-posts-section">
2
4
  <div class="container">
3
5
  <div class="relatedPosts">
@@ -6,7 +8,7 @@
6
8
  <div class="row">
7
9
  <div class="col-md-9 mx-auto">
8
10
  {%- endif -%}
9
- <h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
11
+ <h2 class="pt-5 pb-0 related_post_heading mb-3">{{ t.theme.you_might_also_like | default: "You might also like" }}</h2>
10
12
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
11
13
 
12
14
  </div>
@@ -163,7 +163,7 @@
163
163
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
164
164
  {%- assign pageAuthorName = page.authorName | split: " " -%}
165
165
  {%- assign pageAuthorNameFirst = pageAuthorName.first | downcase -%}
166
- {%- assign collectionData = [pageAuthorNameFirst] -%}
166
+ {%- assign collectionData = site.data.authors[pageAuthorNameFirst] -%}
167
167
  {%- for item in collectionData -%}
168
168
  {%- if forloop.index == 1 -%}
169
169
  {%- assign a = item -%}
@@ -74,7 +74,7 @@
74
74
  site.data[foldername][lang][filename] | json %} {% for author in
75
75
  json_data.author %} {%- assign splitAuthor = author | split: " "
76
76
  -%} {% assign featureAuthorFirst = splitAuthor.first | downcase %}
77
- {%- assign collectionData = [featureAuthorFirst] -%} {%- for item
77
+ {%- assign collectionData = site.data.authors[featureAuthorFirst] -%} {%- for item
78
78
  in collectionData -%} {%- if forloop.index == 1 -%} {%- assign
79
79
  seoTeamAuthorName = item -%} {%- assign authorsList = authorsList
80
80
  | push: seoTeamAuthorName -%} {%- endif -%} {%- endfor -%} {%
@@ -88,7 +88,7 @@
88
88
  %} {% for contributor in json_data.contributors %} {%- assign
89
89
  splitAuthor = contributor.name | split: " " -%} {% assign
90
90
  contributorAuthor = splitAuthor.first | downcase %} {%- assign
91
- collectionData = [contributorAuthor] -%} {%- for item in
91
+ collectionData = site.data.authors[contributorAuthor] -%} {%- for item in
92
92
  collectionData -%} {%- if forloop.index == 1 -%} {%- assign
93
93
  contributorAuthor = item -%} {%- assign contributorAuthors =
94
94
  contributorAuthors | push: contributorAuthor -%} {% assign
@@ -101,7 +101,7 @@
101
101
  uniqueArray = final_array | uniq %} {% for author in uniqueArray
102
102
  %} {%- assign splitAuthor = author | split: " " -%} {%- assign
103
103
  authorFirst = splitAuthor.first | downcase -%} {%- assign
104
- collectionData = [authorFirst] -%} {%- for item in collectionData
104
+ collectionData = site.data.authors[authorFirst] -%} {%- for item in collectionData
105
105
  -%} {%- if forloop.index == 1 -%} {%- assign authorName = item -%}
106
106
  {%- elsif forloop.index == 2 -%} {%- assign image = item -%} {%-
107
107
  elsif forloop.index == 3 -%} {%- assign bio = item -%} {%- endif