appscms-tools-theme 5.7.5 → 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 (72) 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/_data/noindexURLs.json +19 -19
  29. data/_includes/.DS_Store +0 -0
  30. data/_includes/Rating/rating.html +4 -3
  31. data/_includes/alternates/alternates.html +49 -44
  32. data/_includes/appscms/customblog/pageRelatedPosts.html +3 -1
  33. data/_includes/appscms/customblog/recentposts.html +19 -18
  34. data/_includes/appscms/customblog/relatedBlogs.html +3 -1
  35. data/_includes/appscms/customblog/relatedposts.html +3 -1
  36. data/_includes/appscms/extras/ratings.html +16 -14
  37. data/_includes/appscms/faq/faq.html +3 -1
  38. data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +17 -11
  39. data/_includes/appscms/featurehighlight/featurehighlight.html +1 -0
  40. data/_includes/appscms/footer/footer.html +460 -443
  41. data/_includes/appscms/footer/products.html +25 -20
  42. data/_includes/appscms/footer/static-footer.html +99 -85
  43. data/_includes/appscms/head/bloghead.html +1 -1
  44. data/_includes/appscms/home/latest-features-display.html +1 -1
  45. data/_includes/appscms/infographics/infographics.html +5 -3
  46. data/_includes/appscms/recent-posts/recent_posts.html +3 -1
  47. data/_includes/appscms/recent-posts/related_categories_post.html +3 -1
  48. data/_includes/appscms/reviews/trustpilot.html +13 -11
  49. data/_includes/appscms/uploadbutton/uploadbutton.html +23 -4
  50. data/_includes/appscms/usp/usp.html +16 -15
  51. data/_includes/contenttool_result_banner.html +61 -15
  52. data/_includes/customblog/pageRelatedPosts.html +3 -1
  53. data/_includes/customblog/relatedBlogs.html +3 -1
  54. data/_includes/customblog/relatedposts.html +3 -1
  55. data/_includes/feature/editor.html +669 -0
  56. data/_includes/featurePageAuthors/featurePageAuthors.html +17 -8
  57. data/_includes/footer/index.html +2 -2
  58. data/_includes/infographics/infographics.html +3 -1
  59. data/_includes/internationalization-section.html +3 -1
  60. data/_includes/section/related_categories_post.html +3 -1
  61. data/_layouts/appscms-author.html +1 -1
  62. data/_layouts/appscms-authors.html +3 -3
  63. data/_layouts/appscms-download.html +193 -135
  64. data/_layouts/appscms-feature.html +7 -5
  65. data/assets/.DS_Store +0 -0
  66. data/assets/images/3126788.png +0 -0
  67. data/assets/images/audio-cutter.png +0 -0
  68. data/assets/images/easy.svg +1 -0
  69. data/assets/images/quality.svg +1 -0
  70. data/assets/images/secure.svg +43 -0
  71. data/assets/images/users.svg +12 -0
  72. metadata +41 -4
@@ -1,64 +1,69 @@
1
- {%- assign whitelist_urls =
2
- site.data.noindexURLs.internatlionalization_whitelist_urls -%} {%- include
3
- languages/languages.html -%} {%- if page.nointernationalization -%} {%- elsif
4
- site.internationalizationall -%} {%- for item in matchurls -%} {%- if item !=
5
- 'zh-TW' -%} {%- if item == 'en'-%} {%- if dataFile.htmlLangAtt == item -%} {%
6
- assign full_url = site.url | append: page.permalink %} {%- if whitelist_urls
7
- contains full_url -%}
1
+ {%- include languages/languages.html -%}
2
+ {%- assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls -%}
3
+ {%- if page.permalink == nil -%}
4
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
5
+ {%- for i in matchurls -%} {%- for checklang in site.pages -%} {%- if
6
+ checklang.permalink == i -%} {%- assign languagetext = [i] -%}
7
+ {%- assign check_path = languagetext[0] | append: "@" | replace: "/@", "" | replace: "@", "" -%}
8
+ {%- unless check_path contains "/" -%}{%- assign check_path = check_path | prepend: "/" -%}{%- endunless -%}
9
+ {%- if whitelist_urls == nil or whitelist_urls contains check_path -%}
8
10
  <link
9
11
  data-rh="true"
10
12
  rel="alternate"
11
- class="active-lang internationalization-language-drop-down-item font-weight-bold"
12
- href="{{site.url}}/{{ page.permalink}}"
13
- hreflang="{{item}}"
13
+ href="{{site.url}}/{{languagetext[0]}}"
14
+ hreflang="{{languagetext[0]}}"
14
15
  />
