appscms-tools-theme 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -21
  3. data/README.md +50 -50
  4. data/_data/about/en/about.json +16 -16
  5. data/_data/blog/alertbar.yml +3 -3
  6. data/_data/blog/authors.yml +11 -11
  7. data/_data/blog/blog.yml +4 -4
  8. data/_data/blog/nav.json +13 -13
  9. data/_data/blog/share.yml +28 -28
  10. data/_data/calculators/en/biology-calc/bulb-spacing.json +78 -78
  11. data/_data/calculators/en/biology-calc/cat-chocolate-toxicity.json +52 -52
  12. data/_data/calculators/en/chemistry-calc/activation-energy.json +44 -44
  13. data/_data/calculators/en/finance-calc/401k.json +122 -122
  14. data/_data/contact/en/contact.json +38 -38
  15. data/_data/disclaimer/en/disclaimer.json +37 -37
  16. data/_data/download/en/download.json +35 -35
  17. data/_data/feature/en/3_shop_posters.json +351 -351
  18. data/_data/feature/en/allele-frequency.json +246 -246
  19. data/_data/feature/en/batch-conversion.json +77 -77
  20. data/_data/feature/en/compress-pdf.json +202 -202
  21. data/_data/feature/en/face-detection.json +52 -52
  22. data/_data/feature/en/split-pdf.json +115 -115
  23. data/_data/feature/en/theframe.json +56 -56
  24. data/_data/feature/hi/compress-pdf.json +81 -81
  25. data/_data/feature/tr/compress-pdf.json +80 -80
  26. data/_data/filecomparison/en/filecomparison.json +38 -38
  27. data/_data/fileinfo/en/fileinfo.json +15 -15
  28. data/_data/footer/en/data.json +166 -166
  29. data/_data/footer/hi/data.json +68 -68
  30. data/_data/footer/networksites.json +15 -15
  31. data/_data/header/en/data.json +173 -173
  32. data/_data/header/hi/data.json +144 -144
  33. data/_data/home/en/en.json +285 -285
  34. data/_data/home/en/photoeffects.json +22 -22
  35. data/_data/home/en/posters.json +323 -323
  36. data/_data/home/hi/hi.json +86 -86
  37. data/_data/home-1/en/en.json +229 -229
  38. data/_data/languagesupport/compress-pdf-langs.json +11 -11
  39. data/_data/languagesupport/index-langs.json +13 -13
  40. data/_data/photo-categories.json +104 -104
  41. data/_data/photoeffects.json +31 -31
  42. data/_data/privacy/en/privacyPolicy.json +265 -265
  43. data/_data/termAndCondition/en/termAndCondition.json +358 -358
  44. data/_includes/Rating/rating.html +92 -92
  45. data/_includes/Rating/structureddata.html +53 -53
  46. data/_includes/Usp/usp.html +95 -95
  47. data/_includes/adblocker.html +240 -240
  48. data/_includes/adsense/adsense.html +7 -7
  49. data/_includes/alternates/alternates.html +45 -45
  50. data/_includes/author_bio.html +16 -16
  51. data/_includes/authors/authors.html +67 -67
  52. data/_includes/batch-conversion.html +65 -65
  53. data/_includes/bookmark.html +5 -5
  54. data/_includes/cssfile/links.html +11 -11
  55. data/_includes/custom-head.html +136 -136
  56. data/_includes/customblog/recentposts.html +67 -67
  57. data/_includes/customblog/relatedposts.html +203 -203
  58. data/_includes/disqus_comments.html +10 -10
  59. data/_includes/dropdown/langdropdown.html +22 -22
  60. data/_includes/feature.html +56 -56
  61. data/_includes/fileformat/Tabularcompariosn.html +158 -158
  62. data/_includes/fileformat/comparisonfiles.html +151 -151
  63. data/_includes/fileformat/fileformatdetail.html +101 -101
  64. data/_includes/fileformat/fileinfoformat.html +93 -93
  65. data/_includes/footer/index.html +538 -538
  66. data/_includes/google-analytics.html +22 -22
  67. data/_includes/head/index.html +235 -235
  68. data/_includes/header/blogHeader.html +34 -34
  69. data/_includes/header/index.html +188 -188
  70. data/_includes/languages/languages.html +60 -60
  71. data/_includes/monumetric/ads.html +57 -57
  72. data/_includes/monumetric/monumetric.html +57 -57
  73. data/_includes/monumetric/profitablecpmgate.html +51 -51
  74. data/_includes/nofiletransfer/nofiletransfer.html +38 -38
  75. data/_includes/paginationBlogPage.html +71 -71
  76. data/_includes/paginationPostPage.html +14 -14
  77. data/_includes/postauthorbio.html +17 -17
  78. data/_includes/postbox.html +31 -31
  79. data/_includes/script.html +508 -508
  80. data/_includes/section/alertbar.html +11 -11
  81. data/_includes/section/count.html +36 -36
  82. data/_includes/section/recent_posts.html +65 -65
  83. data/_includes/section/related_categories_post.html +198 -198
  84. data/_includes/share/socialshare.html +20 -20
  85. data/_includes/staticfooter.html +69 -69
  86. data/_layouts/aboutUs.html +34 -34
  87. data/_layouts/audio.html +33 -33
  88. data/_layouts/batch.html +98 -98
  89. data/_layouts/blog-1.html +83 -83
  90. data/_layouts/blog.html +94 -94
  91. data/_layouts/calculator.html +89 -89
  92. data/_layouts/categories.html +33 -33
  93. data/_layouts/contactUs.html +124 -124
  94. data/_layouts/default.html +1 -1
  95. data/_layouts/disclaimer.html +123 -123
  96. data/_layouts/download.html +299 -299
  97. data/_layouts/feature-1.html +322 -322
  98. data/_layouts/feature-download.html +308 -308
  99. data/_layouts/feature.html +256 -256
  100. data/_layouts/featureResultPage.html +65 -65
  101. data/_layouts/fileInfo.html +39 -39
  102. data/_layouts/filecomparison.html +85 -85
  103. data/_layouts/frame.html +222 -222
  104. data/_layouts/help.html +23 -23
  105. data/_layouts/home-1.html +229 -229
  106. data/_layouts/home.html +265 -265
  107. data/_layouts/homeResultPage.html +31 -31
  108. data/_layouts/imagekit.html +125 -125
  109. data/_layouts/page.html +5 -5
  110. data/_layouts/photo-effects-home.html +5 -5
  111. data/_layouts/post.html +177 -177
  112. data/_layouts/privacyPolicy.html +637 -637
  113. data/_layouts/termAndCondition.html +646 -646
  114. data/_layouts/video.html +33 -33
  115. data/assets/cross.svg +4 -4
  116. data/assets/css/adblocker.css +187 -187
  117. data/assets/css/batch.css +437 -437
  118. data/assets/css/blog-1.css +65 -65
  119. data/assets/css/blog.css +491 -491
  120. data/assets/css/bootstrap.min.css +6 -6
  121. data/assets/css/calculators.css +47 -47
  122. data/assets/css/common.css +550 -550
  123. data/assets/css/feature-1.css +290 -290
  124. data/assets/css/filecomparison.css +25 -25
  125. data/assets/css/frame.css +780 -780
  126. data/assets/css/home-1.css +187 -187
  127. data/assets/css/imagekit.css +840 -840
  128. data/assets/css/tools.css +1546 -1328
  129. data/assets/facebook.svg +4 -4
  130. data/assets/images/abp.svg +41 -41
  131. data/assets/images/adblock.svg +266 -266
  132. data/assets/images/addimg.svg +2 -2
  133. data/assets/images/convert.svg +8 -8
  134. data/assets/images/safevideoconverter.svg +23 -23
  135. data/assets/images/uo.svg +41 -41
  136. data/assets/images/vectorpaint.svg +5 -5
  137. data/assets/instagram.svg +4 -4
  138. data/assets/js/TopScroll.js +8 -8
  139. data/assets/js/adBlocker.js +68 -68
  140. data/assets/js/ads.js +8 -8
  141. data/assets/js/append-div.js +10 -10
  142. data/assets/js/batch.js +229 -229
  143. data/assets/js/calculator-tooltip.js +3 -3
  144. data/assets/js/face-api.js +38064 -38064
  145. data/assets/js/face-detection.js +303 -303
  146. data/assets/js/featureResult.js +48 -48
  147. data/assets/js/frame.js +263 -263
  148. data/assets/js/googledrive.js +155 -155
  149. data/assets/js/homeResult.js +36 -36
  150. data/assets/js/manifest.json +16 -16
  151. data/assets/js/multiselect.js +157 -157
  152. data/assets/js/perspective.min.js +182 -182
  153. data/assets/js/photo-effects.json +84 -84
  154. data/assets/js/redirectResult.js +9 -9
  155. data/assets/js/testing-batch.js +39 -39
  156. data/assets/js/theme.js +44 -44
  157. data/assets/linkdin.svg +4 -4
  158. data/assets/noserverupload.svg +4 -4
  159. data/assets/pdf.svg +20 -20
  160. data/assets/secure.svg +43 -43
  161. data/assets/star.svg +4 -4
  162. data/assets/twitter.svg +4 -4
  163. data/assets/youtube.svg +4 -4
  164. metadata +7 -7
