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.
- checksums.yaml +4 -4
- data/_data/.DS_Store +0 -0
- data/_data/feature/.DS_Store +0 -0
- data/_data/feature/en/test.json +222 -0
- data/_data/feature/hi/test.json +222 -0
- data/_data/i18n/ar.json +175 -0
- data/_data/i18n/da.json +175 -0
- data/_data/i18n/de.json +175 -0
- data/_data/i18n/en.json +175 -0
- data/_data/i18n/es.json +175 -0
- data/_data/i18n/fr.json +175 -0
- data/_data/i18n/hi.json +175 -0
- data/_data/i18n/id.json +175 -0
- data/_data/i18n/it.json +175 -0
- data/_data/i18n/ja.json +175 -0
- data/_data/i18n/ko.json +175 -0
- data/_data/i18n/nl.json +175 -0
- data/_data/i18n/pl.json +175 -0
- data/_data/i18n/pt.json +175 -0
- data/_data/i18n/ru.json +175 -0
- data/_data/i18n/sv.json +175 -0
- data/_data/i18n/th.json +175 -0
- data/_data/i18n/tr.json +175 -0
- data/_data/i18n/uk.json +175 -0
- data/_data/i18n/vi.json +175 -0
- data/_data/i18n/zh-tw.json +175 -0
- data/_data/i18n/zh.json +175 -0
- data/_data/noindexURLs.json +19 -19
- data/_includes/.DS_Store +0 -0
- data/_includes/Rating/rating.html +4 -3
- data/_includes/alternates/alternates.html +49 -44
- data/_includes/appscms/customblog/pageRelatedPosts.html +3 -1
- data/_includes/appscms/customblog/recentposts.html +19 -18
- data/_includes/appscms/customblog/relatedBlogs.html +3 -1
- data/_includes/appscms/customblog/relatedposts.html +3 -1
- data/_includes/appscms/extras/ratings.html +16 -14
- data/_includes/appscms/faq/faq.html +3 -1
- data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +17 -11
- data/_includes/appscms/featurehighlight/featurehighlight.html +1 -0
- data/_includes/appscms/footer/footer.html +460 -443
- data/_includes/appscms/footer/products.html +25 -20
- data/_includes/appscms/footer/static-footer.html +99 -85
- data/_includes/appscms/head/bloghead.html +1 -1
- data/_includes/appscms/home/latest-features-display.html +1 -1
- data/_includes/appscms/infographics/infographics.html +5 -3
- data/_includes/appscms/recent-posts/recent_posts.html +3 -1
- data/_includes/appscms/recent-posts/related_categories_post.html +3 -1
- data/_includes/appscms/reviews/trustpilot.html +13 -11
- data/_includes/appscms/uploadbutton/uploadbutton.html +23 -4
- data/_includes/appscms/usp/usp.html +16 -15
- data/_includes/contenttool_result_banner.html +61 -15
- data/_includes/customblog/pageRelatedPosts.html +3 -1
- data/_includes/customblog/relatedBlogs.html +3 -1
- data/_includes/customblog/relatedposts.html +3 -1
- data/_includes/feature/editor.html +669 -0
- data/_includes/featurePageAuthors/featurePageAuthors.html +17 -8
- data/_includes/footer/index.html +2 -2
- data/_includes/infographics/infographics.html +3 -1
- data/_includes/internationalization-section.html +3 -1
- data/_includes/section/related_categories_post.html +3 -1
- data/_layouts/appscms-author.html +1 -1
- data/_layouts/appscms-authors.html +3 -3
- data/_layouts/appscms-download.html +193 -135
- data/_layouts/appscms-feature.html +7 -5
- data/assets/.DS_Store +0 -0
- data/assets/images/3126788.png +0 -0
- data/assets/images/audio-cutter.png +0 -0
- data/assets/images/easy.svg +1 -0
- data/assets/images/quality.svg +1 -0
- data/assets/images/secure.svg +43 -0
- data/assets/images/users.svg +12 -0
- metadata +41 -4
|
@@ -1,64 +1,69 @@
|
|
|
1
|
-
{%-
|
|
2
|
-
site.data.noindexURLs.internatlionalization_whitelist_urls -%}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
hreflang="{{item}}"
|
|
13
|
+
href="{{site.url}}/{{languagetext[0]}}"
|
|
14
|
+
hreflang="{{languagetext[0]}}"
|
|
14
15
|
/>
|
|
15
|
-
{%- endif -%}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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}}/{{
|
|
26
|
-
hreflang="{{
|
|
28
|
+
href="{{site.url}}/{{page.permalink}}"
|
|
29
|
+
hreflang="{{languagetext[0]}}"
|
|
27
30
|
/>
|
|
28
|
-
{%- endif -%}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
{%-
|
|
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}}/{{
|
|
43
|
-
hreflang="{{
|
|
40
|
+
href="{{site.url}}/{{languagetext[0]}}"
|
|
41
|
+
hreflang="{{languagetext[0]}}"
|
|
44
42
|
/>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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}}
|
|
53
|
-
hreflang="{{
|
|
54
|
+
href="{{site.url}}{{item.permalink}}"
|
|
55
|
+
hreflang="{{languagetext[0]}}"
|
|
54
56
|
/>
|
|
55
|
-
{%- endif -%}
|
|
56
|
-
|
|
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}}
|
|
61
|
-
hreflang="{{
|
|
65
|
+
href="{{site.url}}{{item.permalink}}"
|
|
66
|
+
hreflang="{{languagetext[0]}}"
|
|
62
67
|
/>
|
|
63
|
-
{%- endif -%}
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
<span class="total-ratings" id="count">{{votes}} </span> votes
|
|
97
|
+
<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">×</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
|
|
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)
|
|
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
|
|
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 %}
|
|
2
|
-
|
|
3
|
-
{
|
|
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
|
|
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
|
|
14
|
-
assign featureAuthor =
|
|
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 %} {%-
|
|
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 =
|