15
- {%- endif -%} {%- else -%} {%- if dataFile.features -%}
16
-
17
- <link data-rh="true" rel="alternate" data-rh="true" rel="alternate" href="/" />
18
- {%- else -%} {% assign full_url = site.url | append: page.permalink %} {% assign
19
- last_segment = page.permalink | split: '/' | last %} {% assign full_url =
20
- site.url | append: '/' | append: last_segment %} {%- if whitelist_urls contains
21
- full_url -%}
16
+ {%- endif -%}
17
+ {%- endif -%} {%- endfor -%} {%- endfor -%} {%- else -%} {%- if matchurls
18
+ contains page.permalink -%} {%- assign languagetext = [i] -%}
19
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
20
+ {%- for i in matchurls -%} {%- assign languagetext = [i] -%} {%- if i==
21
+ page.permalink -%}
22
+ {%- assign check_path = page.permalink | append: "@" | replace: "/@", "" | replace: "@", "" -%}
23
+ {%- unless check_path contains "/" -%}{%- assign check_path = check_path | prepend: "/" -%}{%- endunless -%}
24
+ {%- if whitelist_urls == nil or whitelist_urls contains check_path -%}
22
25
  <link
23
26
  data-rh="true"
24
27
  rel="alternate"
25
- href="{{site.url}}/{{ page.permalink | split: '/' | last}}"
26
- hreflang="{{item}}"
28
+ href="{{site.url}}/{{page.permalink}}"
29
+ hreflang="{{languagetext[0]}}"
27
30
  />
28
- {%- endif -%} {%- endif -%} {%- endif -%} {%- else -%} {%- if
29
- dataFile.htmlLangAtt == item -%} {%- if page.permalink | split: '/' | last !=
30
- item -%} {% assign full_url = site.url | append: page.permalink %} {%- if
31
- whitelist_urls contains full_url -%}
32
- <link href="{{site.url}}/{{ page.permalink}}" hreflang="{{item}}" />
33
- {%- endif -%} {%- else -%} {% assign full_url = site.url | append: '/' | append:
34
- item %} {%- if whitelist_urls contains full_url -%}
35
- <link class="active-lang" href="{{site.url}}/{{item}}" hreflang="{{item}}" />
36
- {%- endif -%} {%- endif -%} {%- else -%} {%- if page.permalink | split: '/' |
37
- last != item -%} {%- if dataFile.features -%} {%- if whitelist_urls contains
38
- page.permalink -%}
31
+ {%- endif -%}
32
+ {%- else -%} {%- for checklang in site.pages -%} {%- if checklang.permalink == i
33
+ -%} {%- assign languagetext = [i] -%}
34
+ {%- assign check_path = languagetext[0] | append: "@" | replace: "/@", "" | replace: "@", "" -%}
35
+ {%- unless check_path contains "/" -%}{%- assign check_path = check_path | prepend: "/" -%}{%- endunless -%}
36
+ {%- if whitelist_urls == nil or whitelist_urls contains check_path -%}
39
37
  <link
40
38
  data-rh="true"
41
39
  rel="alternate"
42
- href="{{site.url}}/{{item}}"
43
- hreflang="{{item}}"
40
+ href="{{site.url}}/{{languagetext[0]}}"
41
+ hreflang="{{languagetext[0]}}"
44
42
  />
45
- 5 {%- endif -%} {%- else -%} {% assign last_segment = page.permalink | split:
46
- '/' | last %} {% assign full_url = site.url | append: '/' | append: item |
47
- append: '/' | append: last_segment %} {%- if whitelist_urls contains full_url
48
- -%}
43
+ {%- endif -%}
44
+ {%- endif -%} {%- endfor -%} {%- endif -%} {%- endfor -%} {%- else -%} {%- for
45
+ item in site.pages -%} {%- assign languagetext = [item.lang] -%} {%- assign
46
+ pagelink = page.permalink | split: "/" | last-%} {%- assign itemlink =
47
+ item.permalink | split: "/" | last-%} {%- if pagelink == itemlink and page.lang
48
+ != item.lang and page.permalink != item.permalink -%}
49
+ {%- assign check_path = item.permalink | append: "@" | replace: "/@", "" | replace: "@", "" -%}
50
+ {%- if whitelist_urls == nil or whitelist_urls contains check_path -%}
49
51
  <link
50
52
  data-rh="true"
51
53
  rel="alternate"