@@ -1,12 +1,12 @@
1
- <div class="alertbar" style="display: none;">
2
- <div class="container text-center">
3
- <span style="font-size: 15px;">{{site.data.blog.alertbar.span}}</span>
4
- <form>
5
- <div class="mc-field-group">
6
- <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL"
7
- autocomplete="on" required="">
8
- <input type="submit" value="Subscribe" name="subscribe">
9
- </div>
10
- </form>
11
- </div>
1
+ <div class="alertbar" style="display: none;">
2
+ <div class="container text-center">
3
+ <span style="font-size: 15px;">{{site.data.blog.alertbar.span}}</span>
4
+ <form>
5
+ <div class="mc-field-group">
6
+ <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL"
7
+ autocomplete="on" required="">
8
+ <input type="submit" value="Subscribe" name="subscribe">
9
+ </div>
10
+ </form>
11
+ </div>
12
12
  </div>
@@ -1,37 +1,37 @@
1
- <div class="explore">
2
- <div class="container">
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
- <h2>Explore <span class="d-none d-md-inline">→</span></h2>
9
-
10
- <ul class="mt-3">
11
- {% assign categories_list = site.categories %}
12
- {% if categories_list.first[0] == null %}
13
- {% for category in categories_list %}
14
- <a class="cat mt-1 mb-1"
15
- href="/blog/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{
16
- category
17
- |
18
- camelcase }} ({{ site.tags[category].size }})</a>
19
- {% endfor %}
20
- {% else %}
21
- {% for category in categories_list %}
22
- <a class="cat mt-1 mb-1"
23
- href="/blog/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{
24
- category[0]
25
- | camelcase }} ({{ category[1].size }})</a>
26
- {% endfor %}
27
- {% endif %}
28
- {% assign categories_list = nil %}
29
- </ul>
30
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
31
-
32
- </div>
33
- </div>
34
- {%- endif -%}
35
-
36
- </div>
1
+ <div class="explore">
2
+ <div class="container">
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
+ <h2>Explore <span class="d-none d-md-inline">→</span></h2>
9
+
10
+ <ul class="mt-3">
11
+ {% assign categories_list = site.categories %}
12
+ {% if categories_list.first[0] == null %}
13
+ {% for category in categories_list %}
14
+ <a class="cat mt-1 mb-1"
15
+ href="/blog/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{
16
+ category
17
+ |
18
+ camelcase }} ({{ site.tags[category].size }})</a>
19
+ {% endfor %}
20
+ {% else %}
21
+ {% for category in categories_list %}
22
+ <a class="cat mt-1 mb-1"
23
+ href="/blog/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{
24
+ category[0]
25
+ | camelcase }} ({{ category[1].size }})</a>
26
+ {% endfor %}
27
+ {% endif %}
28
+ {% assign categories_list = nil %}
29
+ </ul>
30
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
31
+
32
+ </div>
33
+ </div>
34
+ {%- endif -%}
35
+
36
+ </div>
37
37
  </div>
