appscms-tools-theme 4.8.2 → 4.8.4

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