52
- href="{{site.url}}/{{item}}/{{ page.permalink | split: '/' | last}}"
53
- hreflang="{{item}}"
54
+ href="{{site.url}}{{item.permalink}}"
55
+ hreflang="{{languagetext[0]}}"
54
56
  />
55
- {%- endif -%} {%- endif -%} {%- else -%} {% assign full_url = site.url | append:
56
- '/' | append: item %} {%- if whitelist_urls contains full_url -%}
57
+ {%- endif -%}
58
+ {%- endif -%} {%- if pagelink == itemlink and page.lang == item.lang -%}
59
+ {%- assign check_path = item.permalink | append: "@" | replace: "/@", "" | replace: "@", "" -%}
60
+ {%- if whitelist_urls == nil or whitelist_urls contains check_path -%}
61
+
57
62
  <link
58
63
  data-rh="true"
59
64
  rel="alternate"
60
- href="{{site.url}}/{{item}}"
61
- hreflang="{{item}}"
65
+ href="{{site.url}}{{item.permalink}}"
66
+ hreflang="{{languagetext[0]}}"
62
67
  />
63
- {%- endif -%} {%- endif -%} {%- endif -%} {%- endif -%} {%- endif -%} {%- endfor
64
- -%} {%- endif -%}
68
+ {%- endif -%}
69
+ {%- endif -%} {%- endfor -%} {%- endif -%} {%- endif -%}
@@ -1,10 +1,12 @@
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 container">
2
4
  <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
5
  {%- if site.clientid -%}
4
6
  <div class="row">
5
7
  <div class="col-md-9 mx-auto">
6
8
  {%- endif -%}
7
- <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
9
+ <p class="pt-5 pb-0 related_post_heading mb-3">{{ t.theme.you_might_also_like | default: "You might also like" }}</p>
8
10
  {%- if site.clientid -%}
9
11
  </div>
10
12
  </div>
@@ -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 container">
2
4
  <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
5
  {% assign blogData= site.data.blog.blog %}
@@ -8,7 +10,7 @@
8
10
  <div class="row">
9
11
  <div class="col-md-9 mx-auto">
10
12
  {%- endif -%}
11
- <h3 class="related_post_heading">Recent Posts</h3>
13
+ <h3 class="related_post_heading">{{ t.theme.recent_posts | default: "Recent Posts" }}</h3>
12
14
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
13
15
 
14
16
  </div>
@@ -30,29 +32,28 @@
30
32
  <a href="{{ post.url }}" aria-label="{{post.title}}">
31
33
  <img src="{{ post.image }}" class="card-img-top" height="250" width="100%"
32
34
  loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
33
- endif -%}
34
- </a>
35
- <div class="card-body">
36
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
37
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
38
- </a>
39
- </div>
40
-
35
+ endif -%} </a>
36
+ <div class="card-body">
37
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link"
38
+ aria-label="{{post.title}}">
39
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
40
+ </a>
41
+ </div>
42
+
41
43
  <div class="wrapfooter">
42
44
  {% if post.author %}
43
45
  <span class="meta-footer-thumb">
44
46
  <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}"
45
- {%- if site.crossorigin -%} crossorigin {%- endif -%}
46
- </span>
47
- {% endif %}
48
- <span class="author-meta">
49
-
47
+ {%- if site.crossorigin -%} crossorigin {%- endif -%} </span>
48
+ {% endif %}
49
+ <span class="author-meta">
50
+
50
51
  <a target="_blank" href="/blog/">{{authorName}}</a>
51
- <br>
52
- <span class="post-date">{{post.date | date_to_string }}</span>
53
- </span>
52
+ <br>
53
+ <span class="post-date">{{post.date | date_to_string }}</span>
54
+ </span>
54
55
  </div>
55
-
56
+
56
57
  </div>
57
58
  </div>
58
59
  {% endfor %}
@@ -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 container">
2
4
  <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
5
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
@@ -5,7 +7,7 @@
5
7
  <div class="row">
6
8
  <div class="col-md-9 mx-auto">
7
9
  {%- endif -%}
8
- <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
10
+ <p class="pt-5 pb-0 related_post_heading mb-3">{{ t.theme.you_might_also_like | default: "You might also like" }}</p>
9
11
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
10
12
 
11
13
  </div>
@@ -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 container">
2
4
  <div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
3
5
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
@@ -5,7 +7,7 @@
5
7
  <div class="row">
6
8
  <div class="col-md-9 mx-auto">
7
9
  {%- endif -%}
