appscms-tools-theme 4.6.2 → 4.6.3
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/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 +209 -305
- 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 +2 -2
- data/_data/header/en/data.json +412 -412
- data/_data/home/en/en.json +324 -324
- data/_data/home/en/posters.json +322 -322
- 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 +166 -166
- 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/navbars/toolbar.html +4 -17
- 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 +623 -623
- data/_includes/header/blogHeader.html +34 -34
- data/_includes/header/index.html +192 -192
- data/_includes/infographics/infographics.html +241 -241
- 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-help.html +25 -25
- 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 +45 -45
- data/_layouts/contenttool-home.html +53 -53
- 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 +406 -406
- data/_layouts/feature.html +351 -351
- data/_layouts/featureResultPage.html +82 -82
- data/_layouts/frame.html +222 -222
- data/_layouts/home.html +281 -281
- 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/devtool-main.css +1350 -1350
- data/assets/css/devtools.css +105 -105
- data/assets/css/feature-1.css +293 -293
- data/assets/css/imagekit copy.css +848 -848
- data/assets/css/imagekit.css +848 -848
- data/assets/css/tools.css +1847 -1847
- data/assets/images/close-button.svg +31 -31
- data/assets/images/digipaint.svg +6 -6
- 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 +3 -3
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
<section class="related-posts-section container">
|
|
2
|
-
<div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
|
|
3
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
4
|
-
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="col-md-9 mx-auto">
|
|
7
|
-
{%- endif -%}
|
|
8
|
-
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
9
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
10
|
-
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
{%- endif -%}
|
|
14
|
-
{% assign file = page.fileName %}
|
|
15
|
-
{% assign lang = page.lang %}
|
|
16
|
-
{% assign folder = page.folderName %}
|
|
17
|
-
{% assign homeData = site.data[folder][lang][file] %}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div class="row allblogs shadow appscms-blogs">
|
|
22
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<div class="col-md-9 mx-auto">
|
|
26
|
-
<div class="row">
|
|
27
|
-
{%- endif -%}
|
|
28
|
-
{% for entry in site.data.blog.relatedblogs %}
|
|
29
|
-
{% if entry.path == blogPostPath %}
|
|
30
|
-
|
|
31
|
-
{% for post in entry.relatedBlogs %}
|
|
32
|
-
|
|
33
|
-
{%- include authors/authors.html-%}
|
|
34
|
-
<div class="
|
|
35
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
36
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
37
|
-
<div class=" card h-100 appscms-blog-cards">
|
|
38
|
-
<a href="/blog/{{ post.metadata.url }}" aria-label="{{post.metadata.title}}">
|
|
39
|
-
<img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="250"
|
|
40
|
-
width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
41
|
-
-%}
|
|
42
|
-
</a>
|
|
43
|
-
<div class="card-body">
|
|
44
|
-
<a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link" aria-label="{{post.metadata.title}}">
|
|
45
|
-
<h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
|
|
46
|
-
</a>
|
|
47
|
-
<div class="wrapfooter">
|
|
48
|
-
{% if post.metadata.author %}
|
|
49
|
-
<span class="meta-footer-thumb">
|
|
50
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
51
|
-
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
52
|
-
-%}>
|
|
53
|
-
</span>
|
|
54
|
-
{% endif %}
|
|
55
|
-
|
|
56
|
-
<span class="author-meta">
|
|
57
|
-
|
|
58
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
59
|
-
<br>
|
|
60
|
-
<span class="post-date">{{post.metadata.date | date_to_string }}</span>
|
|
61
|
-
</span>
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
{% endfor %}
|
|
71
|
-
|
|
72
|
-
{% endif %}
|
|
73
|
-
{% endfor %}
|
|
74
|
-
|
|
75
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
{%- endif -%}
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
1
|
+
<section class="related-posts-section container">
|
|
2
|
+
<div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
|
|
3
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
4
|
+
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-md-9 mx-auto">
|
|
7
|
+
{%- endif -%}
|
|
8
|
+
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
9
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
{% assign file = page.fileName %}
|
|
15
|
+
{% assign lang = page.lang %}
|
|
16
|
+
{% assign folder = page.folderName %}
|
|
17
|
+
{% assign homeData = site.data[folder][lang][file] %}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<div class="row allblogs shadow appscms-blogs">
|
|
22
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<div class="col-md-9 mx-auto">
|
|
26
|
+
<div class="row">
|
|
27
|
+
{%- endif -%}
|
|
28
|
+
{% for entry in site.data.blog.relatedblogs %}
|
|
29
|
+
{% if entry.path == blogPostPath %}
|
|
30
|
+
|
|
31
|
+
{% for post in entry.relatedBlogs %}
|
|
32
|
+
|
|
33
|
+
{%- include authors/authors.html-%}
|
|
34
|
+
<div class="
|
|
35
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
36
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
37
|
+
<div class=" card h-100 appscms-blog-cards">
|
|
38
|
+
<a href="/blog/{{ post.metadata.url }}" aria-label="{{post.metadata.title}}">
|
|
39
|
+
<img src="{{ post.metadata.image }}" loading="lazy" class="card-img-top" height="250"
|
|
40
|
+
width="100%" alt="{{post.metadata.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
41
|
+
-%}
|
|
42
|
+
</a>
|
|
43
|
+
<div class="card-body">
|
|
44
|
+
<a class="text-decoration-none text-dark" href="/blog/{{ post.metadata.url }}" class="anchor_link" aria-label="{{post.metadata.title}}">
|
|
45
|
+
<h4 class="card-title mb-4 text-left">{{ post.metadata.title }}</h4>
|
|
46
|
+
</a>
|
|
47
|
+
<div class="wrapfooter">
|
|
48
|
+
{% if post.metadata.author %}
|
|
49
|
+
<span class="meta-footer-thumb">
|
|
50
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
51
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
52
|
+
-%}>
|
|
53
|
+
</span>
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
<span class="author-meta">
|
|
57
|
+
|
|
58
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
59
|
+
<br>
|
|
60
|
+
<span class="post-date">{{post.metadata.date | date_to_string }}</span>
|
|
61
|
+
</span>
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
{% endfor %}
|
|
71
|
+
|
|
72
|
+
{% endif %}
|
|
73
|
+
{% endfor %}
|
|
74
|
+
|
|
75
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
{%- endif -%}
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
83
|
</section>
|
|
@@ -1,194 +1,194 @@
|
|
|
1
|
-
<section class="related-posts-section container">
|
|
2
|
-
<div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
|
|
3
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
4
|
-
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="col-md-9 mx-auto">
|
|
7
|
-
{%- endif -%}
|
|
8
|
-
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
9
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
10
|
-
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
{%- endif -%}
|
|
14
|
-
|
|
15
|
-
{% assign blogData= site.data.blog.blog %}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{% assign maxRelated = 6 %}
|
|
19
|
-
{% assign minCommonTags = 1 %}
|
|
20
|
-
{% assign maxRelatedCounter = 0 %}
|
|
21
|
-
{% assign file = page.fileName %}
|
|
22
|
-
{% assign lang = "en" %}
|
|
23
|
-
{% assign folder = page.folderName %}
|
|
24
|
-
{%- if site.data[folder][lang][file].categories -%}
|
|
25
|
-
{% assign categories= site.data[folder][lang][file].categories %}
|
|
26
|
-
{%- else -%}
|
|
27
|
-
{% assign categories= page.categories %}
|
|
28
|
-
{%- endif -%}
|
|
29
|
-
{%- if site.data[folder][lang][file].tags -%}
|
|
30
|
-
{% assign tags= site.data[folder][lang][file].tags %}
|
|
31
|
-
{%- else -%}
|
|
32
|
-
{% assign tags= page.tags %}
|
|
33
|
-
{%- endif -%}
|
|
34
|
-
<div class="row allblogs shadow appscms-blogs">
|
|
35
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<div class="col-md-9 mx-auto">
|
|
39
|
-
<div class="row">
|
|
40
|
-
{%- endif -%}
|
|
41
|
-
|
|
42
|
-
{% for post in blogData %}
|
|
43
|
-
{% assign sameTagCount = 0 %}
|
|
44
|
-
{% assign commonTags = '' %}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{%- if categories-%}
|
|
48
|
-
{% for category in post.categories %}
|
|
49
|
-
{% if post.url != page.url %}
|
|
50
|
-
{% if categories contains category %}
|
|
51
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
52
|
-
{% endif %}
|
|
53
|
-
{% endif %}
|
|
54
|
-
{% endfor %}
|
|
55
|
-
{%- endif -%}
|
|
56
|
-
|
|
57
|
-
{%- if tags -%}
|
|
58
|
-
{% for tag in post.tags %}
|
|
59
|
-
{% if post.url != page.url %}
|
|
60
|
-
{% if tags contains tag %}
|
|
61
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
62
|
-
{% endif %}
|
|
63
|
-
{%- endif -%}
|
|
64
|
-
{% endfor %}
|
|
65
|
-
{%- endif -%}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{% if sameTagCount >= minCommonTags %}
|
|
69
|
-
{%- include authors/authors.html-%}
|
|
70
|
-
<div class="
|
|
71
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
72
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
73
|
-
<div class=" card h-100 appscms-blog-cards">
|
|
74
|
-
<a href="{{ post.url }}">
|
|
75
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="150"
|
|
76
|
-
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
77
|
-
-%}
|
|
78
|
-
</a>
|
|
79
|
-
<div class="card-body">
|
|
80
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
81
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
82
|
-
</a>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="card-footer">
|
|
85
|
-
<div class="wrapfooter">
|
|
86
|
-
{% if post.author %}
|
|
87
|
-
<span class="meta-footer-thumb">
|
|
88
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
89
|
-
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
90
|
-
-%}
|
|
91
|
-
</span>
|
|
92
|
-
{% endif %}
|
|
93
|
-
|
|
94
|
-
<span class="author-meta">
|
|
95
|
-
|
|
96
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
97
|
-
<br>
|
|
98
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
99
|
-
</span>
|
|
100
|
-
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
106
|
-
{% if maxRelatedCounter >= maxRelated %}
|
|
107
|
-
{% break %}
|
|
108
|
-
{% endif %}
|
|
109
|
-
{%- else -%}
|
|
110
|
-
{%- endif -%}
|
|
111
|
-
{% endfor %}
|
|
112
|
-
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
113
|
-
{%- if remamingPosts > 0 -%}
|
|
114
|
-
{% assign posts = blogData | where_exp:"post","post.url != page.url" %}
|
|
115
|
-
{% for post in posts %}
|
|
116
|
-
{%- if remamingPosts > 0 -%}
|
|
117
|
-
{%- assign tagData = true -%}
|
|
118
|
-
{%- assign catData = true -%}
|
|
119
|
-
{%- if tags -%}
|
|
120
|
-
{% for tag in post.tags %}
|
|
121
|
-
{% if post.url != page.url %}
|
|
122
|
-
{% if tags contains tag %}
|
|
123
|
-
{%- assign tagData = false -%}
|
|
124
|
-
{%- break -%}
|
|
125
|
-
{% endif %}
|
|
126
|
-
{%- endif -%}
|
|
127
|
-
{% endfor %}
|
|
128
|
-
{%- endif -%}
|
|
129
|
-
{%- if categories-%}
|
|
130
|
-
{%- if tagData == false -%}
|
|
131
|
-
{%- continue -%}
|
|
132
|
-
{%- else -%}
|
|
133
|
-
{% for category in post.categories %}
|
|
134
|
-
{% if post.url != page.url %}
|
|
135
|
-
{% if categories contains category %}
|
|
136
|
-
{%- assign catData = false -%}
|
|
137
|
-
{%- break -%}
|
|
138
|
-
{% endif %}
|
|
139
|
-
{% endif %}
|
|
140
|
-
{% endfor %}
|
|
141
|
-
{%- endif -%}
|
|
142
|
-
{%- if catData == false -%}
|
|
143
|
-
{%- continue -%}
|
|
144
|
-
{%- endif -%}
|
|
145
|
-
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
146
|
-
{%- include authors/authors.html-%}
|
|
147
|
-
<div class="
|
|
148
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
149
|
-
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
150
|
-
<div class=" card h-100 appscms-blog-cards">
|
|
151
|
-
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
152
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
153
|
-
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
154
|
-
</a>
|
|
155
|
-
<div class="card-body">
|
|
156
|
-
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
157
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" >
|
|
158
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
159
|
-
</a>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="card-footer">
|
|
162
|
-
<div class="wrapfooter">
|
|
163
|
-
{% if post.author %}
|
|
164
|
-
<span class="meta-footer-thumb">
|
|
165
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
|
166
|
-
if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
167
|
-
</span>
|
|
168
|
-
{% endif %}
|
|
169
|
-
<span class="author-meta">
|
|
170
|
-
<span class="post-name">
|
|
171
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
172
|
-
</span><br>
|
|
173
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
174
|
-
</span>
|
|
175
|
-
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
{%- endif -%}
|
|
181
|
-
{%- endif -%}
|
|
182
|
-
|
|
183
|
-
{% endfor %}
|
|
184
|
-
{%- endif -%}
|
|
185
|
-
|
|
186
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
{%- endif -%}
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
1
|
+
<section class="related-posts-section container">
|
|
2
|
+
<div class="mx-auto col-md-11 col-lg-11 col-sm-10 p-3 pb-3">
|
|
3
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
4
|
+
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-md-9 mx-auto">
|
|
7
|
+
{%- endif -%}
|
|
8
|
+
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
9
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
10
|
+
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
{%- endif -%}
|
|
14
|
+
|
|
15
|
+
{% assign blogData= site.data.blog.blog %}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
{% assign maxRelated = 6 %}
|
|
19
|
+
{% assign minCommonTags = 1 %}
|
|
20
|
+
{% assign maxRelatedCounter = 0 %}
|
|
21
|
+
{% assign file = page.fileName %}
|
|
22
|
+
{% assign lang = "en" %}
|
|
23
|
+
{% assign folder = page.folderName %}
|
|
24
|
+
{%- if site.data[folder][lang][file].categories -%}
|
|
25
|
+
{% assign categories= site.data[folder][lang][file].categories %}
|
|
26
|
+
{%- else -%}
|
|
27
|
+
{% assign categories= page.categories %}
|
|
28
|
+
{%- endif -%}
|
|
29
|
+
{%- if site.data[folder][lang][file].tags -%}
|
|
30
|
+
{% assign tags= site.data[folder][lang][file].tags %}
|
|
31
|
+
{%- else -%}
|
|
32
|
+
{% assign tags= page.tags %}
|
|
33
|
+
{%- endif -%}
|
|
34
|
+
<div class="row allblogs shadow appscms-blogs">
|
|
35
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<div class="col-md-9 mx-auto">
|
|
39
|
+
<div class="row">
|
|
40
|
+
{%- endif -%}
|
|
41
|
+
|
|
42
|
+
{% for post in blogData %}
|
|
43
|
+
{% assign sameTagCount = 0 %}
|
|
44
|
+
{% assign commonTags = '' %}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
{%- if categories-%}
|
|
48
|
+
{% for category in post.categories %}
|
|
49
|
+
{% if post.url != page.url %}
|
|
50
|
+
{% if categories contains category %}
|
|
51
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
52
|
+
{% endif %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
{% endfor %}
|
|
55
|
+
{%- endif -%}
|
|
56
|
+
|
|
57
|
+
{%- if tags -%}
|
|
58
|
+
{% for tag in post.tags %}
|
|
59
|
+
{% if post.url != page.url %}
|
|
60
|
+
{% if tags contains tag %}
|
|
61
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
62
|
+
{% endif %}
|
|
63
|
+
{%- endif -%}
|
|
64
|
+
{% endfor %}
|
|
65
|
+
{%- endif -%}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
{% if sameTagCount >= minCommonTags %}
|
|
69
|
+
{%- include authors/authors.html-%}
|
|
70
|
+
<div class="
|
|
71
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
72
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
73
|
+
<div class=" card h-100 appscms-blog-cards">
|
|
74
|
+
<a href="{{ post.url }}">
|
|
75
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="150"
|
|
76
|
+
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
77
|
+
-%}
|
|
78
|
+
</a>
|
|
79
|
+
<div class="card-body">
|
|
80
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
81
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
82
|
+
</a>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="card-footer">
|
|
85
|
+
<div class="wrapfooter">
|
|
86
|
+
{% if post.author %}
|
|
87
|
+
<span class="meta-footer-thumb">
|
|
88
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
89
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
90
|
+
-%}
|
|
91
|
+
</span>
|
|
92
|
+
{% endif %}
|
|
93
|
+
|
|
94
|
+
<span class="author-meta">
|
|
95
|
+
|
|
96
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
97
|
+
<br>
|
|
98
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
99
|
+
</span>
|
|
100
|
+
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
106
|
+
{% if maxRelatedCounter >= maxRelated %}
|
|
107
|
+
{% break %}
|
|
108
|
+
{% endif %}
|
|
109
|
+
{%- else -%}
|
|
110
|
+
{%- endif -%}
|
|
111
|
+
{% endfor %}
|
|
112
|
+
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
113
|
+
{%- if remamingPosts > 0 -%}
|
|
114
|
+
{% assign posts = blogData | where_exp:"post","post.url != page.url" %}
|
|
115
|
+
{% for post in posts %}
|
|
116
|
+
{%- if remamingPosts > 0 -%}
|
|
117
|
+
{%- assign tagData = true -%}
|
|
118
|
+
{%- assign catData = true -%}
|
|
119
|
+
{%- if tags -%}
|
|
120
|
+
{% for tag in post.tags %}
|
|
121
|
+
{% if post.url != page.url %}
|
|
122
|
+
{% if tags contains tag %}
|
|
123
|
+
{%- assign tagData = false -%}
|
|
124
|
+
{%- break -%}
|
|
125
|
+
{% endif %}
|
|
126
|
+
{%- endif -%}
|
|
127
|
+
{% endfor %}
|
|
128
|
+
{%- endif -%}
|
|
129
|
+
{%- if categories-%}
|
|
130
|
+
{%- if tagData == false -%}
|
|
131
|
+
{%- continue -%}
|
|
132
|
+
{%- else -%}
|
|
133
|
+
{% for category in post.categories %}
|
|
134
|
+
{% if post.url != page.url %}
|
|
135
|
+
{% if categories contains category %}
|
|
136
|
+
{%- assign catData = false -%}
|
|
137
|
+
{%- break -%}
|
|
138
|
+
{% endif %}
|
|
139
|
+
{% endif %}
|
|
140
|
+
{% endfor %}
|
|
141
|
+
{%- endif -%}
|
|
142
|
+
{%- if catData == false -%}
|
|
143
|
+
{%- continue -%}
|
|
144
|
+
{%- endif -%}
|
|
145
|
+
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
146
|
+
{%- include authors/authors.html-%}
|
|
147
|
+
<div class="
|
|
148
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4 card-group {%-
|
|
149
|
+
else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
150
|
+
<div class=" card h-100 appscms-blog-cards">
|
|
151
|
+
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
152
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
153
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
154
|
+
</a>
|
|
155
|
+
<div class="card-body">
|
|
156
|
+
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
157
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" >
|
|
158
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
159
|
+
</a>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="card-footer">
|
|
162
|
+
<div class="wrapfooter">
|
|
163
|
+
{% if post.author %}
|
|
164
|
+
<span class="meta-footer-thumb">
|
|
165
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
|
166
|
+
if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
167
|
+
</span>
|
|
168
|
+
{% endif %}
|
|
169
|
+
<span class="author-meta">
|
|
170
|
+
<span class="post-name">
|
|
171
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
172
|
+
</span><br>
|
|
173
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
174
|
+
</span>
|
|
175
|
+
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
</div>
|
|
180
|
+
{%- endif -%}
|
|
181
|
+
{%- endif -%}
|
|
182
|
+
|
|
183
|
+
{% endfor %}
|
|
184
|
+
{%- endif -%}
|
|
185
|
+
|
|
186
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
{%- endif -%}
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
194
|
</section>
|