@@ -1,66 +1,66 @@
1
- <section class="related-posts-section">
2
- <div class="container">
3
- <div class="relatedPosts">
4
- {%- if site.posts.size>0 -%}
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
- <h4 class="related_post_heading">Recent Posts</h4>
11
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
-
13
- </div>
14
- </div>
15
- {%- endif -%}
16
- {%- endif -%}
17
- <div class="row">
18
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
19
-
20
- <div class="col-md-9 mx-auto">
21
- <div class="row">
22
- {%- endif -%}
23
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
24
- {% for post in posts limit: 6%}
25
- {%- include /authors/authors.html -%}
26
- <div class="col-lg-4 col-md-6 mb-4 card-group">
27
- <div class="card h-100">
28
- <a href="{{ post.url }}">
29
- <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
30
- loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
31
- endif -%}>
32
- </a>
33
- <div class="card-body">
34
- <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
35
- <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
36
- </a>
37
- </div>
38
- <div class="card-footer bg-white">
39
- <div class="wrapfooter">
40
- {% if post.author %}
41
- <span class="meta-footer-thumb">
42
- <img class="author-thumb" loading="lazy" src="{{image}}"
43
- alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
44
- -%}>
45
- </span>
46
- {% endif %}
47
- <span class="author-meta">
48
- <span class="post-name">
49
- <a target="_blank" href="/blog">{{authorName}}</a>
50
- </span><br>
51
- <span class="post-date">{{post.date | date_to_string }}</span>
52
- </span>
53
- </div>
54
- </div>
55
- </div>
56
- </div>
57
- {% endfor %}
58
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
59
-
60
- </div>
61
- </div>
62
- {%- endif -%}
63
- </div>
64
- </div>
65
- </div>
1
+ <section class="related-posts-section">
2
+ <div class="container">
3
+ <div class="relatedPosts">
4
+ {%- if site.posts.size>0 -%}
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
+ <h4 class="related_post_heading">Recent Posts</h4>
11
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
12
+
13
+ </div>
14
+ </div>
15
+ {%- endif -%}
16
+ {%- endif -%}
17
+ <div class="row">
18
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
19
+
20
+ <div class="col-md-9 mx-auto">
21
+ <div class="row">
22
+ {%- endif -%}
23
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
24
+ {% for post in posts limit: 6%}
25
+ {%- include /authors/authors.html -%}
26
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
27
+ <div class="card h-100">
28
+ <a href="{{ post.url }}">
29
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%"
30
+ loading="lazy" alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%-
31
+ endif -%}>
32
+ </a>
33
+ <div class="card-body">
34
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
35
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
36
+ </a>
37
+ </div>
38
+ <div class="card-footer bg-white">
39
+ <div class="wrapfooter">
40
+ {% if post.author %}
41
+ <span class="meta-footer-thumb">
42
+ <img class="author-thumb" loading="lazy" src="{{image}}"
43
+ alt="{{ authorName }}" {%- if site.crossorigin -%} crossorigin {%- endif
44
+ -%}>
45
+ </span>
46
+ {% endif %}
47
+ <span class="author-meta">
48
+ <span class="post-name">
49
+ <a target="_blank" href="/blog">{{authorName}}</a>
50
+ </span><br>
51
+ <span class="post-date">{{post.date | date_to_string }}</span>
52
+ </span>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ {% endfor %}
58
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
59
+
60
+ </div>
61
+ </div>
62
+ {%- endif -%}
63
+ </div>
64
+ </div>
65
+ </div>
66
66
  </section>
@@ -1,199 +1,199 @@
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 bg-white">
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 bg-white">
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
- <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
179
- title="Read Story">Read
180
- More</a></span>
181
- </div>
182
- </div>
183
- </div>
184
- </div>
185
- {%- endif -%}
186
- {%- endif -%}
187
-
188
- {% endfor %}
189
- {%- endif -%}
190
-
191
- {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
192
-
193
- </div>
194
- </div>
195
- {%- endif -%}
196
- </div>
197
- </div>
198
- </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 bg-white">
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 bg-white">
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
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
179
+ title="Read Story">Read
180
+ More</a></span>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ {%- endif -%}
186
+ {%- endif -%}
187
+
188
+ {% endfor %}
189
+ {%- endif -%}
190
+
191
+ {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
192
+
193
+ </div>
194
+ </div>
195
+ {%- endif -%}
196
+ </div>
197
+ </div>
198
+ </div>
199
199
  </section>