appscms-tools-theme 4.7.7 → 4.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/about/en/about.json +16 -16
- data/_data/blog/nav.json +14 -14
- data/_data/blog/relatedblogs.json +2816 -2816
- data/_data/feature/en/batch-conversion.json +192 -192
- data/_data/feature/en/compress-pdf.json +223 -223
- data/_data/feature/en/devtools.json +321 -321
- data/_data/feature/en/face-detection.json +156 -156
- data/_data/feature/en/split-pdf.json +221 -221
- data/_data/feature/en/theframe.json +160 -160
- data/_data/footer/en/data.json +264 -264
- data/_data/header/en/data.json +672 -672
- data/_data/home/en/en.json +250 -250
- data/_data/home/en/posters.json +322 -322
- data/_data/home-1/en/en.json +236 -236
- data/_includes/alternates/alternates.html +88 -88
- data/_includes/appscms/customblog/contenttool-recent-posts.html +94 -94
- data/_includes/appscms/customblog/pageRelatedPosts.html +68 -68
- data/_includes/appscms/customblog/recentposts.html +67 -67
- data/_includes/appscms/customblog/relatedBlogs.html +82 -82
- data/_includes/appscms/customblog/relatedposts.html +193 -193
- data/_includes/appscms/extras/appscms-postbox.html +57 -57
- data/_includes/appscms/featurePageAuthors/featurePageAuthors.html +85 -85
- data/_includes/appscms/head/bloghead.html +128 -128
- data/_includes/appscms/headings/contenttool-headings.html +33 -33
- data/_includes/appscms/headings/devtool-headings.html +38 -38
- data/_includes/appscms/home/contenttool-feature-boxes.html +19 -19
- data/_includes/appscms/home/devtool-feature-boxes.html +70 -70
- data/_includes/appscms/infographics/infographics.html +160 -160
- data/_includes/appscms/loaders/loader.html +4 -4
- data/_includes/appscms/navbars/devtool-navbar.html +50 -50
- data/_includes/appscms/navbars/devtool-toolbar.html +100 -100
- data/_includes/appscms/recent-posts/recent_posts.html +90 -90
- data/_includes/appscms/recent-posts/related_categories_post.html +194 -194
- data/_includes/appscms/searchbar/devtool-searchbar.html +63 -63
- data/_includes/appscms/usp/usp.html +90 -90
- data/_includes/author_bio.html +41 -41
- data/_includes/authorpagehead/index.html +47 -47
- data/_includes/authors/authors.html +39 -39
- data/_includes/batch-conversion.html +141 -141
- data/_includes/bookmark.html +6 -6
- data/_includes/cssfile/links.html +54 -54
- data/_includes/custom-head.html +138 -138
- data/_includes/customCode.html +1 -1
- data/_includes/customScripts.html +1 -1
- data/_includes/customblog/pageRelatedPosts.html +87 -87
- data/_includes/customblog/recentposts.html +67 -67
- data/_includes/customblog/relatedBlogs.html +86 -86
- data/_includes/customblog/relatedposts.html +201 -201
- data/_includes/dropdown/langdropdown.html +32 -32
- data/_includes/feature.html +39 -39
- data/_includes/featurePageAuthors/featurePageAuthors.html +101 -101
- data/_includes/footer/index.html +537 -537
- data/_includes/google-analytics.html +32 -32
- data/_includes/head/index.html +627 -627
- data/_includes/header/blogHeader.html +34 -34
- data/_includes/header/index.html +152 -152
- data/_includes/infographics/infographics.html +244 -244
- data/_includes/internationalization-section.html +44 -0
- data/_includes/paginationBlogPage.html +70 -70
- data/_includes/postbox.html +65 -65
- data/_includes/script.html +493 -493
- data/_includes/section/count.html +32 -32
- data/_includes/section/recent_posts.html +94 -94
- data/_includes/section/related_categories_post.html +196 -196
- data/_includes/share/socialshare.html +21 -21
- data/_includes/userTracking.html +14 -14
- data/_layouts/aboutUs.html +175 -175
- data/_layouts/allAuthors.html +131 -131
- data/_layouts/appscms-about.html +163 -163
- data/_layouts/appscms-audio.html +33 -33
- data/_layouts/appscms-author.html +436 -436
- data/_layouts/appscms-authors.html +145 -145
- data/_layouts/appscms-batch.html +141 -141
- data/_layouts/appscms-calculator.html +93 -93
- data/_layouts/appscms-categories.html +26 -26
- data/_layouts/appscms-contact.html +132 -132
- data/_layouts/appscms-disclaimer.html +124 -124
- data/_layouts/appscms-download.html +289 -289
- data/_layouts/appscms-feature-result.html +96 -96
- data/_layouts/appscms-feature.html +22 -24
- data/_layouts/appscms-help.html +25 -25
- data/_layouts/appscms-home.html +3 -2
- data/_layouts/appscms-imagekit.html +96 -96
- data/_layouts/appscms-post.html +243 -243
- data/_layouts/appscms-privacy-policy.html +781 -781
- data/_layouts/appscms-terms-and-conditions.html +646 -646
- data/_layouts/appscms-video.html +33 -33
- data/_layouts/audio.html +33 -33
- data/_layouts/author.html +409 -409
- data/_layouts/batch.html +177 -177
- data/_layouts/blog-1.html +116 -116
- data/_layouts/blog.html +131 -131
- data/_layouts/calculator.html +99 -99
- data/_layouts/contenttool-feature.html +42 -46
- data/_layouts/contenttool-home.html +54 -54
- data/_layouts/devtool-blog.html +132 -132
- data/_layouts/devtool-feature.html +54 -54
- data/_layouts/devtool-home.html +53 -53
- data/_layouts/devtools.html +57 -57
- data/_layouts/feature-1.html +285 -285
- data/_layouts/feature.html +351 -351
- data/_layouts/featureResultPage.html +82 -82
- data/_layouts/frame.html +222 -222
- data/_layouts/home-1.html +186 -186
- data/_layouts/home.html +375 -375
- data/_layouts/homeResultPage.html +32 -32
- data/_layouts/imagekit.html +308 -308
- data/_layouts/photo-effects-home.html +190 -190
- data/_layouts/post.html +233 -233
- data/assets/app.js +75 -75
- data/assets/css/appscms-blog.css +505 -505
- data/assets/css/appscms-contenttool.css +1384 -1384
- data/assets/css/appscms-home.css +5 -5
- data/assets/css/appscms-imagekit.css +855 -855
- data/assets/css/appscms-variables.css +19 -19
- data/assets/css/blog.css +510 -510
- data/assets/css/calculators.css +46 -46
- data/assets/css/common.css +944 -944
- data/assets/css/devtool-main.css +1350 -1350
- data/assets/css/devtools.css +105 -105
- data/assets/css/feature-1.css +293 -293
- data/assets/css/home-1.css +188 -188
- data/assets/css/imagekit copy.css +848 -848
- data/assets/css/imagekit.css +848 -848
- data/assets/css/tools.css +1846 -1846
- data/assets/images/close-button.svg +31 -31
- data/assets/images/digipaint.svg +6 -6
- data/assets/images/iconn.svg +12 -12
- data/assets/images/logo.svg +2 -2
- data/assets/images/manthink.svg +3552 -3552
- data/assets/images/search-icon.svg +2 -2
- data/assets/js/batch.js +219 -219
- data/assets/js/devtools.js +81 -81
- data/assets/js/sharePage.js +65 -65
- data/assets/js/usageTracking.js +143 -143
- data/assets/js/usageTrackingEvents.js +6 -6
- data/assets/js/webvitals.js +4 -4
- metadata +4 -3
@@ -1,87 +1,87 @@
|
|
1
|
-
<section class="related-posts-section">
|
2
|
-
<div class="container">
|
3
|
-
|
4
|
-
<div class="relatedPosts">
|
5
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
6
|
-
|
7
|
-
<div class="row">
|
8
|
-
<div class="col-md-9 mx-auto">
|
9
|
-
{%- endif -%}
|
10
|
-
<h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
|
11
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
12
|
-
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
{%- endif -%}
|
16
|
-
{% assign file = page.fileName %}
|
17
|
-
{% assign lang = page.lang %}
|
18
|
-
{% assign folder = page.folderName %}
|
19
|
-
{% assign homeData = site.data[folder][lang][file] %}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<div class="row">
|
24
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
25
|
-
|
26
|
-
|
27
|
-
<div class="col-md-9 mx-auto">
|
28
|
-
<div class="row">
|
29
|
-
{%- endif -%}
|
30
|
-
{% for entry in site.data.blog.relatedblogs %}
|
31
|
-
{% if entry.path == blogPostPath %}
|
32
|
-
|
33
|
-
{% for post in entry.relatedBlogs %}
|
34
|
-
|
35
|
-
{%- include authors/authors.html-%}
|
36
|
-
<div class="
|
37
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
38
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
39
|
-
<div class=" card h-100">
|
40
|
-
<a href="/blog/{{ post.metadata.url }}">
|
41
|
-
<img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto"
|
42
|
-
width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
43
|
-
-%}>
|
44
|
-
</a>
|
45
|
-
<div class="card-body">
|
46
|
-
<a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
|
47
|
-
<h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
|
48
|
-
</a>
|
49
|
-
</div>
|
50
|
-
<div class="card-footer">
|
51
|
-
<div class="wrapfooter">
|
52
|
-
{% if post.metadata.author %}
|
53
|
-
<span class="meta-footer-thumb">
|
54
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
55
|
-
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
56
|
-
-%}>
|
57
|
-
</span>
|
58
|
-
{% endif %}
|
59
|
-
|
60
|
-
<span class="author-meta">
|
61
|
-
<span class="post-name">
|
62
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
63
|
-
</span><br>
|
64
|
-
<span class="post-date">{{post.metadata.date | date_to_string }}</span>
|
65
|
-
</span>
|
66
|
-
<span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}"
|
67
|
-
title="Read Story">Read
|
68
|
-
More</a></span>
|
69
|
-
</div>
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
{% endfor %}
|
74
|
-
|
75
|
-
{% endif %}
|
76
|
-
{% endfor %}
|
77
|
-
|
78
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
79
|
-
|
80
|
-
|
81
|
-
</div>
|
82
|
-
</div>
|
83
|
-
{%- endif -%}
|
84
|
-
</div>
|
85
|
-
</div>
|
86
|
-
</div>
|
1
|
+
<section class="related-posts-section">
|
2
|
+
<div class="container">
|
3
|
+
|
4
|
+
<div class="relatedPosts">
|
5
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
6
|
+
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-md-9 mx-auto">
|
9
|
+
{%- endif -%}
|
10
|
+
<h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
|
11
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
12
|
+
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
{%- endif -%}
|
16
|
+
{% assign file = page.fileName %}
|
17
|
+
{% assign lang = page.lang %}
|
18
|
+
{% assign folder = page.folderName %}
|
19
|
+
{% assign homeData = site.data[folder][lang][file] %}
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
<div class="row">
|
24
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
25
|
+
|
26
|
+
|
27
|
+
<div class="col-md-9 mx-auto">
|
28
|
+
<div class="row">
|
29
|
+
{%- endif -%}
|
30
|
+
{% for entry in site.data.blog.relatedblogs %}
|
31
|
+
{% if entry.path == blogPostPath %}
|
32
|
+
|
33
|
+
{% for post in entry.relatedBlogs %}
|
34
|
+
|
35
|
+
{%- include authors/authors.html-%}
|
36
|
+
<div class="
|
37
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
38
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
39
|
+
<div class=" card h-100">
|
40
|
+
<a href="/blog/{{ post.metadata.url }}">
|
41
|
+
<img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="auto"
|
42
|
+
width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
43
|
+
-%}>
|
44
|
+
</a>
|
45
|
+
<div class="card-body">
|
46
|
+
<a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link">
|
47
|
+
<h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
|
48
|
+
</a>
|
49
|
+
</div>
|
50
|
+
<div class="card-footer">
|
51
|
+
<div class="wrapfooter">
|
52
|
+
{% if post.metadata.author %}
|
53
|
+
<span class="meta-footer-thumb">
|
54
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
55
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
56
|
+
-%}>
|
57
|
+
</span>
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
<span class="author-meta">
|
61
|
+
<span class="post-name">
|
62
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
63
|
+
</span><br>
|
64
|
+
<span class="post-date">{{post.metadata.date | date_to_string }}</span>
|
65
|
+
</span>
|
66
|
+
<span class="post-read-more"><a class="text-dark" href="/blog/{{ post.metadata.url }}"
|
67
|
+
title="Read Story">Read
|
68
|
+
More</a></span>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
{% endfor %}
|
74
|
+
|
75
|
+
{% endif %}
|
76
|
+
{% endfor %}
|
77
|
+
|
78
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
79
|
+
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
{%- endif -%}
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
87
|
</section>
|
@@ -1,202 +1,202 @@
|
|
1
|
-
<section class="related-posts-section">
|
2
|
-
<div class="container">
|
3
|
-
|
4
|
-
<div class="relatedPosts">
|
5
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
6
|
-
|
7
|
-
<div class="row">
|
8
|
-
<div class="col-md-9 mx-auto">
|
9
|
-
{%- endif -%}
|
10
|
-
<h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
|
11
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
12
|
-
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
{%- endif -%}
|
16
|
-
|
17
|
-
{% assign blogData= site.data.blog.blog %}
|
18
|
-
|
19
|
-
|
20
|
-
{% assign maxRelated = 6 %}
|
21
|
-
{% assign minCommonTags = 1 %}
|
22
|
-
{% assign maxRelatedCounter = 0 %}
|
23
|
-
{% assign file = page.fileName %}
|
24
|
-
{% assign lang = "en" %}
|
25
|
-
{% assign folder = page.folderName %}
|
26
|
-
{%- if site.data[folder][lang][file].categories -%}
|
27
|
-
{% assign categories= site.data[folder][lang][file].categories %}
|
28
|
-
{%- else -%}
|
29
|
-
{% assign categories= page.categories %}
|
30
|
-
{%- endif -%}
|
31
|
-
{%- if site.data[folder][lang][file].tags -%}
|
32
|
-
{% assign tags= site.data[folder][lang][file].tags %}
|
33
|
-
{%- else -%}
|
34
|
-
{% assign tags= page.tags %}
|
35
|
-
{%- endif -%}
|
36
|
-
<div class="row">
|
37
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
38
|
-
|
39
|
-
|
40
|
-
<div class="col-md-9 mx-auto">
|
41
|
-
<div class="row">
|
42
|
-
{%- endif -%}
|
43
|
-
|
44
|
-
{% for post in blogData %}
|
45
|
-
{% assign sameTagCount = 0 %}
|
46
|
-
{% assign commonTags = '' %}
|
47
|
-
|
48
|
-
|
49
|
-
{%- if categories-%}
|
50
|
-
{% for category in post.categories %}
|
51
|
-
{% if post.url != page.url %}
|
52
|
-
{% if categories contains category %}
|
53
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
54
|
-
{% endif %}
|
55
|
-
{% endif %}
|
56
|
-
{% endfor %}
|
57
|
-
{%- endif -%}
|
58
|
-
|
59
|
-
{%- if tags -%}
|
60
|
-
{% for tag in post.tags %}
|
61
|
-
{% if post.url != page.url %}
|
62
|
-
{% if tags contains tag %}
|
63
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
64
|
-
{% endif %}
|
65
|
-
{%- endif -%}
|
66
|
-
{% endfor %}
|
67
|
-
{%- endif -%}
|
68
|
-
|
69
|
-
|
70
|
-
{% if sameTagCount >= minCommonTags %}
|
71
|
-
{%- include authors/authors.html-%}
|
72
|
-
<div class="
|
73
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
74
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
75
|
-
<div class=" card h-100">
|
76
|
-
<a href="{{ post.url }}">
|
77
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
|
78
|
-
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
79
|
-
-%}>
|
80
|
-
</a>
|
81
|
-
<div class="card-body">
|
82
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
83
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
84
|
-
</a>
|
85
|
-
</div>
|
86
|
-
<div class="card-footer">
|
87
|
-
<div class="wrapfooter">
|
88
|
-
{% if post.author %}
|
89
|
-
<span class="meta-footer-thumb">
|
90
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
91
|
-
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
92
|
-
-%}>
|
93
|
-
</span>
|
94
|
-
{% endif %}
|
95
|
-
|
96
|
-
<span class="author-meta">
|
97
|
-
<span class="post-name">
|
98
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
99
|
-
</span><br>
|
100
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
101
|
-
</span>
|
102
|
-
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
103
|
-
title="Read Story">Read
|
104
|
-
More</a></span>
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
</div>
|
109
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
110
|
-
{% if maxRelatedCounter >= maxRelated %}
|
111
|
-
{% break %}
|
112
|
-
{% endif %}
|
113
|
-
{%- else -%}
|
114
|
-
{%- endif -%}
|
115
|
-
{% endfor %}
|
116
|
-
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
{%- if remamingPosts > 0 -%}
|
122
|
-
{% assign posts = blogData | where_exp:"post","post.url != page.url" %}
|
123
|
-
{% for post in posts %}
|
124
|
-
{%- if remamingPosts > 0 -%}
|
125
|
-
{%- assign tagData = true -%}
|
126
|
-
{%- assign catData = true -%}
|
127
|
-
{%- if tags -%}
|
128
|
-
{% for tag in post.tags %}
|
129
|
-
{% if post.url != page.url %}
|
130
|
-
{% if tags contains tag %}
|
131
|
-
{%- assign tagData = false -%}
|
132
|
-
{%- break -%}
|
133
|
-
{% endif %}
|
134
|
-
{%- endif -%}
|
135
|
-
{% endfor %}
|
136
|
-
{%- endif -%}
|
137
|
-
{%- if categories-%}
|
138
|
-
{%- if tagData == false -%}
|
139
|
-
{%- continue -%}
|
140
|
-
{%- else -%}
|
141
|
-
{% for category in post.categories %}
|
142
|
-
{% if post.url != page.url %}
|
143
|
-
{% if categories contains category %}
|
144
|
-
{%- assign catData = false -%}
|
145
|
-
{%- break -%}
|
146
|
-
{% endif %}
|
147
|
-
{% endif %}
|
148
|
-
{% endfor %}
|
149
|
-
{%- endif -%}
|
150
|
-
{%- if catData == false -%}
|
151
|
-
{%- continue -%}
|
152
|
-
{%- endif -%}
|
153
|
-
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
154
|
-
{%- include authors/authors.html-%}
|
155
|
-
<div class="
|
156
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
157
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
158
|
-
<div class=" card h-100">
|
159
|
-
<a href="{{ post.url }}">
|
160
|
-
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
161
|
-
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
162
|
-
</a>
|
163
|
-
<div class="card-body">
|
164
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
165
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
166
|
-
</a>
|
167
|
-
</div>
|
168
|
-
<div class="card-footer">
|
169
|
-
<div class="wrapfooter">
|
170
|
-
{% if post.author %}
|
171
|
-
<span class="meta-footer-thumb">
|
172
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
173
|
-
if site.crossorigin -%} crossorigin {%- endif -%}>
|
174
|
-
</span>
|
175
|
-
{% endif %}
|
176
|
-
<span class="author-meta">
|
177
|
-
<span class="post-name">
|
178
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
179
|
-
</span><br>
|
180
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
181
|
-
</span>
|
182
|
-
|
183
|
-
</div>
|
184
|
-
</div>
|
185
|
-
</div>
|
186
|
-
</div>
|
187
|
-
{%- endif -%}
|
188
|
-
{%- endif -%}
|
189
|
-
|
190
|
-
{% endfor %}
|
191
|
-
{%- endif -%}
|
192
|
-
|
193
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
194
|
-
|
195
|
-
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
{%- endif -%}
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
</div>
|
1
|
+
<section class="related-posts-section">
|
2
|
+
<div class="container">
|
3
|
+
|
4
|
+
<div class="relatedPosts">
|
5
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
6
|
+
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-md-9 mx-auto">
|
9
|
+
{%- endif -%}
|
10
|
+
<h2 class="pt-5 pb-0 related_post_heading mb-3">You might also like</h2>
|
11
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
12
|
+
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
{%- endif -%}
|
16
|
+
|
17
|
+
{% assign blogData= site.data.blog.blog %}
|
18
|
+
|
19
|
+
|
20
|
+
{% assign maxRelated = 6 %}
|
21
|
+
{% assign minCommonTags = 1 %}
|
22
|
+
{% assign maxRelatedCounter = 0 %}
|
23
|
+
{% assign file = page.fileName %}
|
24
|
+
{% assign lang = "en" %}
|
25
|
+
{% assign folder = page.folderName %}
|
26
|
+
{%- if site.data[folder][lang][file].categories -%}
|
27
|
+
{% assign categories= site.data[folder][lang][file].categories %}
|
28
|
+
{%- else -%}
|
29
|
+
{% assign categories= page.categories %}
|
30
|
+
{%- endif -%}
|
31
|
+
{%- if site.data[folder][lang][file].tags -%}
|
32
|
+
{% assign tags= site.data[folder][lang][file].tags %}
|
33
|
+
{%- else -%}
|
34
|
+
{% assign tags= page.tags %}
|
35
|
+
{%- endif -%}
|
36
|
+
<div class="row">
|
37
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
38
|
+
|
39
|
+
|
40
|
+
<div class="col-md-9 mx-auto">
|
41
|
+
<div class="row">
|
42
|
+
{%- endif -%}
|
43
|
+
|
44
|
+
{% for post in blogData %}
|
45
|
+
{% assign sameTagCount = 0 %}
|
46
|
+
{% assign commonTags = '' %}
|
47
|
+
|
48
|
+
|
49
|
+
{%- if categories-%}
|
50
|
+
{% for category in post.categories %}
|
51
|
+
{% if post.url != page.url %}
|
52
|
+
{% if categories contains category %}
|
53
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
54
|
+
{% endif %}
|
55
|
+
{% endif %}
|
56
|
+
{% endfor %}
|
57
|
+
{%- endif -%}
|
58
|
+
|
59
|
+
{%- if tags -%}
|
60
|
+
{% for tag in post.tags %}
|
61
|
+
{% if post.url != page.url %}
|
62
|
+
{% if tags contains tag %}
|
63
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
64
|
+
{% endif %}
|
65
|
+
{%- endif -%}
|
66
|
+
{% endfor %}
|
67
|
+
{%- endif -%}
|
68
|
+
|
69
|
+
|
70
|
+
{% if sameTagCount >= minCommonTags %}
|
71
|
+
{%- include authors/authors.html-%}
|
72
|
+
<div class="
|
73
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
74
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
75
|
+
<div class=" card h-100">
|
76
|
+
<a href="{{ post.url }}">
|
77
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
|
78
|
+
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
79
|
+
-%}>
|
80
|
+
</a>
|
81
|
+
<div class="card-body">
|
82
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
83
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
84
|
+
</a>
|
85
|
+
</div>
|
86
|
+
<div class="card-footer">
|
87
|
+
<div class="wrapfooter">
|
88
|
+
{% if post.author %}
|
89
|
+
<span class="meta-footer-thumb">
|
90
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
91
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
92
|
+
-%}>
|
93
|
+
</span>
|
94
|
+
{% endif %}
|
95
|
+
|
96
|
+
<span class="author-meta">
|
97
|
+
<span class="post-name">
|
98
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
99
|
+
</span><br>
|
100
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
101
|
+
</span>
|
102
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
103
|
+
title="Read Story">Read
|
104
|
+
More</a></span>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
110
|
+
{% if maxRelatedCounter >= maxRelated %}
|
111
|
+
{% break %}
|
112
|
+
{% endif %}
|
113
|
+
{%- else -%}
|
114
|
+
{%- endif -%}
|
115
|
+
{% endfor %}
|
116
|
+
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
{%- if remamingPosts > 0 -%}
|
122
|
+
{% assign posts = blogData | where_exp:"post","post.url != page.url" %}
|
123
|
+
{% for post in posts %}
|
124
|
+
{%- if remamingPosts > 0 -%}
|
125
|
+
{%- assign tagData = true -%}
|
126
|
+
{%- assign catData = true -%}
|
127
|
+
{%- if tags -%}
|
128
|
+
{% for tag in post.tags %}
|
129
|
+
{% if post.url != page.url %}
|
130
|
+
{% if tags contains tag %}
|
131
|
+
{%- assign tagData = false -%}
|
132
|
+
{%- break -%}
|
133
|
+
{% endif %}
|
134
|
+
{%- endif -%}
|
135
|
+
{% endfor %}
|
136
|
+
{%- endif -%}
|
137
|
+
{%- if categories-%}
|
138
|
+
{%- if tagData == false -%}
|
139
|
+
{%- continue -%}
|
140
|
+
{%- else -%}
|
141
|
+
{% for category in post.categories %}
|
142
|
+
{% if post.url != page.url %}
|
143
|
+
{% if categories contains category %}
|
144
|
+
{%- assign catData = false -%}
|
145
|
+
{%- break -%}
|
146
|
+
{% endif %}
|
147
|
+
{% endif %}
|
148
|
+
{% endfor %}
|
149
|
+
{%- endif -%}
|
150
|
+
{%- if catData == false -%}
|
151
|
+
{%- continue -%}
|
152
|
+
{%- endif -%}
|
153
|
+
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
154
|
+
{%- include authors/authors.html-%}
|
155
|
+
<div class="
|
156
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
157
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
158
|
+
<div class=" card h-100">
|
159
|
+
<a href="{{ post.url }}">
|
160
|
+
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
161
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
162
|
+
</a>
|
163
|
+
<div class="card-body">
|
164
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
165
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
166
|
+
</a>
|
167
|
+
</div>
|
168
|
+
<div class="card-footer">
|
169
|
+
<div class="wrapfooter">
|
170
|
+
{% if post.author %}
|
171
|
+
<span class="meta-footer-thumb">
|
172
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
173
|
+
if site.crossorigin -%} crossorigin {%- endif -%}>
|
174
|
+
</span>
|
175
|
+
{% endif %}
|
176
|
+
<span class="author-meta">
|
177
|
+
<span class="post-name">
|
178
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
179
|
+
</span><br>
|
180
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
181
|
+
</span>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
</div>
|
187
|
+
{%- endif -%}
|
188
|
+
{%- endif -%}
|
189
|
+
|
190
|
+
{% endfor %}
|
191
|
+
{%- endif -%}
|
192
|
+
|
193
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
194
|
+
|
195
|
+
|
196
|
+
</div>
|
197
|
+
</div>
|
198
|
+
{%- endif -%}
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
202
|
</section>
|
@@ -1,32 +1,32 @@
|
|
1
|
-
{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
|
2
|
-
= page.folderName %} {% assign langData = site.data[folder][lang][file] %} {%-
|
3
|
-
assign langsupport = page.langsupport -%} {%- assign variable =
|
4
|
-
site.data.languagesupport[langsupport]-%} {%- if variable.langsupport -%}
|
5
|
-
<div class="lang-dropdown">
|
6
|
-
<button
|
7
|
-
class="btn btn-light dropdown-toggle lang-dropdown-btn"
|
8
|
-
type="button"
|
9
|
-
id="dropdownMenu2"
|
10
|
-
data-toggle="dropdown"
|
11
|
-
aria-expanded="false"
|
12
|
-
>
|
13
|
-
{{langData.Language}}
|
14
|
-
</button>
|
15
|
-
<ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
|
16
|
-
{%- for item in variable.langsupport -%} {%- if langData.Language ==
|
17
|
-
item.lang -%}
|
18
|
-
<a
|
19
|
-
class="lang-dropdown-item py-1"
|
20
|
-
style="background: rgba(149, 148, 151, 0.397)"
|
21
|
-
class=".lang-dropdown-item"
|
22
|
-
href="{{item.permalink}}"
|
23
|
-
>{{item.lang}}</a
|
24
|
-
>
|
25
|
-
{%- else -%}
|
26
|
-
<a class="lang-dropdown-item py-1" href="{{item.permalink}}"
|
27
|
-
>{{item.lang}}</a
|
28
|
-
>
|
29
|
-
{%- endif -%} {%- endfor -%}
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
{%- endif -%}
|
1
|
+
{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
|
2
|
+
= page.folderName %} {% assign langData = site.data[folder][lang][file] %} {%-
|
3
|
+
assign langsupport = page.langsupport -%} {%- assign variable =
|
4
|
+
site.data.languagesupport[langsupport]-%} {%- if variable.langsupport -%}
|
5
|
+
<div class="lang-dropdown">
|
6
|
+
<button
|
7
|
+
class="btn btn-light dropdown-toggle lang-dropdown-btn"
|
8
|
+
type="button"
|
9
|
+
id="dropdownMenu2"
|
10
|
+
data-toggle="dropdown"
|
11
|
+
aria-expanded="false"
|
12
|
+
>
|
13
|
+
{{langData.Language}}
|
14
|
+
</button>
|
15
|
+
<ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
|
16
|
+
{%- for item in variable.langsupport -%} {%- if langData.Language ==
|
17
|
+
item.lang -%}
|
18
|
+
<a
|
19
|
+
class="lang-dropdown-item py-1"
|
20
|
+
style="background: rgba(149, 148, 151, 0.397)"
|
21
|
+
class=".lang-dropdown-item"
|
22
|
+
href="{{item.permalink}}"
|
23
|
+
>{{item.lang}}</a
|
24
|
+
>
|
25
|
+
{%- else -%}
|
26
|
+
<a class="lang-dropdown-item py-1" href="{{item.permalink}}"
|
27
|
+
>{{item.lang}}</a
|
28
|
+
>
|
29
|
+
{%- endif -%} {%- endfor -%}
|
30
|
+
</ul>
|
31
|
+
</div>
|
32
|
+
{%- endif -%}
|