appscms-tools-theme 4.8.3 → 4.8.4
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/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/_data/noindexURLs.json +23 -0
- data/_includes/.DS_Store +0 -0
- data/_includes/alternates/alternates.html +64 -89
- 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 +241 -32
- 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/navbar.html +129 -75
- data/_includes/appscms/navbars/toolbar.html +326 -139
- 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 +64 -47
- 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 +42 -42
- 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 +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/.DS_Store +0 -0
- 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-theme.css +11 -251
- data/assets/css/appscms-variables.css +24 -24
- 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/appscms-infographics.js +49 -49
- 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 +5 -3
|
@@ -1,90 +1,90 @@
|
|
|
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
|
-
<div class="relatedPosts">
|
|
4
|
-
{%- if site.posts.size>0 -%} {%- if site.monumetricId and page.url != '/'
|
|
5
|
-
and page.lang == "en" -%}
|
|
6
|
-
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-md-9 mx-auto">
|
|
9
|
-
{%- endif -%}
|
|
10
|
-
<div class="heading">
|
|
11
|
-
<div class="row">
|
|
12
|
-
<div class="col-md-12 col-sm-12 mx-auto">
|
|
13
|
-
<div
|
|
14
|
-
class="d-flex align-items-center justify-content-center mb-5"
|
|
15
|
-
>
|
|
16
|
-
<hr
|
|
17
|
-
class="flex-grow-1 mx-4 mb-0"
|
|
18
|
-
style="height: 2px; background-color: #000"
|
|
19
|
-
/>
|
|
20
|
-
<h4 class="text-center appscms-h3 my-5">Recent posts</h4>
|
|
21
|
-
<hr
|
|
22
|
-
class="flex-grow-1 mx-4 mb-0"
|
|
23
|
-
style="height: 2px; background-color: #000"
|
|
24
|
-
/>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
{%- endif -%} {%- endif -%}
|
|
33
|
-
<div class="row allblogs shadow appscms-blogs">
|
|
34
|
-
<div class="row px-4">
|
|
35
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
36
|
-
|
|
37
|
-
<div class="col-md-9 mx-auto">
|
|
38
|
-
<div class="row">
|
|
39
|
-
{%- endif -%} {% assign posts = site.posts |
|
|
40
|
-
where_exp:"post","post.url != page.url" %} {% for post in posts
|
|
41
|
-
limit: 6%} {%- include /authors/authors.html -%}
|
|
42
|
-
<div class="col-xl-4 col-lg-6 col-md-6 mb-4">
|
|
43
|
-
<div class="card h-100 appscms-blog-cards">
|
|
44
|
-
<a
|
|
45
|
-
class="text-decoration-none text-dark"
|
|
46
|
-
href="{{ post.url }}"
|
|
47
|
-
aria-label="{{post.title}}"
|
|
48
|
-
>
|
|
49
|
-
<img
|
|
50
|
-
class="card-img-top"
|
|
51
|
-
src="{{ post.image }}"
|
|
52
|
-
alt="Video thumbnail"
|
|
53
|
-
loading="lazy"
|
|
54
|
-
style="height: 100%; width: 100%"
|
|
55
|
-
/>
|
|
56
|
-
<div class="card-body">
|
|
57
|
-
<h5 class="card-title">{{post.title}}</h5>
|
|
58
|
-
<div class="wrapfooter">
|
|
59
|
-
<span class="meta-footer-thumb"
|
|
60
|
-
><img
|
|
61
|
-
class="author-thumb ezlazyloaded"
|
|
62
|
-
loading="lazy"
|
|
63
|
-
src="{{image}}"
|
|
64
|
-
alt="{{authorName}}"
|
|
65
|
-
ezimgfmt="rs rscb1 src ng ngcb1"
|
|
66
|
-
data-ezsrc="https://safeimagekit.com/ezoimgfmt/d33wubrfki0l68.cloudfront.net/6ec825fe5d7100e36db90bc00382e77e2e242a20/f5cec/assets/images/udit.jpg?ezimgfmt=rs:35x35/rscb1/ng:webp/ngcb1"
|
|
67
|
-
ezoid="0.04631063861662277"
|
|
68
|
-
/></span>
|
|
69
|
-
<div class="author-meta">
|
|
70
|
-
<a target="_blank" href="/blog/">{{authorName}}</a
|
|
71
|
-
><br />
|
|
72
|
-
<p class="post-date mb-0">
|
|
73
|
-
{{post.date | date_to_string }}
|
|
74
|
-
</p>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</a>
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
{% endfor %} {%- if site.monumetricId and page.url != '/' and
|
|
82
|
-
page.lang == "en" -%}
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
{%- endif -%}
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
</section>
|
|
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
|
+
<div class="relatedPosts">
|
|
4
|
+
{%- if site.posts.size>0 -%} {%- if site.monumetricId and page.url != '/'
|
|
5
|
+
and page.lang == "en" -%}
|
|
6
|
+
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-md-9 mx-auto">
|
|
9
|
+
{%- endif -%}
|
|
10
|
+
<div class="heading">
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="col-md-12 col-sm-12 mx-auto">
|
|
13
|
+
<div
|
|
14
|
+
class="d-flex align-items-center justify-content-center mb-5"
|
|
15
|
+
>
|
|
16
|
+
<hr
|
|
17
|
+
class="flex-grow-1 mx-4 mb-0"
|
|
18
|
+
style="height: 2px; background-color: #000"
|
|
19
|
+
/>
|
|
20
|
+
<h4 class="text-center appscms-h3 my-5">Recent posts</h4>
|
|
21
|
+
<hr
|
|
22
|
+
class="flex-grow-1 mx-4 mb-0"
|
|
23
|
+
style="height: 2px; background-color: #000"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
{%- endif -%} {%- endif -%}
|
|
33
|
+
<div class="row allblogs shadow appscms-blogs">
|
|
34
|
+
<div class="row px-4">
|
|
35
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
36
|
+
|
|
37
|
+
<div class="col-md-9 mx-auto">
|
|
38
|
+
<div class="row">
|
|
39
|
+
{%- endif -%} {% assign posts = site.posts |
|
|
40
|
+
where_exp:"post","post.url != page.url" %} {% for post in posts
|
|
41
|
+
limit: 6%} {%- include /authors/authors.html -%}
|
|
42
|
+
<div class="col-xl-4 col-lg-6 col-md-6 mb-4">
|
|
43
|
+
<div class="card h-100 appscms-blog-cards">
|
|
44
|
+
<a
|
|
45
|
+
class="text-decoration-none text-dark"
|
|
46
|
+
href="{{ post.url }}"
|
|
47
|
+
aria-label="{{post.title}}"
|
|
48
|
+
>
|
|
49
|
+
<img
|
|
50
|
+
class="card-img-top"
|
|
51
|
+
src="{{ post.image }}"
|
|
52
|
+
alt="Video thumbnail"
|
|
53
|
+
loading="lazy"
|
|
54
|
+
style="height: 100%; width: 100%"
|
|
55
|
+
/>
|
|
56
|
+
<div class="card-body">
|
|
57
|
+
<h5 class="card-title">{{post.title}}</h5>
|
|
58
|
+
<div class="wrapfooter">
|
|
59
|
+
<span class="meta-footer-thumb"
|
|
60
|
+
><img
|
|
61
|
+
class="author-thumb ezlazyloaded"
|
|
62
|
+
loading="lazy"
|
|
63
|
+
src="{{image}}"
|
|
64
|
+
alt="{{authorName}}"
|
|
65
|
+
ezimgfmt="rs rscb1 src ng ngcb1"
|
|
66
|
+
data-ezsrc="https://safeimagekit.com/ezoimgfmt/d33wubrfki0l68.cloudfront.net/6ec825fe5d7100e36db90bc00382e77e2e242a20/f5cec/assets/images/udit.jpg?ezimgfmt=rs:35x35/rscb1/ng:webp/ngcb1"
|
|
67
|
+
ezoid="0.04631063861662277"
|
|
68
|
+
/></span>
|
|
69
|
+
<div class="author-meta">
|
|
70
|
+
<a target="_blank" href="/blog/">{{authorName}}</a
|
|
71
|
+
><br />
|
|
72
|
+
<p class="post-date mb-0">
|
|
73
|
+
{{post.date | date_to_string }}
|
|
74
|
+
</p>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</a>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
{% endfor %} {%- if site.monumetricId and page.url != '/' and
|
|
82
|
+
page.lang == "en" -%}
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
{%- endif -%}
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</section>
|
|
@@ -1,195 +1,195 @@
|
|
|
1
|
-
<section class="related-posts-section">
|
|
2
|
-
<div class="container">
|
|
3
|
-
<div class="relatedPosts">
|
|
4
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
5
|
-
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-md-9 mx-auto">
|
|
8
|
-
{%- endif -%}
|
|
9
|
-
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
10
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
11
|
-
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
{%- endif -%}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
{% assign maxRelated = 6 %}
|
|
18
|
-
{% assign minCommonTags = 1 %}
|
|
19
|
-
{% assign maxRelatedCounter = 0 %}
|
|
20
|
-
{% assign file = page.fileName %}
|
|
21
|
-
{% assign lang = "en" %}
|
|
22
|
-
{% assign folder = page.folderName %}
|
|
23
|
-
{%- if site.data[folder][lang][file].categories -%}
|
|
24
|
-
{% assign categories= site.data[folder][lang][file].categories %}
|
|
25
|
-
{%- else -%}
|
|
26
|
-
{% assign categories= page.categories %}
|
|
27
|
-
{%- endif -%}
|
|
28
|
-
{%- if site.data[folder][lang][file].tags -%}
|
|
29
|
-
{% assign tags= site.data[folder][lang][file].tags %}
|
|
30
|
-
{%- else -%}
|
|
31
|
-
{% assign tags= page.tags %}
|
|
32
|
-
{%- endif -%}
|
|
33
|
-
<div class="row allblogs shadow appscms-blogs">
|
|
34
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<div class="col-md-9 mx-auto">
|
|
38
|
-
<div class="row">
|
|
39
|
-
{%- endif -%}
|
|
40
|
-
{% for post in site.posts %}
|
|
41
|
-
{% assign sameTagCount = 0 %}
|
|
42
|
-
{% assign commonTags = '' %}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{%- if categories -%}
|
|
46
|
-
{% for category in post.categories %}
|
|
47
|
-
{% if post.url != page.url %}
|
|
48
|
-
{% if categories contains category %}
|
|
49
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
50
|
-
{% endif %}
|
|
51
|
-
{% endif %}
|
|
52
|
-
{% endfor %}
|
|
53
|
-
{%- endif -%}
|
|
54
|
-
|
|
55
|
-
{%- if tags -%}
|
|
56
|
-
{% for tag in post.tags %}
|
|
57
|
-
{% if post.url != page.url %}
|
|
58
|
-
{% if tags contains tag %}
|
|
59
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
60
|
-
{% endif %}
|
|
61
|
-
{%- endif -%}
|
|
62
|
-
{% endfor %}
|
|
63
|
-
{%- endif -%}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
{% if sameTagCount >= minCommonTags %}
|
|
67
|
-
{%- include authors/authors.html-%}
|
|
68
|
-
<div class="
|
|
69
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4
|
|
70
|
-
card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
71
|
-
<div class=" card h-100">
|
|
72
|
-
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
73
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
|
|
74
|
-
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
75
|
-
-%}>
|
|
76
|
-
</a>
|
|
77
|
-
<div class="card-body">
|
|
78
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
|
|
79
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
80
|
-
</a>
|
|
81
|
-
</div>
|
|
82
|
-
|
|
83
|
-
<div class="wrapfooter">
|
|
84
|
-
{% if post.author %}
|
|
85
|
-
<span class="meta-footer-thumb">
|
|
86
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
87
|
-
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
88
|
-
-%}>
|
|
89
|
-
</span>
|
|
90
|
-
{% endif %}
|
|
91
|
-
|
|
92
|
-
<span class="author-meta">
|
|
93
|
-
|
|
94
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
95
|
-
<br>
|
|
96
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
97
|
-
</span>
|
|
98
|
-
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
103
|
-
{% if maxRelatedCounter >= maxRelated %}
|
|
104
|
-
{% break %}
|
|
105
|
-
{% endif %}
|
|
106
|
-
{%- else -%}
|
|
107
|
-
{%- endif -%}
|
|
108
|
-
{% endfor %}
|
|
109
|
-
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
{%- if remamingPosts > 0 -%}
|
|
115
|
-
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
116
|
-
{% for post in posts %}
|
|
117
|
-
{%- if remamingPosts > 0 -%}
|
|
118
|
-
{%- assign tagData = true -%}
|
|
119
|
-
{%- assign catData = true -%}
|
|
120
|
-
{%- if tags -%}
|
|
121
|
-
{% for tag in post.tags %}
|
|
122
|
-
{% if post.url != page.url %}
|
|
123
|
-
{% if tags contains tag %}
|
|
124
|
-
{%- assign tagData = false -%}
|
|
125
|
-
{%- break -%}
|
|
126
|
-
{% endif %}
|
|
127
|
-
{%- endif -%}
|
|
128
|
-
{% endfor %}
|
|
129
|
-
{%- endif -%}
|
|
130
|
-
{%- if categories -%}
|
|
131
|
-
{%- if tagData == false -%}
|
|
132
|
-
{%- continue -%}
|
|
133
|
-
{%- else -%}
|
|
134
|
-
{% for category in post.categories %}
|
|
135
|
-
{% if post.url != page.url %}
|
|
136
|
-
{% if categories contains category %}
|
|
137
|
-
{%- assign catData = false -%}
|
|
138
|
-
{%- break -%}
|
|
139
|
-
{% endif %}
|
|
140
|
-
{% endif %}
|
|
141
|
-
{% endfor %}
|
|
142
|
-
{%- endif -%}
|
|
143
|
-
{%- if catData == false -%}
|
|
144
|
-
{%- continue -%}
|
|
145
|
-
{%- endif -%}
|
|
146
|
-
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
147
|
-
{%- include authors/authors.html-%}
|
|
148
|
-
<div class="
|
|
149
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4
|
|
150
|
-
card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
151
|
-
<div class=" card h-100">
|
|
152
|
-
<a href="{{ post.url }}">
|
|
153
|
-
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
154
|
-
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
155
|
-
</a>
|
|
156
|
-
<div class="card-body">
|
|
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 class="wrapfooter">
|
|
161
|
-
{% if post.author %}
|
|
162
|
-
<span class="meta-footer-thumb">
|
|
163
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
|
164
|
-
if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
165
|
-
</span>
|
|
166
|
-
{% endif %}
|
|
167
|
-
<span class="author-meta">
|
|
168
|
-
<span class="post-name">
|
|
169
|
-
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
170
|
-
</span><br>
|
|
171
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
172
|
-
</span>
|
|
173
|
-
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
181
|
-
{%- endif -%}
|
|
182
|
-
{%- endif -%}
|
|
183
|
-
|
|
184
|
-
{% endfor %}
|
|
185
|
-
{%- endif -%}
|
|
186
|
-
|
|
187
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
188
|
-
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
{%- endif -%}
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
1
|
+
<section class="related-posts-section">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="relatedPosts">
|
|
4
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
5
|
+
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-md-9 mx-auto">
|
|
8
|
+
{%- endif -%}
|
|
9
|
+
<p class="pt-5 pb-0 related_post_heading mb-3">You might also like</p>
|
|
10
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
{%- endif -%}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
{% assign maxRelated = 6 %}
|
|
18
|
+
{% assign minCommonTags = 1 %}
|
|
19
|
+
{% assign maxRelatedCounter = 0 %}
|
|
20
|
+
{% assign file = page.fileName %}
|
|
21
|
+
{% assign lang = "en" %}
|
|
22
|
+
{% assign folder = page.folderName %}
|
|
23
|
+
{%- if site.data[folder][lang][file].categories -%}
|
|
24
|
+
{% assign categories= site.data[folder][lang][file].categories %}
|
|
25
|
+
{%- else -%}
|
|
26
|
+
{% assign categories= page.categories %}
|
|
27
|
+
{%- endif -%}
|
|
28
|
+
{%- if site.data[folder][lang][file].tags -%}
|
|
29
|
+
{% assign tags= site.data[folder][lang][file].tags %}
|
|
30
|
+
{%- else -%}
|
|
31
|
+
{% assign tags= page.tags %}
|
|
32
|
+
{%- endif -%}
|
|
33
|
+
<div class="row allblogs shadow appscms-blogs">
|
|
34
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<div class="col-md-9 mx-auto">
|
|
38
|
+
<div class="row">
|
|
39
|
+
{%- endif -%}
|
|
40
|
+
{% for post in site.posts %}
|
|
41
|
+
{% assign sameTagCount = 0 %}
|
|
42
|
+
{% assign commonTags = '' %}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
{%- if categories -%}
|
|
46
|
+
{% for category in post.categories %}
|
|
47
|
+
{% if post.url != page.url %}
|
|
48
|
+
{% if categories contains category %}
|
|
49
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
50
|
+
{% endif %}
|
|
51
|
+
{% endif %}
|
|
52
|
+
{% endfor %}
|
|
53
|
+
{%- endif -%}
|
|
54
|
+
|
|
55
|
+
{%- if tags -%}
|
|
56
|
+
{% for tag in post.tags %}
|
|
57
|
+
{% if post.url != page.url %}
|
|
58
|
+
{% if tags contains tag %}
|
|
59
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
60
|
+
{% endif %}
|
|
61
|
+
{%- endif -%}
|
|
62
|
+
{% endfor %}
|
|
63
|
+
{%- endif -%}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
{% if sameTagCount >= minCommonTags %}
|
|
67
|
+
{%- include authors/authors.html-%}
|
|
68
|
+
<div class="
|
|
69
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4
|
|
70
|
+
card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
71
|
+
<div class=" card h-100">
|
|
72
|
+
<a href="{{ post.url }}" aria-label="{{post.title}}">
|
|
73
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto"
|
|
74
|
+
width="100%" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
75
|
+
-%}>
|
|
76
|
+
</a>
|
|
77
|
+
<div class="card-body">
|
|
78
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link" aria-label="{{post.title}}">
|
|
79
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
80
|
+
</a>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<div class="wrapfooter">
|
|
84
|
+
{% if post.author %}
|
|
85
|
+
<span class="meta-footer-thumb">
|
|
86
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}"
|
|
87
|
+
alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
|
|
88
|
+
-%}>
|
|
89
|
+
</span>
|
|
90
|
+
{% endif %}
|
|
91
|
+
|
|
92
|
+
<span class="author-meta">
|
|
93
|
+
|
|
94
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
95
|
+
<br>
|
|
96
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
97
|
+
</span>
|
|
98
|
+
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
103
|
+
{% if maxRelatedCounter >= maxRelated %}
|
|
104
|
+
{% break %}
|
|
105
|
+
{% endif %}
|
|
106
|
+
{%- else -%}
|
|
107
|
+
{%- endif -%}
|
|
108
|
+
{% endfor %}
|
|
109
|
+
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
{%- if remamingPosts > 0 -%}
|
|
115
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
116
|
+
{% for post in posts %}
|
|
117
|
+
{%- if remamingPosts > 0 -%}
|
|
118
|
+
{%- assign tagData = true -%}
|
|
119
|
+
{%- assign catData = true -%}
|
|
120
|
+
{%- if tags -%}
|
|
121
|
+
{% for tag in post.tags %}
|
|
122
|
+
{% if post.url != page.url %}
|
|
123
|
+
{% if tags contains tag %}
|
|
124
|
+
{%- assign tagData = false -%}
|
|
125
|
+
{%- break -%}
|
|
126
|
+
{% endif %}
|
|
127
|
+
{%- endif -%}
|
|
128
|
+
{% endfor %}
|
|
129
|
+
{%- endif -%}
|
|
130
|
+
{%- if categories -%}
|
|
131
|
+
{%- if tagData == false -%}
|
|
132
|
+
{%- continue -%}
|
|
133
|
+
{%- else -%}
|
|
134
|
+
{% for category in post.categories %}
|
|
135
|
+
{% if post.url != page.url %}
|
|
136
|
+
{% if categories contains category %}
|
|
137
|
+
{%- assign catData = false -%}
|
|
138
|
+
{%- break -%}
|
|
139
|
+
{% endif %}
|
|
140
|
+
{% endif %}
|
|
141
|
+
{% endfor %}
|
|
142
|
+
{%- endif -%}
|
|
143
|
+
{%- if catData == false -%}
|
|
144
|
+
{%- continue -%}
|
|
145
|
+
{%- endif -%}
|
|
146
|
+
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
147
|
+
{%- include authors/authors.html-%}
|
|
148
|
+
<div class="
|
|
149
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == " en" -%} col-md-6 mb-4
|
|
150
|
+
card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%} ">
|
|
151
|
+
<div class=" card h-100">
|
|
152
|
+
<a href="{{ post.url }}">
|
|
153
|
+
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
154
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
155
|
+
</a>
|
|
156
|
+
<div class="card-body">
|
|
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 class="wrapfooter">
|
|
161
|
+
{% if post.author %}
|
|
162
|
+
<span class="meta-footer-thumb">
|
|
163
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}" {%-
|
|
164
|
+
if site.crossorigin -%} crossorigin {%- endif -%}>
|
|
165
|
+
</span>
|
|
166
|
+
{% endif %}
|
|
167
|
+
<span class="author-meta">
|
|
168
|
+
<span class="post-name">
|
|
169
|
+
<a target="_blank" href="/blog/">{{authorName}}</a>
|
|
170
|
+
</span><br>
|
|
171
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
172
|
+
</span>
|
|
173
|
+
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
</div>
|
|
180
|
+
</div>
|
|
181
|
+
{%- endif -%}
|
|
182
|
+
{%- endif -%}
|
|
183
|
+
|
|
184
|
+
{% endfor %}
|
|
185
|
+
{%- endif -%}
|
|
186
|
+
|
|
187
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
|
188
|
+
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
{%- endif -%}
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
195
|
</section>
|