8
- <p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
10
+ <p class="pt-5 pb-0 related_post_heading mb-3">{{ t.theme.you_might_also_like | default: "You might also like" }}</p>
9
11
  {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
10
12
 
11
13
  </div>
@@ -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
  {%- if page.tool -%} {%- assign tool = page.tool -%} {%- assign data =
2
4
  site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
3
5
  ==tool -%} {%- assign rating = item.rating -%} {%- assign votes = item.votes -%}
@@ -15,9 +17,9 @@ site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
15
17
  />
16
18
 
17
19
  <div class="rating-header">
18
- <h2 class="rating-text">Rate this tool</h2>
20
+ <h2 class="rating-text">{{ t.theme.rating_title | default: "Rate this tool" }}</h2>
19
21
  <p class="rating-description">
20
- Your feedback helps us improve our services
22
+ {{ t.theme.rating_description | default: "Your feedback helps us improve our services" }}
21
23
  </p>
22
24
  </div>
23
25
  <div class="rating-stars">
@@ -92,10 +94,10 @@ site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
92
94
  <span class="rating">
93
95
  <strong id="rating">{{rating}}</strong><span>/5</span>
94
96
  </span>
95
- &nbsp; <span class="total-ratings" id="count">{{votes}} </span> votes
97
+ &nbsp; <span class="total-ratings" id="count">{{votes}} </span> {{ t.theme.rating_votes | default: "votes" }}
96
98
  </div>
97
99
  <button class="feedback-btn" id="openFeedbackBtn">
98
- Share your feedback
100
+ {{ t.theme.rating_share_feedback | default: "Share your feedback" }}
99
101
  </button>
100
102
  </div>
101
103
  </div>
@@ -104,7 +106,7 @@ site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
104
106
  <div class="modal-overlay" style="display: none">
105
107
  <div class="feedbackModal" class="modal" style="display: none">
106
108
  <div class="modal-header">
107
- <h3 class="modal-title">Share Your Feedback</h3>
109
+ <h3 class="modal-title">{{ t.theme.feedback_modal_title | default: "Share Your Feedback" }}</h3>
108
110
  <button class="close-button">&times;</button>
109
111
  </div>
110
112
  <div class="modal-body">
@@ -115,23 +117,23 @@ site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
115
117
  target="hidden_iframe"
116
118
  >
117
119
  <div class="form-group">
118
- <label for="comment" class=".form-label">Your Feedback:</label>
120
+ <label for="comment" class=".form-label">{{ t.theme.feedback_comment_label | default: "Your Feedback:" }}</label>
119
121
  <textarea
120
122
  id="comment"
121
123
  name="comment"
122
124
  class="form-input"
123
125
  rows="4"
124
126
  required
125
- placeholder="Tell us what you liked or how we can improve..."
127
+ placeholder="{{ t.theme.feedback_comment_placeholder | default: 'Tell us what you liked or how we can improve...' }}"
126
128
  ></textarea>
127
129
  </div>
128
130
  <div class="form-group">
129
- <label for="email" class=".form-label">Email (optional):</label>
131
+ <label for="email" class=".form-label">{{ t.theme.feedback_email_label | default: "Email (optional):" }}</label>
130
132
  <input
131
133
  type="email"
132
134
  id="email"
133
135
  name="email"
134
- placeholder="Your.email@example.com"
136
+ placeholder="{{ t.theme.feedback_email_placeholder | default: 'Your.email@example.com' }}"
135
137
  class="form-input"
136
138
  />
137
139
  </div>
@@ -146,17 +148,17 @@ site.data.rating.rating.tools -%} {%- for item in data -%} {%- if item.name
146
148
  ></iframe>
147
149
  </div>
148
150
  <div class="modal-footer">
149
- <button class="btn btn-secondary">Cancel</button>
150
- <button class="btn btn-primary">Submit Feedback</button>
151
+ <button class="btn btn-secondary">{{ t.theme.cancel | default: "Cancel" }}</button>
152
+ <button class="btn btn-primary">{{ t.theme.feedback_submit | default: "Submit Feedback" }}</button>
151
153
  </div>
152
154
  </div>
153
155
  <div class="thank-you">
154
156
  <div class="thank-you-icon">✓</div>
155
- <h3 class="thank-you-title">Thank You!</h3>
157
+ <h3 class="thank-you-title">{{ t.theme.feedback_thank_you_title | default: "Thank You!" }}</h3>
156
158
  <p class="thank-you-message">
157
- We appreciate your feedback and will use it to improve our services.
159
+ {{ t.theme.feedback_thank_you_message | default: "We appreciate your feedback and will use it to improve our services." }}
158
160
  </p>
159
- <button class="btn btn-primary">Close</button>
161
+ <button class="btn btn-primary">{{ t.theme.close | default: "Close" }}</button>
160
162
  </div>
161
163
  </div>
162
164
  </div>
@@ -1,4 +1,6 @@
1
1
  <!-- heading -->
2
+ {% assign lang = page.lang | default: 'en' %}
3
+ {% assign t = site.data.i18n[lang] | default: site.data.i18n['en'] %}
2
4
 
3
5
  {%- if page.layout == "feature" -%} {%- include bookmark.html -%} {%- endif -%}
4
6
  {%- assign showFaqs= true -%} {%- for item in site.noFaqsList -%} {%- if item ==
@@ -15,7 +17,7 @@ assign showFaqs = true -%} {%- endif -%} {%- endfor -%} {%- if showFaqs == true
15
17
  <div class="d-flex align-items-center justify-content-center">
16
18
  <hr class="flex-grow-1 mx-4 mb-0" style="height: 2px; background-color: #000" />
17
19
  <p class="appscms-h3 my-4 text-center">
18
- {{pageData.faqheading | default: 'Frequently Asked Questions'}}
20
+ {{ t.theme.faq_heading | default: pageData.faqheading | default: page.faqheading | default: site.faqheading | default: 'Frequently Asked Questions' }}
19
21
  </p>
20
22
  <hr class="flex-grow-1 mx-4 mb-0" style="height: 2px; background-color: #000" />
21
23
  </div>
@@ -1,17 +1,24 @@
1
- {% assign file = page.fileName %} {% assign lang = "en" %} {% assign folder
2
- = page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
3
- {%- if featureData.author or featureData.contributors.size > 0 -%}
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 -%}
4
11
  <section class="authors-list">
5
12
  <div class="container">
6
13
  <div class="row">
7
14
  <div class="col-md-12">
8
- {%- if featureData.author -%}
15
+ {%- if authorVal -%}
9
16
  <h4 class="mb-4 text-center authors-heading font-weight-bolder">
10
- About The Author
17
+ {{ t.theme.about_author | default: "About The Author" }}
11
18
  </h4>
12
19
  {%- endif -%}
13
- {%- if featureData.author -%} {%- include authors/authors.html -%} {%-
14
- assign featureAuthor = featureData.author | split: " " -%} {%- assign
20
+ {%- if authorVal -%} {%- include authors/authors.html -%} {%-
21
+ assign featureAuthor = authorVal | split: " " -%} {%- assign
15
22
  author = featureAuthor.first | downcase -%} {%- assign collection =
16
23
  [author] -%} {%- for item in collection -%} {%- if forloop.index==1
17
24
  -%} {%- assign featureAuthorName = item -%} {%- endif -%} {%- if
@@ -44,17 +51,16 @@
44
51
  </a>
45
52
  <p class="author-meta author_bio mt-3 mb-0">{{featureAuthorBio}}</p>
46
53
  </div>
47
- {%- endif %} {%- assign contributors = featureData.contributors |
48
- uniq: 'name' -%} {%- if contributors.size > 0 -%}
54
+ {%- endif %} {%- if contributors.size > 0 -%}
49
55
  <h4 class="mb-4 w-100 text-center authors-heading font-weight-bolder">
50
- Contributors
56
+ {{ t.theme.contributors | default: "Contributors" }}
51
57
  </h4>
52
58
  <div class="d-flex justify-content-center w-100" style="gap: 10px">
53
59
  {%- for contributor in contributors -%}
54
60
  {%- assign
55
61
  featureContributorData = contributor.name | split: " " -%} {%-
56
62
  assign featureContributorData = featureContributorData.first |
57
- downcase -%} {%- assign collectionData = [featureContributorData]
63
+ downcase -%} {%- assign collectionData = site.data.authors[featureContributorData]
58
64
  -%} {%- for item in collectionData -%} {%- if forloop.index == 1 -%}
59
65
  {%- assign featureContributorDataName = item -%} {%- endif -%} {%-
60
66
  if forloop.index == 2 -%} {%- assign featureContributorDataImage =
@@ -18,6 +18,7 @@
18
18
  {%- assign space = ' ' -%}
19
19
  <img
20
20
  src="{{data.logoUrl}}"
21
+ onerror="this.onerror=null;this.src='/assets/images/easy-to-use.svg';"
21
22
  loading="lazy"
22
23
  class="card-img-top float-left mr-3 appscms-feature-image"
23
24
  alt="{{data.header}}"